Flare gun no longer spawns with a shotgun shell pre-loaded (#6604)

This commit is contained in:
Swept
2022-02-09 18:00:47 -08:00
committed by GitHub
parent d58fa28dac
commit 67e34ca946
3 changed files with 51 additions and 48 deletions

View File

@@ -20,7 +20,9 @@
prob: 0.4
- id: OxygenTankFilled
prob: 0.2
- id: FlareGun
prob: 0.05
- type: entity
id: ClosetFireFilled
parent: ClosetFire
@@ -70,3 +72,5 @@
prob: 0.33
- id: ClothingHeadHatCone
prob: 0.2
- id: FlareGun
prob: 0.1

View File

@@ -256,50 +256,3 @@
- type: Appearance
visuals:
- type: BarrelBoltVisualizer
- type: entity
name: flare gun
parent: LauncherBase
id: FlareGun
description: A compact, single-shot pistol that fires shotgun shells.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Shotguns/flaregun.rsi
layers:
- state: base
map: ["enum.RangedBarrelVisualLayers.Base"]
- state: bolt-closed
map: ["enum.RangedBarrelVisualLayers.Bolt"]
- type: Icon
sprite: Objects/Weapons/Guns/Shotguns/flaregun.rsi
state: icon
- type: Item
size: 12
sprite: Objects/Weapons/Guns/Shotguns/flaregun.rsi
- type: RangedWeapon
- type: BoltActionBarrel
caliber: Shotgun
currentSelector: Single
allSelectors:
- Single
fillPrototype: ShellShotgun
fireRate: 8.0
capacity: 1
minAngle: 25
maxAngle: 70
angleIncrease: 30
angleDecay: 30
ammoSpreadRatio: 0.85
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/shotgun.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/empty.ogg
soundInsert:
path: /Audio/Weapons/Guns/MagIn/shotgun_insert.ogg
soundBoltOpen:
path: /Audio/Weapons/Guns/Cock/shotgun_open.ogg
soundBoltClosed:
path: /Audio/Weapons/Guns/Cock/shotgun_close.ogg
- type: Appearance
visuals:
- type: BarrelBoltVisualizer

View File

@@ -0,0 +1,46 @@
- type: entity
name: flare gun
parent: LauncherBase
id: FlareGun
description: A compact, single-shot pistol that fires shotgun shells.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Shotguns/flaregun.rsi
layers:
- state: base
map: ["enum.RangedBarrelVisualLayers.Base"]
- state: bolt-closed
map: ["enum.RangedBarrelVisualLayers.Bolt"]
- type: Icon
sprite: Objects/Weapons/Guns/Shotguns/flaregun.rsi
state: icon
- type: Item
size: 12
sprite: Objects/Weapons/Guns/Shotguns/flaregun.rsi
- type: RangedWeapon
- type: BoltActionBarrel
caliber: Shotgun
currentSelector: Single
allSelectors:
- Single
fillPrototype: ShellShotgunFlare
fireRate: 8.0
capacity: 1
minAngle: 25
maxAngle: 70
angleIncrease: 30
angleDecay: 30
ammoSpreadRatio: 0.85
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/shotgun.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/empty.ogg
soundInsert:
path: /Audio/Weapons/Guns/MagIn/shotgun_insert.ogg
soundBoltOpen:
path: /Audio/Weapons/Guns/Cock/shotgun_open.ogg
soundBoltClosed:
path: /Audio/Weapons/Guns/Cock/shotgun_close.ogg
- type: Appearance
visuals:
- type: BarrelBoltVisualizer