Add fields to determine an item's inventory position/whether it is held
This commit is contained in:
@@ -93,6 +93,8 @@ defaultGun = Item
|
||||
, _itScroll = \_ _ -> id
|
||||
, _itAttachment = NoItAttachment
|
||||
, _itID = Nothing
|
||||
, _itInvPos = Nothing
|
||||
, _itIsHeld = False
|
||||
, _itEffect = NoItEffect
|
||||
, _itInvDisplay = basicItemDisplay
|
||||
, _itInvColor = white
|
||||
@@ -122,6 +124,8 @@ defaultCraftable = Item
|
||||
, _itScroll = \_ _ -> id
|
||||
, _itAttachment = NoItAttachment
|
||||
, _itID = Nothing
|
||||
, _itInvPos = Nothing
|
||||
, _itIsHeld = False
|
||||
, _itEffect = NoItEffect
|
||||
, _itInvDisplay = basicItemDisplay
|
||||
, _itInvColor = green
|
||||
|
||||
Reference in New Issue
Block a user