From 579f3c1103388c52e382a8f584a3843fe44107e9 Mon Sep 17 00:00:00 2001 From: DmitriyRubetskoy <75271456+DmitriyRubetskoy@users.noreply.github.com> Date: Wed, 30 Jun 2021 17:35:19 +0300 Subject: [PATCH] Thirteen Loko causes toxin damage (#4249) --- .../Catalog/ReagentDispensers/beverage.yml | 1 + .../Objects/Consumable/drinks_cans.yml | 7 +++++++ .../Reagents/Consumable/Drink/soda.yml | 20 +++++++++++++++++++ 3 files changed, 28 insertions(+) diff --git a/Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml b/Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml index 33e4bdfbc2..718af1cd90 100644 --- a/Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml +++ b/Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml @@ -7,6 +7,7 @@ - Ice - Tea - Water + - ThirteenLoko - type: reagentDispenserInventory id: BoozeDispenserInventory diff --git a/Resources/Prototypes/Entities/Objects/Consumable/drinks_cans.yml b/Resources/Prototypes/Entities/Objects/Consumable/drinks_cans.yml index 825d494e9a..74560880ac 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/drinks_cans.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/drinks_cans.yml @@ -111,6 +111,13 @@ name: thirteen loko can description: The MBO has advised crew members that consumption of Thirteen Loko may result in seizures, blindness, drunkeness, or even death. Please Drink Responsibly. components: + - type: SolutionContainer + maxVol: 20 + caps: None + contents: + reagents: + - ReagentId: ThirteenLoko + Quantity: 20 - type: Sprite sprite: Objects/Consumable/Drinks/thirteen_loko.rsi diff --git a/Resources/Prototypes/Reagents/Consumable/Drink/soda.yml b/Resources/Prototypes/Reagents/Consumable/Drink/soda.yml index d91a96dd18..eb2b34041b 100644 --- a/Resources/Prototypes/Reagents/Consumable/Drink/soda.yml +++ b/Resources/Prototypes/Reagents/Consumable/Drink/soda.yml @@ -14,3 +14,23 @@ amount: 1 - !type:AdjustHealth amount: 0.1 + +- type: reagent + id: ThirteenLoko + name: Thirteen Loko + desc: A highly processed liquid substance barely-passing intergalatic health standarts for a soft drink. + physicalDesc: fizzy + color: "#deb928" + metabolism: + - !type:DefaultDrink + rate: 1 + - !type:HealthChangeMetabolism + healthChange: 2 + damageClass: Toxin + plantMetabolism: + - !type:AdjustNutrition + amount: 0.1 + - !type:AdjustWater + amount: 1 + - !type:AdjustHealth + amount: 0.1