Refactoring

  Found the most understandable way I could of expressing the desire to return an array of points, composing a path between two Cartesian points, where the path is traversed […]

Made a function to filter for desired positions on criteria like distance from a point, distance from origin, init status of map/plan, etc. Broke the filter logic I had in […]

A decoupled the decision of what tiles to spawn, and actually spawning them, in the area object. This allows the map to treat each tile separately, running its own reveal […]

More cleanup of variable names and other minor stuff. Wish I could write it perfectly the first time. Introduced a new creature stat, vision, which allows them to see hidden […]

Introduced a basic, weighted spawn system for various portal types in the plot. Inns, shops, caves, and stairs will now spawn following a certain set of rules. These rules will […]

Was sick and/or busy for a while. The maze now picks some minimally-distant starting points for the entrance, some treaure, and a new beast, the minotaur. A* pathing has been […]

  Refactored attacks with a more elegant structure, in the process fixing bugs where a) victims would die before being pushed back, and b) NPCs could take cleave damage. Cut the […]

If a player’s steed is hit by a feared creature, the beast will make an attempt to flee on the player’s next turn. This will use up the player’s move. […]

Fixed up some overlooked details. Beasts now route through fliers they can brush aside. The hero will automatically pick up a scroll from a tile where they use one. The […]

  mysql> select name,homeland,resource from map where homeland like ‘%xade%’; +———-+———————+————-+ | name | homeland | resource | +———-+———————+————-+ | Goober | South xadebrook | uranium ore | | Freesoul […]