]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix mops, rags, and towels interacting with drains (#38252)
authorhoshizora <willhornbeck12@gmail.com>
Wed, 11 Jun 2025 04:54:50 +0000 (21:54 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Jun 2025 04:54:50 +0000 (21:54 -0700)
added the stuff

Resources/Prototypes/Entities/Clothing/Multiple/towel.yml
Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml

index a6b14675efb32e5d9f80de789e79d43969a0cd57..0ee8df45244f79a4a7ad87a6796c571d473241db 100644 (file)
@@ -18,6 +18,9 @@
     unequipSound: 
   - type: Spillable
     solution: absorbed
+    spillWhenThrown: false
+  - type: DrainableSolution
+    solution: absorbed
   - type: Absorbent
     pickupAmount: 15
   - type: SolutionContainerManager
index e09ba46e1293296b074e208a02db553aeca6a336..a1c36e140df02b3f76491d6b425652d6491f674e 100644 (file)
@@ -25,6 +25,9 @@
       collection: MetalThud
   - type: Spillable
     solution: absorbed
+    spillWhenThrown: false
+  - type: DrainableSolution
+    solution: absorbed
   - type: Wieldable
   - type: IncreaseDamageOnWield
     damage:
@@ -80,6 +83,9 @@
          collection: MetalThud
     - type: Spillable
       solution: absorbed
+      spillWhenThrown: false
+    - type: DrainableSolution
+      solution: absorbed
     - type: Wieldable
     - type: IncreaseDamageOnWield
       damage:
       fillBaseName: fill-
     - type: Spillable
       solution: absorbed
+      spillWhenThrown: false
+    - type: DrainableSolution
+      solution: absorbed
     - type: MeleeWeapon
       soundNoDamage:
         path: "/Audio/Effects/Fluids/splat.ogg"