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

94 lines
2.4 KiB
Lua
Raw Normal View History

2025-07-28 21:56:56 +02:00
Config = {}
-- Pfandautomat Props
Config.PfandautomatProps = {
'prop_vend_soda_01',
'prop_vend_soda_02',
'prop_vend_water_01'
}
-- Konsumierbare Items die Pfand generieren
Config.ConsumableItems = {
['beer'] = {
pfandItem = 'beer_bottle',
chance = 100, -- 100% Chance Pfand zu bekommen
label = 'Bier'
},
['water_bottle'] = {
pfandItem = 'empty_bottle',
chance = 100,
label = 'Wasserflasche'
},
['cola'] = {
pfandItem = 'soda_can',
chance = 100,
label = 'Cola'
},
['sprite'] = {
pfandItem = 'soda_can',
chance = 100,
label = 'Sprite'
},
['energy_drink'] = {
pfandItem = 'energy_can',
chance = 100,
label = 'Energy Drink'
},
['juice'] = {
pfandItem = 'juice_bottle',
chance = 100,
label = 'Saft'
},
['milk'] = {
pfandItem = 'milk_bottle',
chance = 90, -- 90% Chance (manchmal geht die Flasche kaputt)
label = 'Milch'
}
}
-- Pfand Items und ihre Werte (die leeren Behälter)
Config.PfandItems = {
['empty_bottle'] = {
pfandwert = 25, -- Pfandwert in Cent/Credits
label = 'Leere Flasche'
},
['soda_can'] = {
pfandwert = 25,
label = 'Leere Dose'
},
['beer_bottle'] = {
pfandwert = 8,
label = 'Leere Bierflasche'
},
['energy_can'] = {
pfandwert = 25,
label = 'Leere Energy-Dose'
},
['juice_bottle'] = {
pfandwert = 25,
label = 'Leere Saftflasche'
},
['milk_bottle'] = {
pfandwert = 15,
label = 'Leere Milchflasche'
}
}
-- 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!',
['pfand_bottle_broken'] = 'Die Flasche ist beim Trinken zerbrochen!'
}