# Config

```lua
Config = {}

-- Allgemeine Einstellungen
Config.Debug = false
Config.Locale = 'de'

-- Identifier Einstellungen
Config.IdentifierPrefix = 'char1:'  -- Prefix für Spieler-Identifier (z.B. 'license:', 'char1:', 'steam:')

-- Krankenversicherung Einstellungen
Config.InsuranceTypes = {
    NONE = 0,           -- Nicht versichert
    PUBLIC = 1,         -- Gesetzlich versichert
    PRIVATE = 2         -- Privatversichert
}

-- Jobs die gesetzlich versichert werden können
Config.PublicInsuranceJobs = {
    'police',
    'ambulance', 
    'fire',
    'mechanic',
    'krankenhaus',
    'sek'
}

-- Krankenhaus Standort für Versicherungsmenü
Config.HospitalLocation = vector3(-489.3358, -987.1353, 24.2894) -- Pillbox Medical Center

-- Versicherungskosten
Config.InsuranceCosts = {
    public = 0.05,      -- 5% vom Gehalt
    private = 5000      -- 5000€ täglich um 19:00
}

-- Behandlungskosten
Config.TreatmentCosts = {
    small = {
        uninsured = 500,
        public = 250,
        private = 0
    },
    medium = {
        uninsured = 1000,
        public = 500,
        private = 0
    },
    large = {
        uninsured = 2000,
        public = 1000,
        private = 0
    },
    na_einsatz = {
        uninsured = 3000,
        public = 1500,
        private = 0
    },
    helikopter = {
        uninsured = 5000,
        public = 2500,
        private = 0
    },
    ambulant = {
        uninsured = 4000,
        public = 2000,
        private = 0
    },
    stationaer = {
        uninsured = 8000,
        public = 4000,
        private = 0
    },
    notfall = {
        uninsured = 12000,
        public = 6000,
        private = 0
    }
}

-- Behandlungsnamen (deutsche Beschreibungen)
Config.TreatmentNames = {
    small = "Kleine Behandlung",
    medium = "Mittlere Behandlung", 
    large = "Große Behandlung",
    na_einsatz = "NA-Einsatz",
    helikopter = "Helikopter-Transport",
    ambulant = "Ambulante Behandlung",
    stationaer = "Stationäre Behandlung",
    notfall = "Notfallbehandlung"
}

-- Tägliche Behandlungslimits für gesetzlich Versicherte
Config.DailyLimits = {
    public = {
        small = 5,
        medium = 3,
        large = 2,
        na_einsatz = 2,
        helikopter = 1,
        ambulant = 3,
        stationaer = 2,
        notfall = 1
    }
}

-- Billing-System Einstellungen
Config.BillingSystem = {
    enabled = true,                    -- Billing-System aktivieren/deaktivieren
    system = "none",                   -- "bcs_companymanager", "okokbilling", "none"
    
    -- Fallback wenn kein Billing-System vorhanden
    fallbackToDirect = true,           -- Direkt vom Bankkonto abziehen wenn kein Billing
    fallbackToCash = false,            -- Alternativ: Vom Bargeld abziehen
    
    -- BCS Company Manager Einstellungen
    bcs = {
        enabled = true,
        -- Trigger: wavecore_krankenversicherung:bcs:sendBill
        -- Trigger: wavecore_krankenversicherung:bcs:sendBillCompany
    },
    
    -- okokBilling Einstellungen
    okokbilling = {
        enabled = false,
        -- Zusätzliche Parameter für okokBilling
        society = "ambulance",              -- Optional: Gesellschaft für Rechnungen
        societyName = "Rettungsdienst"           -- Optional: Name der Gesellschaft
    }
}

-- Fraktionskonten für Versicherungsbeiträge
Config.FactionAccounts = {
    ambulance = 'ambulance',
    hospital = 'krankenhaus'
}

-- ox_target Einstellungen
Config.TargetDistance = 2.0
Config.TargetIcon = 'fas fa-user-md'

-- Datenbank Tabellennamen
Config.DatabaseTables = {
    insurance = 'wavecore_insurance',
    treatments = 'wavecore_treatments'
}

-- Discord Webhook Einstellungen
Config.Discord = {
    enabled = true,
    webhook = "HERE WEBHOOK", -- Hier deine Webhook URL einfügen
    botName = "WaveCore | Krankenversicherung",
    
    -- Logging-Einstellungen
    logInsuranceChanges = true,      -- Versicherungsänderungen loggen
    logTreatments = true,            -- Behandlungen loggen
    logPayments = true,              -- Zahlungen loggen
    logErrors = true,                -- Fehler loggen
    
    -- Farben für verschiedene Event-Typen
    colors = {
        insurance = 3447003,         -- Blau
        treatment = 3066993,         -- Grün
        payment = 15158332,          -- Orange
        error = 15158332,            -- Rot
        success = 3066993            -- Grün
    }
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wavecore.dev/wavecore/krankenversicherung/config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
