Add muzzle flash to bangCone

This commit is contained in:
2024-12-22 23:54:06 +00:00
parent 69458182d9
commit e56a467111
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -281,6 +281,8 @@ testInventory =
stackedInventory :: [Item]
stackedInventory =
[ torch
, bangCone
, megaTinMag 100
, augmentedHUD
, smallBattery
, makeTypeCraft TRANSFORMER
@@ -310,12 +312,10 @@ stackedInventory =
, tinMag
, pistol
, tinMag
, teslaGun
, blinker
, miniGunX 3
, beltMag
, flatShield
-- , lasWide 20
, poisonSprayer
, bulletBeltPack
, bulletBeltBracer
+1
View File
@@ -15,6 +15,7 @@ bangCone =
& itUse . heldAim . aimMuzzles
.~ replicate 15
(Muzzle (V2 15 0) 0 0.5 0 DefaultFlareType MuzzleShootBullet (UseExactly 1) 0)
& itUse . heldAim . aimMuzzles . ix 0 . mzFlareType .~ PistolFlare
& itUse . heldParams . muzVel .~ UniRandFloat 0.5 0.8
& itUse . heldParams . rifling .~ UniRandFloat 0.3 0.8
& itUse . heldParams . recoil .~ 150