From: Floofi <126319569+Shadowtheprotogen546@users.noreply.github.com> Date: Sat, 22 Jun 2024 23:46:19 +0000 (-0400) Subject: add lemon juice and fix bad sprite allocation (#27465) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3284c24ece7a972373f68ff0f600c9db9ffd181a;p=space-station-14.git add lemon juice and fix bad sprite allocation (#27465) --- diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/boozeomat.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/boozeomat.yml index e4f4440bd3..d62cd8f92f 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/boozeomat.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/boozeomat.yml @@ -25,6 +25,7 @@ DrinkGildlagerBottleFull: 2 #if champagne gets less because its premium, then gildlager should match this and have two DrinkGrenadineBottleFull: 2 DrinkJuiceLimeCarton: 3 + DrinkJuiceLemonCarton: 3 DrinkJuiceOrangeCarton: 3 DrinkJuiceTomatoCarton: 3 DrinkCoffeeLiqueurBottleFull: 3 diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks-cartons.yml b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks-cartons.yml index f2b2c0450f..0c069f615e 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks-cartons.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks-cartons.yml @@ -193,3 +193,18 @@ Quantity: 100 - type: Sprite sprite: Objects/Consumable/Drinks/oatmilk.rsi + +- type: entity + parent: [DrinkCartonVisualsOpenable, DrinkCartonBaseFull] + id: DrinkJuiceLemonCarton + name: lemon juice + description: First it's sour, then it's still sour. + components: + - type: SolutionContainerManager + solutions: + drink: + reagents: + - ReagentId: JuiceLemon + Quantity: 50 + - type: Sprite + sprite: Objects/Consumable/Drinks/lemonjuice.rsi diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml index 5c55f9ff17..5d77c91a5d 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml @@ -1218,7 +1218,7 @@ - ReagentId: JuiceLemon Quantity: 30 - type: Icon - sprite: Objects/Consumable/Drinks/lemonjuice.rsi + sprite: Objects/Consumable/Drinks/lemonjuiceglass.rsi state: icon - type: entity diff --git a/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/icon.png b/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/icon.png index 01abf17a36..7f37864ba6 100644 Binary files a/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/icon.png and b/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/icon.png differ diff --git a/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/icon_open.png b/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/icon_open.png new file mode 100644 index 0000000000..72485a8e56 Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/icon_open.png differ diff --git a/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/meta.json b/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/meta.json index db0ac608ed..9e1d9a9075 100644 --- a/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/meta.json +++ b/Resources/Textures/Objects/Consumable/Drinks/lemonjuice.rsi/meta.json @@ -1 +1,17 @@ -{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon"}]} \ No newline at end of file +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-3.0", + "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", + "states": [ + { + "name": "icon" + }, + { + "name": "icon_open" + } + ] +}