]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix flare shell not applying firestacks and makes it embed (#23648)
authorArendian <137322659+Arendian@users.noreply.github.com>
Tue, 16 Jan 2024 09:17:05 +0000 (10:17 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 09:17:05 +0000 (12:17 +0300)
* Fix flare gun not igniting and small firestack increase.

* Flare shells now embed

Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/shotgun.yml

index 7c47e5d93e89bc3ed42523cbfce09dec2b12c799..097139110559c6b5b66bc0bd038bd7f286d9730a 100644 (file)
   name: pellet (.50 flare)
   noSpawn: true
   components:
-  - type: CollisionWake
-  - type: TileFrictionModifier
-    modifier: 0.5
   - type: Physics
     bodyType: Dynamic
     fixedRotation: false
+  - type: EmbeddableProjectile
+    deleteOnRemove: true
   - type: Fixtures
     fixtures:
-      fix1:
+      projectile:
         shape:
           !type:PhysShapeAabb
-          bounds: "-0.25,-0.25,0.25,0.25"
-        density: 20
+          bounds: "-0.1,-0.1,0.1,0.1"
         mask:
-          - ItemMask
-        restitution: 0.3
-        friction: 0.2
+        - BulletImpassable
   - type: Tag
     tags:
-      - PelletShotgunFlare
+    - PelletShotgunFlare
   - type: Sprite
     sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
     state: buckshot-flare
     color: "#FF8080"
     radius: 15.0
     energy: 9.0
+  - type: Projectile
+    deleteOnCollide: false
+    damage:
+      types:
+        Heat: 5
 
 - type: entity
   id: PelletShotgunUranium