]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Ammonia restores Rat King Bloodlevel (#42167)
author0-Anon <cec124@case.edu>
Mon, 29 Dec 2025 22:36:01 +0000 (17:36 -0500)
committerGitHub <noreply@github.com>
Mon, 29 Dec 2025 22:36:01 +0000 (22:36 +0000)
* Ammonia restores Rat King Bloodlevel

Adds a saline effect to ammonia for creatures with the rat metabolizer type condition (aka, rat kings)

* error fix

code did not like amount under condition so fixing that, and restoring amount to 1 to be identical to how it was working in the video. amount 6 was comical levels of blood restoration

Resources/Prototypes/Reagents/botany.yml

index c2698b2b29dfb771c962af1af8901d78bfc9a225..19133ba55196514cbe1a6929f54f004757109951 100644 (file)
             Burn: -2.5
           types:
             Bloodloss: -5
+      - !type:ModifyBloodLevel
+        amount: 1
+        conditions:
+        - !type:MetabolizerTypeCondition
+          type: [ Rat ]
+        - !type:ReagentCondition
+          reagent: Ammonia
+          min: 1
       - !type:Oxygenate # ammonia displaces nitrogen in vox blood
         conditions:
         - !type:MetabolizerTypeCondition