From 769e3b8f7da5bd4f18421148bee30b851f3d5b57 Mon Sep 17 00:00:00 2001 From: Rane <60792108+Elijahrane@users.noreply.github.com> Date: Tue, 2 Aug 2022 09:01:15 -0400 Subject: [PATCH] Allicin (#10027) --- .../Locale/en-US/reagents/meta/toxins.ftl | 3 +++ .../Objects/Consumable/Food/Baked/bread.yml | 2 ++ .../Objects/Consumable/Food/burger.yml | 2 ++ .../Objects/Consumable/Food/meals.yml | 9 +++++++ .../Objects/Consumable/Food/produce.yml | 26 +++++++++++++++++++ .../Entities/Objects/Consumable/Food/soup.yml | 6 +++++ Resources/Prototypes/Hydroponics/seeds.yml | 8 ++++++ Resources/Prototypes/Reagents/toxins.yml | 19 ++++++++++++++ 8 files changed, 75 insertions(+) diff --git a/Resources/Locale/en-US/reagents/meta/toxins.ftl b/Resources/Locale/en-US/reagents/meta/toxins.ftl index 85306dc2c5..bbfc383874 100644 --- a/Resources/Locale/en-US/reagents/meta/toxins.ftl +++ b/Resources/Locale/en-US/reagents/meta/toxins.ftl @@ -48,3 +48,6 @@ reagent-desc-corpium = A Syndicate cocktail, carefully harvested from various so reagent-name-uncooked-animal-proteins = uncooked animal proteins reagent-desc-uncooked-animal-proteins = This is very risky for the stomachs of softer lifeforms to digest. + +reagent-name-allicin = allicin +reagent-desc-allicin = An organosulfur compound found in alliums like garlic, onions, and related plants. diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml index 96c0485b05..be73cff6e9 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml @@ -445,6 +445,8 @@ Quantity: 5 - ReagentId: Vitamin Quantity: 4 + - ReagentId: Allicin + Quantity: 2 # Tastes like garlic, Italy. - type: entity diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/burger.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/burger.yml index bc1fdddd06..b969fdd06e 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/burger.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/burger.yml @@ -384,6 +384,8 @@ Quantity: 7 - ReagentId: Vitamin Quantity: 4 + - ReagentId: Allicin + Quantity: 2 # Tastes like bun, pork patty. - type: entity diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/meals.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/meals.yml index cb1e9cb493..e5344b8704 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/meals.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/meals.yml @@ -334,6 +334,15 @@ components: - type: Sprite state: memoryLeek + - type: SolutionContainerManager + solutions: + food: + maxVol: 15 + reagents: + - ReagentId: Nutriment + Quantity: 10 + - ReagentId: Allicin + Quantity: 5 # Tastes like pain. - type: entity diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml index 398ff4fe0f..c5b26c2aa3 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml @@ -505,6 +505,8 @@ Quantity: 10 - ReagentId: Vitamin Quantity: 4 + - ReagentId: Allicin + Quantity: 4 - type: Sprite sprite: Objects/Specific/Hydroponics/onion.rsi - type: Produce @@ -528,6 +530,8 @@ Quantity: 10 - ReagentId: Vitamin Quantity: 4 + - ReagentId: Allicin + Quantity: 4 - type: Sprite sprite: Objects/Specific/Hydroponics/onion_red.rsi - type: Produce @@ -595,6 +599,17 @@ components: - type: Sprite sprite: Objects/Specific/Hydroponics/onion.rsi + - type: SolutionContainerManager + solutions: + food: + maxVol: 3 + reagents: + - ReagentId: Nutriment + Quantity: 2 + - ReagentId: Allicin + Quantity: 1 + - ReagentId: Vitamin + Quantity: 1 - type: entity name: red onion slice @@ -604,6 +619,17 @@ components: - type: Sprite sprite: Objects/Specific/Hydroponics/onion_red.rsi + - type: SolutionContainerManager + solutions: + food: + maxVol: 3 + reagents: + - ReagentId: Nutriment + Quantity: 2 + - ReagentId: Allicin + Quantity: 1 + - ReagentId: Vitamin + Quantity: 1 - type: entity name: chili diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml index 2bc2c35edd..e0ce04eb6e 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml @@ -589,6 +589,8 @@ Quantity: 5 - ReagentId: Vitamin Quantity: 4 + - ReagentId: Allicin + Quantity: 3 # Tastes like hot peppers. - type: entity @@ -633,6 +635,8 @@ Quantity: 5 - ReagentId: Vitamin Quantity: 4 + - ReagentId: Allicin + Quantity: 3 # Tastes like tomato, hot peppers, clown feet, kind of funny, someone's parents. - type: entity @@ -859,6 +863,8 @@ Quantity: 1 - ReagentId: Vitamin Quantity: 5 + - ReagentId: Allicin + Quantity: 5 # Tastes like onion, france. - type: entity diff --git a/Resources/Prototypes/Hydroponics/seeds.yml b/Resources/Prototypes/Hydroponics/seeds.yml index 9a591aed3f..4ab9d757e1 100644 --- a/Resources/Prototypes/Hydroponics/seeds.yml +++ b/Resources/Prototypes/Hydroponics/seeds.yml @@ -340,6 +340,10 @@ Min: 1 Max: 4 PotencyDivisor: 25 + Allicin: + Min: 1 + Max: 4 + PotencyDivisor: 25 - type: seed id: onionred @@ -366,6 +370,10 @@ Min: 1 Max: 4 PotencyDivisor: 25 + Allicin: + Min: 1 + Max: 4 + PotencyDivisor: 25 - type: seed id: chanterelle diff --git a/Resources/Prototypes/Reagents/toxins.yml b/Resources/Prototypes/Reagents/toxins.yml index 40dac0327a..378e5aba91 100644 --- a/Resources/Prototypes/Reagents/toxins.yml +++ b/Resources/Prototypes/Reagents/toxins.yml @@ -421,3 +421,22 @@ type: Animal reagent: Protein amount: 0.5 + +- type: reagent + id: Allicin + name: reagent-name-allicin + desc: reagent-desc-allicin + physicalDesc: reagent-physical-desc-pungent + color: "#F2E9D2" + metabolisms: + Poison: + effects: + - !type:HealthChange + conditions: + - !type:ReagentThreshold + min: 1 + - !type:OrganType + type: Animal + damage: + types: + Poison: 6