Move towards adding reflective shield
This commit is contained in:
@@ -46,7 +46,9 @@ addItem _ it' = it' & itAmount +~ 1
|
||||
--numInventorySlots = 9
|
||||
|
||||
itNotFull :: Item -> Bool
|
||||
itNotFull it = _itMaxStack it > _itAmount it
|
||||
itNotFull it = case it ^? itMaxStack of
|
||||
Just themax -> themax > _itAmount it
|
||||
Nothing -> False
|
||||
|
||||
rmInvItem
|
||||
:: Int -- ^ Creature id
|
||||
|
||||
Reference in New Issue
Block a user