From: Errant <35878406+Errant-4@users.noreply.github.com> Date: Wed, 21 Feb 2024 06:12:59 +0000 (+0100) Subject: Food poisoning changes (#25418) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=7e9bca98912378e593c2961b9eaecfffe76d8433;p=space-station-14.git Food poisoning changes (#25418) * Food poisoning * description --- diff --git a/Resources/Locale/en-US/reagents/meta/toxins.ftl b/Resources/Locale/en-US/reagents/meta/toxins.ftl index 433d4b7935..660da9c271 100644 --- a/Resources/Locale/en-US/reagents/meta/toxins.ftl +++ b/Resources/Locale/en-US/reagents/meta/toxins.ftl @@ -13,6 +13,9 @@ reagent-desc-polytrinic-acid = An extremely corrosive chemical substance. Severe reagent-name-chloral-hydrate = chloral hydrate reagent-desc-chloral-hydrate = A sedative and hypnotic chemical. Commonly used to put other people to sleep, whether they want to or not. +reagent-name-gastrotoxin = gastrotoxin +reagent-desc-gastrotoxin = A moderately toxic byproduct of decomposition. Most commonly found in spoiled food. + reagent-name-ferrochromic-acid = ferrochromic acid reagent-desc-ferrochromic-acid = A mildy corrosive solution, unable of causing severe danger unless ingested. diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml index b623956d38..1df6615a9f 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml @@ -614,7 +614,7 @@ reagents: - ReagentId: Nutriment Quantity: 2 - - ReagentId: Toxin + - ReagentId: GastroToxin Quantity: 3 - type: Tag tags: diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml index ad14d1f1be..e49889e940 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml @@ -452,7 +452,7 @@ reagents: - ReagentId: UncookedAnimalProteins Quantity: 5 - - ReagentId: Toxin + - ReagentId: GastroToxin Quantity: 4 - ReagentId: Fat Quantity: 4 diff --git a/Resources/Prototypes/Entities/Structures/Furniture/toilet.yml b/Resources/Prototypes/Entities/Structures/Furniture/toilet.yml index 353129c5a4..a6f14b383c 100644 --- a/Resources/Prototypes/Entities/Structures/Furniture/toilet.yml +++ b/Resources/Prototypes/Entities/Structures/Furniture/toilet.yml @@ -56,5 +56,5 @@ reagents: - ReagentId: Water Quantity: 180 - - ReagentId: Toxin + - ReagentId: GastroToxin Quantity: 20 diff --git a/Resources/Prototypes/Reagents/toxins.yml b/Resources/Prototypes/Reagents/toxins.yml index ea0446523f..18d4793274 100644 --- a/Resources/Prototypes/Reagents/toxins.yml +++ b/Resources/Prototypes/Reagents/toxins.yml @@ -77,6 +77,27 @@ types: Poison: 1.5 +- type: reagent + id: GastroToxin + name: reagent-name-gastrotoxin + group: Toxins + desc: reagent-desc-gastrotoxin + flavor: bitter + color: "#acc91a" + physicalDesc: reagent-physical-desc-putrid + metabolisms: + Poison: + effects: + - !type:HealthChange + damage: + types: + Poison: 2 + - !type:ChemVomit + conditions: + - !type:ReagentThreshold + min: 2 + probability: 0.2 + - type: reagent id: Mold name: reagent-name-mold