Cleanup, prepare ground to allow for drawing attached items
This commit is contained in:
@@ -16,7 +16,8 @@ import Dodge.Item.Draw.SPic
|
||||
import Dodge.Item.HeldOffset
|
||||
import ShapePicture
|
||||
|
||||
itemEquipPict :: Creature -> LabelDoubleTree ComposeLinkType PartiallyComposedItem -> SPic
|
||||
itemEquipPict :: Creature -> LabelDoubleTree ComposeLinkType (PartiallyComposedItem ComposeLinkType)
|
||||
-> SPic
|
||||
itemEquipPict cr itmtree = case itm ^. itUse of
|
||||
UseHeld{} | itm ^? itLocation . ilIsRoot == Just True
|
||||
-> overPosSP (heldItemOffset itm cr) (itemSPic itmtree)
|
||||
|
||||
Reference in New Issue
Block a user