Move launcher homing to module, add double launcher

This commit is contained in:
2022-03-02 18:05:42 +00:00
parent ae387e85e3
commit 163d0c584a
4 changed files with 52 additions and 20 deletions
+14 -2
View File
@@ -55,7 +55,7 @@ itemCombinations =
, po [BANGROD,PLATE,DRUM,MOTOR] machineGun
, p [p 2 TUBE,o HARDWARE] launcher
, po [MICROCHIP,TRANSMITTER,LAUNCHER] trackingLauncher
, p [p 2 TUBE,o LAUNCHER] doubleLauncher
, po [TRANSMITTER,MINIDISPLAY,LAUNCHER] remoteLauncher
, po [LIGHTER,PIPE,CAN] flameStick
@@ -112,7 +112,7 @@ moduleCombinations =
]
)
, ( ModTarget
, trackingLauncher : launcher : bulletWeapons
, homingLaunchers ++ bulletWeapons
, [amod [MICROCHIP,CREATURESENSOR] "+CREATURETARGETING" (itTargeting .~ targetRBCreature)
,amod [MICROCHIP,PRISM] "+LASERTARGETING" (itTargeting .~ targetLaser)
,amod [MICROCHIP,TIN] "+POSTIONALTARGETING" (itTargeting .~ targetRBPress)
@@ -131,6 +131,12 @@ moduleCombinations =
(itConsumption . aoType . amBulTraj .~ BezierTrajectory)
]
)
, ( ModLauncherHoming
, homingLaunchers
, [ amod [MICROCHIP,TRANSMITTER] "+TARGET HOMING"
(itConsumption . aoType . amPjCreation .~ fireTrackingShell)
]
)
]
where
makeDirectedTele it = it
@@ -148,6 +154,12 @@ moduleCombinations =
f ameff = itConsumption . aoType . amBulEff .~ ameff
amod cts str func = (cts,ItemModule [str] 1 func)
homingLaunchers :: [Item]
homingLaunchers =
[ launcher
, doubleLauncher
]
bulletWeapons :: [Item]
bulletWeapons = [bangStick i | i <- [1..9] ]
++ [bangCaneX i | i <- [1..6] ]