Tweak item dropping, add item radius
This commit is contained in:
@@ -60,7 +60,7 @@ stateUpdate u cr w = case u (updateMovement cr) w of
|
||||
(_crCorpse cr)
|
||||
-- | Drop items according to the creature state.
|
||||
dropByState :: Creature -> World -> World
|
||||
dropByState cr w = foldr (copyItemToFloor cr) w is
|
||||
dropByState cr w = foldr (copyInvItemToFloor cr) w is
|
||||
where
|
||||
is :: [Int]
|
||||
is = case cr ^. crState . crDropsOnDeath of
|
||||
|
||||
Reference in New Issue
Block a user