feat(gs/xanthous): Creatures drop their items when they die
When a creature is killed, it now drops all the contents of its inventory on the ground. Change-Id: Ie95c397308ba2c9861f10e58b99c91c9cc759c56
This commit is contained in:
parent
a3d220b631
commit
604319850c
3 changed files with 24 additions and 4 deletions
|
|
@ -42,7 +42,7 @@ import Xanthous.Data
|
|||
import Xanthous.Data.Entities
|
||||
import Xanthous.Entities.Creature.Hippocampus
|
||||
import Xanthous.Util.QuickCheck (GenericArbitrary(..))
|
||||
import Xanthous.Entities.Common (Inventory)
|
||||
import Xanthous.Entities.Common (Inventory, HasInventory(..))
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
data Creature = Creature
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue