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 :: [Item]
stackedInventory = stackedInventory =
[ torch [ torch
, bangCone
, megaTinMag 100
, augmentedHUD , augmentedHUD
, smallBattery , smallBattery
, makeTypeCraft TRANSFORMER , makeTypeCraft TRANSFORMER
@@ -310,12 +312,10 @@ stackedInventory =
, tinMag , tinMag
, pistol , pistol
, tinMag , tinMag
, teslaGun
, blinker , blinker
, miniGunX 3 , miniGunX 3
, beltMag , beltMag
, flatShield , flatShield
-- , lasWide 20
, poisonSprayer , poisonSprayer
, bulletBeltPack , bulletBeltPack
, bulletBeltBracer , bulletBeltBracer
+1
View File
@@ -15,6 +15,7 @@ bangCone =
& itUse . heldAim . aimMuzzles & itUse . heldAim . aimMuzzles
.~ replicate 15 .~ replicate 15
(Muzzle (V2 15 0) 0 0.5 0 DefaultFlareType MuzzleShootBullet (UseExactly 1) 0) (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 . muzVel .~ UniRandFloat 0.5 0.8
& itUse . heldParams . rifling .~ UniRandFloat 0.3 0.8 & itUse . heldParams . rifling .~ UniRandFloat 0.3 0.8
& itUse . heldParams . recoil .~ 150 & itUse . heldParams . recoil .~ 150