]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix water gun and spray nozzle projectile collision (#24175)
authorArendian <137322659+Arendian@users.noreply.github.com>
Wed, 17 Jan 2024 08:21:58 +0000 (09:21 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Jan 2024 08:21:58 +0000 (11:21 +0300)
fix water gun and spray nozzle collision

Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml

index cddbdc58cf6df8263387400d873254c17892fcf8..86f1f53939e02de1628c6704c1f5e808105cc2da 100644 (file)
         maxVol: 50
   - type: Fixtures
     fixtures:
-      fix1:
+      projectile:
         shape:
           !type:PhysShapeAabb
           bounds: "-0.10,-0.30,0.10,0.15"
         hard: false
         mask:
-        - FullTileMask
-        - Opaque
+        - Impassable
+        - BulletImpassable
+  - type: CanPenetrate
+    penetrationLayer: MobLayer
   - type: Vapor
     active: true
   - type: Appearance