Move further towards removing _crInvEquipped
This commit is contained in:
@@ -48,4 +48,3 @@ armourChaseCrit =
|
||||
, _crMvType = defaultChaseMvType{_mvTurnRad = FloatConst 0.05}
|
||||
}
|
||||
& crEquipment . at OnChest ?~ 0
|
||||
-- & crInvEquipped . at 0 ?~ OnChest
|
||||
|
||||
@@ -28,7 +28,6 @@ invisibleChaseCrit =
|
||||
-- & crCamouflage .~ Invisible
|
||||
& crInv . at 0 ?~ wristInvisibility
|
||||
& crEquipment . at OnLeftWrist ?~ 0
|
||||
-- & crInvEquipped . at 0 ?~ OnLeftWrist
|
||||
|
||||
chaseCrit :: Creature
|
||||
chaseCrit =
|
||||
|
||||
@@ -25,12 +25,6 @@ equipmentStrValue itm = case _itType itm of
|
||||
|
||||
crCurrentEquipment :: Creature -> IM.IntMap Item
|
||||
crCurrentEquipment = IM.filter (isJust . (^? itLocation . ilEquipPosition . _Just)) . _crInv
|
||||
-- merge
|
||||
-- dropMissing
|
||||
-- dropMissing
|
||||
-- (zipWithMatched (\_ _ itm -> itm))
|
||||
-- (_crInvEquipped cr)
|
||||
-- (_crInv cr)
|
||||
|
||||
strFromHeldItem :: Creature -> Int
|
||||
strFromHeldItem cr
|
||||
|
||||
Reference in New Issue
Block a user