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

63 lines
1.5 KiB
Lua
Raw Normal View History

2025-07-28 21:56:56 +02:00
Config = {}
-- Pfandautomat Props
Config.PfandautomatProps = {
2025-07-28 22:17:49 +02:00
'as_rv_machine_prop',
2025-07-28 21:56:56 +02:00
}
-- Konsumierbare Items die Pfand generieren
Config.ConsumableItems = {
['beer'] = {
2025-07-28 22:08:13 +02:00
pfandItem = 'empty_glasbootle',
2025-07-28 21:56:56 +02:00
label = 'Bier'
},
['water_bottle'] = {
pfandItem = 'empty_bottle',
label = 'Wasserflasche'
},
2025-07-28 22:08:13 +02:00
['ecola_dose'] = {
2025-07-28 21:56:56 +02:00
pfandItem = 'soda_can',
label = 'Cola'
},
2025-07-28 22:08:13 +02:00
['sprunk_dose'] = {
2025-07-28 21:56:56 +02:00
pfandItem = 'soda_can',
label = 'Sprite'
},
}
-- Pfand Items und ihre Werte (die leeren Behälter)
Config.PfandItems = {
['empty_bottle'] = {
pfandwert = 25, -- Pfandwert in Cent/Credits
2025-07-28 22:08:13 +02:00
label = 'leere Flasche'
2025-07-28 21:56:56 +02:00
},
2025-07-28 22:08:13 +02:00
['empty_can'] = {
2025-07-28 21:56:56 +02:00
pfandwert = 25,
2025-07-28 22:08:13 +02:00
label = 'leere Dose'
2025-07-28 21:56:56 +02:00
},
2025-07-28 22:08:13 +02:00
['empty_glasbootle'] = {
2025-07-28 21:56:56 +02:00
pfandwert = 25,
2025-07-28 22:08:13 +02:00
label = 'leere Glasflasche'
2025-07-28 21:56:56 +02:00
}
2025-07-28 22:08:13 +02:00
2025-07-28 21:56:56 +02:00
}
-- Allgemeine Einstellungen
Config.Currency = 'cash' -- 'cash' oder 'bank'
Config.Debug = false
Config.ShowPfandNotification = true -- Zeige Benachrichtigung wenn Pfand erhalten wird
-- Sprache
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!',
2025-07-28 22:51:59 +02:00
2025-07-28 21:56:56 +02:00
}