Add fields to determine an item's inventory position/whether it is held
This commit is contained in:
@@ -108,9 +108,12 @@ drawPathing cfig w
|
||||
|
||||
crDisplayInfo :: Configuration -> World -> Creature -> Maybe (Point2,[String])
|
||||
crDisplayInfo cfig w cr
|
||||
| _crID cr == 0 = Nothing
|
||||
| crOnScreen = Just (_crPos cr, catMaybes
|
||||
[fmap show $ ap ^? crGoal
|
||||
,fmap show $ ap ^? crStrategy
|
||||
-- [fmap show $ ap ^? crGoal
|
||||
-- ,fmap show $ ap ^? crStrategy
|
||||
[fmap show $ cr ^? crPos
|
||||
,fmap show $ cr ^? crOldPos
|
||||
,fmap show $ ap ^? crAction
|
||||
,fmap show $ ap ^? crImpulse
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user