Move towards using item structural function when using items
This commit is contained in:
@@ -48,14 +48,11 @@ lasGun =
|
||||
& itUse . heldAim . aimMuzzles . ix 0 . mzInaccuracy .~ 0
|
||||
& itUse . heldAim . aimMuzzles . ix 0 . mzFlareType .~ LasGunFlare
|
||||
& itUse . heldAim . aimMuzzles . ix 0 . mzEffect .~ MuzzleLaser
|
||||
-- & itParams
|
||||
-- .~ Refracting
|
||||
-- { _phaseV = 1
|
||||
-- , _lasColor = yellow
|
||||
-- , _lasColor2 = yellow
|
||||
-- , _lasCycle = 0
|
||||
-- , _lasDamage = 11
|
||||
-- }
|
||||
& itTargeting .~ ItTargeting
|
||||
{ _itTgPos = Nothing
|
||||
, _itTgID = Nothing
|
||||
, _itTgActive = False
|
||||
}
|
||||
& itDimension . dimRad .~ 10
|
||||
& itDimension . dimCenter .~ V3 15 0 0
|
||||
& itUse . heldAim . aimWeight .~ 6
|
||||
|
||||
Reference in New Issue
Block a user