Work on cleaning up item effects/attachments etc
This commit is contained in:
@@ -31,7 +31,7 @@ tryPutItemInInv cid flit w = case maybeInvSlot of
|
||||
maybeInvSlot = checkInvSlotsYou it w
|
||||
updateItLocation invid w' = case _itID it of
|
||||
Nothing -> w'
|
||||
Just j -> w' & cWorld . itemPositions . ix j .~ InInv cid invid
|
||||
Just j -> w' & cWorld . itemLocations . ix j .~ InInv cid invid
|
||||
|
||||
--{- | Pick up a specific item. -}
|
||||
--putItemInInv :: Int -> FloorItem -> World -> World
|
||||
|
||||
Reference in New Issue
Block a user