From 604319850c4b875fb8cdb9c1e7ca34f013993f20 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 25 Nov 2021 10:14:00 -0500 Subject: 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 --- users/grfn/xanthous/src/Xanthous/Entities/Creature.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/grfn/xanthous/src/Xanthous/Entities') diff --git a/users/grfn/xanthous/src/Xanthous/Entities/Creature.hs b/users/grfn/xanthous/src/Xanthous/Entities/Creature.hs index 3af2cafe3349..3ea610795e98 100644 --- a/users/grfn/xanthous/src/Xanthous/Entities/Creature.hs +++ b/users/grfn/xanthous/src/Xanthous/Entities/Creature.hs @@ -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 -- cgit 1.4.1