]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Epinephrine Antihistamine effect, Histamines not radioactive (#37460)
authorFrostRibbon <107171544+FrostRibbon@users.noreply.github.com>
Wed, 21 May 2025 01:12:53 +0000 (21:12 -0400)
committerGitHub <noreply@github.com>
Wed, 21 May 2025 01:12:53 +0000 (18:12 -0700)
* Added Epinephrine antihistamine effect when at least 45u. Removed Histamines causing Radiation damage.

* Indentation fixed

* had coffee, able to see how to fix indentation now.

Resources/Prototypes/Reagents/medicine.yml
Resources/Prototypes/Reagents/toxins.yml

index 3b759306e0000a802e3c80f2fc37df1f156e85df..682a0e2beaae5f0a76f2136b03b424022de111f7 100644 (file)
   metabolisms:
     Medicine:
       effects:
+      - !type:AdjustReagent
+        conditions:
+        - !type:ReagentThreshold
+          reagent: Histamine
+          min: 45
+        reagent: Histamine
+        amount: -5
       - !type:HealthChange
         conditions:
           # they gotta be in crit first
index a06224e9dd0f2e822a59a6dd74eec1bc3fbf4eb1..72730c7990b71cef66dad87d33fef0d6c705759b 100644 (file)
         damage:
           groups:
             Brute: 2
-            Toxin: 2
             Airloss: 2
+          types:
+            Poison: 2
       - !type:PopupMessage
         type: Local
         messages: [ "histamine-effect-light-itchiness" ]