Fix flare shell not applying firestacks and makes it embed (#23648)

* Fix flare gun not igniting and small firestack increase.

* Flare shells now embed
This commit is contained in:
Arendian
2024-01-16 10:17:05 +01:00
committed by GitHub
parent 73e0238604
commit 495956a7fa

View File

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