]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Food poisoning changes (#25418)
authorErrant <35878406+Errant-4@users.noreply.github.com>
Wed, 21 Feb 2024 06:12:59 +0000 (07:12 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 06:12:59 +0000 (23:12 -0700)
* Food poisoning

* description

Resources/Locale/en-US/reagents/meta/toxins.ftl
Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/meat.yml
Resources/Prototypes/Entities/Structures/Furniture/toilet.yml
Resources/Prototypes/Reagents/toxins.yml

index 433d4b7935556c3cfb7c3f57a22d4e2b78eda1c7..660da9c271edf4164a26e3a983283a95ce5d1dbf 100644 (file)
@@ -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.
 
index b623956d38f9ac700fa7bab1b647382e1eb82302..1df6615a9fbd3cf13a89d785b306339a3aa3a408 100644 (file)
         reagents:
         - ReagentId: Nutriment
           Quantity: 2
-        - ReagentId: Toxin
+        - ReagentId: GastroToxin
           Quantity: 3
   - type: Tag
     tags:
index ad14d1f1beec1d5ef705360d6c2b0cc0413a06f9..e49889e940d46656a8233b5914ba8c3afbde2eb0 100644 (file)
         reagents:
         - ReagentId: UncookedAnimalProteins
           Quantity: 5
-        - ReagentId: Toxin
+        - ReagentId: GastroToxin
           Quantity: 4
         - ReagentId: Fat
           Quantity: 4
index 353129c5a40cbf79fcd274c1303b7e6990ee156f..a6f14b383cb6d2ecbc91942c3ddb39d369ef9e55 100644 (file)
@@ -56,5 +56,5 @@
         reagents:
         - ReagentId: Water
           Quantity: 180
-        - ReagentId: Toxin
+        - ReagentId: GastroToxin
           Quantity: 20
index ea0446523f1dc6245619f7fb5cbc8705d8799981..18d479327408943bd1e77242aeba4005b70dcad7 100644 (file)
           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