Flare gun no longer spawns with a shotgun shell pre-loaded (#6604)
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
prob: 0.4
|
prob: 0.4
|
||||||
- id: OxygenTankFilled
|
- id: OxygenTankFilled
|
||||||
prob: 0.2
|
prob: 0.2
|
||||||
|
- id: FlareGun
|
||||||
|
prob: 0.05
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: ClosetFireFilled
|
id: ClosetFireFilled
|
||||||
@@ -70,3 +72,5 @@
|
|||||||
prob: 0.33
|
prob: 0.33
|
||||||
- id: ClothingHeadHatCone
|
- id: ClothingHeadHatCone
|
||||||
prob: 0.2
|
prob: 0.2
|
||||||
|
- id: FlareGun
|
||||||
|
prob: 0.1
|
||||||
@@ -256,50 +256,3 @@
|
|||||||
- type: Appearance
|
- type: Appearance
|
||||||
visuals:
|
visuals:
|
||||||
- type: BarrelBoltVisualizer
|
- 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
|
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user