tvl-depot/test/Xanthous
Griffin Smith 052bc8455a Add a drop command
Add a drop command, bound to 'd', which prompts the character for an
item in their inventory, removes it from the inventory, and places it on
the ground. Along the way I had to fix a bug in the
`EntityMap.atPosition` lens, which was always appending to the existing
entities at the position on set, without removing the entities that were
already there - the rabbit hole of quickchecking the lens laws here also
lead to replacing the target of this lens with a newtype called
`VectorBag`, which ignores order (since the entitymap makes no
guarantees about order of entities at a given position).
2019-12-23 17:22:56 -05:00
..
Data Add a drop command 2019-12-23 17:22:56 -05:00
Entities Add raws, loaded statically from a folder 2019-09-02 13:59:28 -04:00
Generators Convert generated levels to walls 2019-09-09 20:54:33 -04:00
Util Describe what you see when you walk over items 2019-09-20 19:38:46 -04:00
DataSpec.hs Implement speed and ticks 2019-10-13 12:37:08 -04:00
GameSpec.hs Fix an injectivity issue with saving the game 2019-11-30 15:00:39 -05:00
MessageSpec.hs Implement messages 2019-09-01 13:54:27 -04:00
OrphansSpec.hs Implement saving+loading the game 2019-11-29 14:33:52 -05:00
UtilSpec.hs Don't walk gormlaks into walls 2019-10-15 22:54:31 -04:00