]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Spiders inject toxin (#19497)
authorHerCoyote23 <131214189+HerCoyote23@users.noreply.github.com>
Sat, 7 Oct 2023 13:05:40 +0000 (07:05 -0600)
committerGitHub <noreply@github.com>
Sat, 7 Oct 2023 13:05:40 +0000 (16:05 +0300)
* Spider poison

* No more double damage

* add toxin regeneration

---------

Co-authored-by: Slava0135 <super.novalskiy_0135@inbox.ru>
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml

index fc75798b947d2237b4bcce70fba27a024a1e9a0f..7af84db8e58b9467728a80baea9bd48dd7ae0842 100644 (file)
     damage:
       types:
         Piercing: 6
-        Poison: 6
+  - type: SolutionContainerManager
+    solutions:
+      melee:
+        maxVol: 30
+  - type: SolutionRegeneration
+    solution: melee
+    generated:
+      reagents:
+      - ReagentId: Toxin
+        Quantity: 1
+  - type: MeleeChemicalInjector
+    transferAmount: 0.75
+    solution: melee
   - type: ReplacementAccent
     accent: xeno
   - type: InteractionPopup
       damage:
         types:
           Piercing: 8
-          Poison: 6
     - type: FootstepModifier
       footstepSoundCollection:
         collection: FootstepClownFast