Make ammo magazines into own item type
This commit is contained in:
@@ -12,19 +12,19 @@ moduleModification imt = case imt of
|
||||
EMPTYMODULE -> id
|
||||
-- BELTMAG -> itUse . heldConsumption . laSource . _InternalSource . iaMax .~ 150
|
||||
MAGNETMAG -> itUse . heldDelay . rateMax .~ 4
|
||||
BULPAY BulFlak -> (itUse . attachParams . ammoParams . ampBullet . buSpawn .~ BulFlak)
|
||||
. (itUse . attachParams . ammoParams . ampBullet . buTimer .~ 3)
|
||||
BULPAY thepayload -> itUse . attachParams . ammoParams . ampBullet . buSpawn .~ thepayload
|
||||
BULBODY thebody -> itUse . attachParams . ammoParams . ampBullet . buEffect .~ thebody
|
||||
BULPAY BulFlak -> (itUse . amagParams . ampBullet . buSpawn .~ BulFlak)
|
||||
. (itUse . amagParams . ampBullet . buTimer .~ 3)
|
||||
BULPAY thepayload -> itUse . amagParams . ampBullet . buSpawn .~ thepayload
|
||||
BULBODY thebody -> itUse . amagParams . ampBullet . buEffect .~ thebody
|
||||
TARGET {} -> id -- itUse . useTargeting ?~ t
|
||||
BULTRAJ BasicBulletTrajectoryType -> id
|
||||
BULTRAJ MagnetTrajectoryType ->
|
||||
(itUse . attachParams . ammoParams . ampBullet . buTrajectory .~ MagnetTrajectory 0)
|
||||
. (itUse . attachParams . ammoParams . ampBullet . buVel .~ V2 10 0)
|
||||
(itUse . amagParams . ampBullet . buTrajectory .~ MagnetTrajectory 0)
|
||||
. (itUse . amagParams . ampBullet . buVel .~ V2 10 0)
|
||||
BULTRAJ FlechetteTrajectoryType ->
|
||||
itUse . attachParams . ammoParams . ampBullet . buTrajectory .~ FlechetteTrajectory 0
|
||||
itUse . amagParams . ampBullet . buTrajectory .~ FlechetteTrajectory 0
|
||||
BULTRAJ BezierTrajectoryType ->
|
||||
itUse . attachParams . ammoParams . ampBullet . buTrajectory .~ BezierTrajectory 0 0 0
|
||||
itUse . amagParams . ampBullet . buTrajectory .~ BezierTrajectory 0 0 0
|
||||
INCENDLAS -> itParams . lasBeam .~ BeamCombine FlameBeamCombine
|
||||
SPLITLAS -> itParams . lasBeam .~ BeamCombine SplitBeamCombine
|
||||
STATICLAS ->
|
||||
|
||||
Reference in New Issue
Block a user