diff --git a/resources/[inventory]/inventory_images/images/empty_bottle.png b/resources/[inventory]/inventory_images/images/empty_bottle.png new file mode 100644 index 000000000..4c288162c Binary files /dev/null and b/resources/[inventory]/inventory_images/images/empty_bottle.png differ diff --git a/resources/[inventory]/inventory_images/images/empty_can.png b/resources/[inventory]/inventory_images/images/empty_can.png new file mode 100644 index 000000000..62630967c Binary files /dev/null and b/resources/[inventory]/inventory_images/images/empty_can.png differ diff --git a/resources/[inventory]/inventory_images/images/empty_glasbootle.png b/resources/[inventory]/inventory_images/images/empty_glasbootle.png new file mode 100644 index 000000000..cbb18ac29 Binary files /dev/null and b/resources/[inventory]/inventory_images/images/empty_glasbootle.png differ diff --git a/resources/[inventory]/nordi_pfand/config.lua b/resources/[inventory]/nordi_pfand/config.lua index 2f93e7742..c1550fedf 100644 --- a/resources/[inventory]/nordi_pfand/config.lua +++ b/resources/[inventory]/nordi_pfand/config.lua @@ -10,7 +10,7 @@ Config.PfandautomatProps = { -- Konsumierbare Items die Pfand generieren Config.ConsumableItems = { ['beer'] = { - pfandItem = 'beer_bottle', + pfandItem = 'empty_glasbootle', chance = 100, -- 100% Chance Pfand zu bekommen label = 'Bier' }, @@ -19,59 +19,33 @@ Config.ConsumableItems = { chance = 100, label = 'Wasserflasche' }, - ['cola'] = { + ['ecola_dose'] = { pfandItem = 'soda_can', chance = 100, label = 'Cola' }, - ['sprite'] = { + ['sprunk_dose'] = { 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' + label = 'leere Flasche' }, - ['soda_can'] = { + ['empty_can'] = { pfandwert = 25, - label = 'Leere Dose' + label = 'leere Dose' }, - ['beer_bottle'] = { - pfandwert = 8, - label = 'Leere Bierflasche' - }, - ['energy_can'] = { + ['empty_glasbootle'] = { pfandwert = 25, - label = 'Leere Energy-Dose' - }, - ['juice_bottle'] = { - pfandwert = 25, - label = 'Leere Saftflasche' - }, - ['milk_bottle'] = { - pfandwert = 15, - label = 'Leere Milchflasche' + label = 'leere Glasflasche' } + } -- Allgemeine Einstellungen diff --git a/resources/[inventory]/tgiann-inventory/items/items.lua b/resources/[inventory]/tgiann-inventory/items/items.lua index a6c50395f..33a952a9c 100644 --- a/resources/[inventory]/tgiann-inventory/items/items.lua +++ b/resources/[inventory]/tgiann-inventory/items/items.lua @@ -10783,4 +10783,37 @@ itemsData = { image = 'airsoft_bullets.png', 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', + }, }