1
0
Fork 0
forked from Simnation/Main
Main/resources/[inventory]/nordi_pfand/config.lua

63 lines
1.6 KiB
Lua
Raw Normal View History

2025-07-29 00:00:56 +02:00
Config = {}
-- Pfandautomat Props
Config.PfandautomatProps = {
'as_rv_machine_prop',
}
2025-07-29 00:02:35 +02:00
-- Delay in ms before adding the deposit item after consumption detection
Config.PfandDelay = 1500
-- Consumable items that generate deposits
2025-07-29 00:00:56 +02:00
Config.ConsumableItems = {
['beer'] = {
2025-07-29 07:30:32 +02:00
pfandItem = 'empty_glasbottle',
2025-07-29 00:00:56 +02:00
label = 'Bier'
},
['water_bottle'] = {
pfandItem = 'empty_bottle',
label = 'Wasserflasche'
},
['ecola_dose'] = {
pfandItem = 'soda_can',
label = 'Cola'
},
['sprunk_dose'] = {
pfandItem = 'soda_can',
label = 'Sprite'
},
}
2025-07-29 00:02:35 +02:00
-- Deposit items and their values (the empty containers)
2025-07-29 00:00:56 +02:00
Config.PfandItems = {
['empty_bottle'] = {
2025-07-29 00:02:35 +02:00
pfandwert = 25, -- Deposit value in cents/credits
2025-07-29 00:00:56 +02:00
label = 'leere Flasche'
},
['empty_can'] = {
pfandwert = 25,
label = 'leere Dose'
},
['empty_glasbootle'] = {
pfandwert = 25,
label = 'leere Glasflasche'
}
}
2025-07-29 00:02:35 +02:00
-- General settings
Config.Currency = 'cash' -- 'cash' or 'bank'
2025-07-29 00:00:56 +02:00
Config.Debug = true
2025-07-29 00:02:35 +02:00
Config.ShowPfandNotification = true -- Show notification when deposit is received
2025-07-29 00:00:56 +02:00
2025-07-29 00:02:35 +02:00
-- Language
2025-07-29 00:00:56 +02:00
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!',
}