Add various capabilities for generating graphs, fixes to lasgun

This commit is contained in:
2022-07-06 11:54:29 +01:00
parent cd3463d3d8
commit d63495e335
29 changed files with 1801 additions and 178 deletions
+15 -1
View File
@@ -97,7 +97,7 @@ multGunCrit :: Creature
multGunCrit = defaultCreature
{ _crPict = basicCrPict
-- , _crUpdate = stateUpdate (twitchMissAI 300 350)
, _crInv = IM.fromList [(0,bangCaneX 4),(1,medkit 100)]
, _crInv = IM.fromList [(0,volleyGun 4),(1,medkit 100)]
, _crRad = 10
, _crHP = 300
, _crUpdate = defaultImpulsive [sentinelExtraWatchUpdate
@@ -227,6 +227,20 @@ inventoryX c = case c of
'I' -> [ makeTypeCraft TELEPORTMODULE
, makeTypeCraftNum 2 MICROCHIP
]
'J' -> [ lasGun
, lasSwing
, lasDual
, lasWide 1
, lasWide 2
, lasWide 3
, lasWide 4
, lasWide 5
, lasWidePulse
, lasFocus 1
, lasFocus 2
, lasFocus 3
, lasFocus 6
]
_ -> []
testInventory :: IM.IntMap Item