Use a creature to "use" the weapon of a turret

This commit is contained in:
2021-12-11 18:06:04 +00:00
parent 15e1fbc060
commit cdeb3dfa67
10 changed files with 80 additions and 34 deletions
+3 -4
View File
@@ -9,8 +9,7 @@ module Dodge.Creature
, chaseCrit
, armourChaseCrit
, smallChaseCrit
)
where
) where
import Dodge.Creature.State.Data
--import Dodge.Item.Weapon.Grenade
import Dodge.Item.Weapon.Booster
@@ -77,8 +76,8 @@ miniGunCrit = defaultCreature
, _crStrategy = StrategyActions WatchAndWait [StartSentinelPost]
, _crGoal = []
}
, _crInv = IM.fromList [(0,autoRifle & itConsumption . ammoLoaded .~ 1000)]
-- , _crInv = IM.fromList [(0,miniGun')]
-- , _crInv = IM.fromList [(0,autoRifle & itConsumption . ammoLoaded .~ 1000)]
, _crInv = IM.fromList [(0,miniGun)]
-- , _crInv = IM.fromList [(0,autoRifle)]
, _crInvSel = 0
, _crRad = 10