Work on weapon attachments
This commit is contained in:
@@ -18,13 +18,12 @@ import ShapePicture
|
||||
itemSPic :: Item -> SPic
|
||||
itemSPic it =
|
||||
M.foldMapWithKey (modulesSPic it) (_iyModules $ _itType it) <> case it ^. itType . iyBase of
|
||||
NoItemType -> over _1 (colorSH magenta) defSPic
|
||||
CRAFT _ -> defSPic
|
||||
HELD ht -> heldItemSPic ht it
|
||||
LEFT lt -> leftItemSPic lt it
|
||||
EQUIP et -> equipItemSPic et it
|
||||
AMMO {} -> defSPic
|
||||
Consumable{} -> defSPic
|
||||
CONSUMABLE{} -> defSPic
|
||||
ATTACH {} -> defSPic
|
||||
|
||||
equipItemSPic :: EquipItemType -> Item -> SPic
|
||||
|
||||
Reference in New Issue
Block a user