1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-07-28 22:08:13 +02:00
parent 51e3445037
commit f69b8e3172
5 changed files with 42 additions and 35 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View file

@ -10,7 +10,7 @@ Config.PfandautomatProps = {
-- Konsumierbare Items die Pfand generieren -- Konsumierbare Items die Pfand generieren
Config.ConsumableItems = { Config.ConsumableItems = {
['beer'] = { ['beer'] = {
pfandItem = 'beer_bottle', pfandItem = 'empty_glasbootle',
chance = 100, -- 100% Chance Pfand zu bekommen chance = 100, -- 100% Chance Pfand zu bekommen
label = 'Bier' label = 'Bier'
}, },
@ -19,59 +19,33 @@ Config.ConsumableItems = {
chance = 100, chance = 100,
label = 'Wasserflasche' label = 'Wasserflasche'
}, },
['cola'] = { ['ecola_dose'] = {
pfandItem = 'soda_can', pfandItem = 'soda_can',
chance = 100, chance = 100,
label = 'Cola' label = 'Cola'
}, },
['sprite'] = { ['sprunk_dose'] = {
pfandItem = 'soda_can', pfandItem = 'soda_can',
chance = 100, chance = 100,
label = 'Sprite' 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) -- Pfand Items und ihre Werte (die leeren Behälter)
Config.PfandItems = { Config.PfandItems = {
['empty_bottle'] = { ['empty_bottle'] = {
pfandwert = 25, -- Pfandwert in Cent/Credits pfandwert = 25, -- Pfandwert in Cent/Credits
label = 'Leere Flasche' label = 'leere Flasche'
}, },
['soda_can'] = { ['empty_can'] = {
pfandwert = 25, pfandwert = 25,
label = 'Leere Dose' label = 'leere Dose'
}, },
['beer_bottle'] = { ['empty_glasbootle'] = {
pfandwert = 8,
label = 'Leere Bierflasche'
},
['energy_can'] = {
pfandwert = 25, pfandwert = 25,
label = 'Leere Energy-Dose' label = 'leere Glasflasche'
},
['juice_bottle'] = {
pfandwert = 25,
label = 'Leere Saftflasche'
},
['milk_bottle'] = {
pfandwert = 15,
label = 'Leere Milchflasche'
} }
} }
-- Allgemeine Einstellungen -- Allgemeine Einstellungen

View file

@ -10783,4 +10783,37 @@ itemsData = {
image = 'airsoft_bullets.png', image = 'airsoft_bullets.png',
name = 'airsoft_bullets', name = 'airsoft_bullets',
}, },
empty_bottle = {
shouldClose = true,
type = 'item',
description = '',
weight = 100,
label = 'leere Flasche',
unique = true,
useable = true,
image = 'empty_bottle.png',
name = 'empty_bottle',
},
empty_can = {
shouldClose = true,
type = 'item',
description = '',
weight = 100,
label = 'leere Dose',
unique = true,
useable = true,
image = 'empty_can.png',
name = 'empty_can',
},
empty_glasbootle = {
shouldClose = true,
type = 'item',
description = '',
weight = 100,
label = 'leere Glasflasche',
unique = true,
useable = true,
image = 'empty_glasbootle.png',
name = 'empty_glasbootle',
},
} }