forked from Simnation/Main
62 lines
1.6 KiB
Lua
62 lines
1.6 KiB
Lua
Config = {}
|
|
|
|
-- Pfandautomat Props
|
|
Config.PfandautomatProps = {
|
|
'as_rv_machine_prop',
|
|
}
|
|
|
|
-- Delay in ms before adding the deposit item after consumption detection
|
|
Config.PfandDelay = 1500
|
|
|
|
-- Consumable items that generate deposits
|
|
Config.ConsumableItems = {
|
|
['beer'] = {
|
|
pfandItem = 'empty_glasbootle',
|
|
label = 'Bier'
|
|
},
|
|
['water_bottle'] = {
|
|
pfandItem = 'empty_bottle',
|
|
label = 'Wasserflasche'
|
|
},
|
|
['ecola_dose'] = {
|
|
pfandItem = 'soda_can',
|
|
label = 'Cola'
|
|
},
|
|
['sprunk_dose'] = {
|
|
pfandItem = 'soda_can',
|
|
label = 'Sprite'
|
|
},
|
|
}
|
|
|
|
-- Deposit items and their values (the empty containers)
|
|
Config.PfandItems = {
|
|
['empty_bottle'] = {
|
|
pfandwert = 25, -- Deposit value in cents/credits
|
|
label = 'leere Flasche'
|
|
},
|
|
['empty_can'] = {
|
|
pfandwert = 25,
|
|
label = 'leere Dose'
|
|
},
|
|
['empty_glasbootle'] = {
|
|
pfandwert = 25,
|
|
label = 'leere Glasflasche'
|
|
}
|
|
}
|
|
|
|
-- General settings
|
|
Config.Currency = 'cash' -- 'cash' or 'bank'
|
|
Config.Debug = true
|
|
Config.ShowPfandNotification = true -- Show notification when deposit is received
|
|
|
|
-- Language
|
|
Config.Locale = {
|
|
['pfand_menu_title'] = 'Pfandautomat',
|
|
['pfand_menu_description'] = 'Pfandgut einlösen',
|
|
['no_pfand_items'] = 'Du hast keine Pfandartikel bei dir!',
|
|
['pfand_success'] = 'Du hast %s für %d Pfandartikel erhalten!',
|
|
['pfand_error'] = 'Fehler beim Einlösen des Pfands!',
|
|
['processing'] = 'Verarbeite Pfand...',
|
|
['select_items'] = 'Wähle die Artikel aus, die du einlösen möchtest:',
|
|
['pfand_received'] = 'Du hast %s erhalten!',
|
|
}
|