* initial pass at major refactoring
* fixed find_surface
* switch over to lua table schematics for better node replacement, remove _lvm suffixes
* optimize screenshots
* dynamic count array
* various further trimmings, add settingtypes
* move more code out of globals, get schematic dimensions directly from schematic
* greatly reducing public method exposure and global variables, fix vm data memory management
* fix evaluate_heightmaps call, add dependencies from schematic node types
* fix undeclared local
* start searching for surace closer to the centerline
* split generate settlement up into mapgen and non-mapgen, fix debug tool's building placer
* reformat schematics, add separate nightmarket
* fix map lighting, test out shared wall materials to give towns separate character
* add namegen support
* add town discovery and waypoint display features
* make commoditymarket an optional dependency
* add random books to shelves
* make w1, w2 local
* first pass at settlement definition registration.
* support multiple waypoints
* move node initialization into settlement def, add discovery popup and chime
* igloo clusters
* put altitude check into settlement def
* stress-test api a bit more by adding underwater settlements
* adjust positions of schematics to reduce prominence of terraforming platforms
* rename const.lua
* fix well height adjust
* use an areastore for laying out settlement buildings
* add jungle-specific settlement
* add a more substansive central jungle settlement structure
* add a namegen for the jungle camps
* switch over to areastore-based mapping, add desert settlements
* reduce footprint of king's market
* allow market schematics when commoditymarket is not installed
* remove bookgen for now - will come up with something better later
* remove some old debug stuff, put a guard on the debugging tool just in case one falls into the wrong hands
* add a separate list for "central" buildings
* typo in chatcommand description field name
* add option to require mapping kit to see hud waypoints
* add a little more namegen diversity
* fix optional replacements
* turn on some of the specialized settlements by default
* add some non-gibberish book generators
* enhance travel guide directions, add ABM to auto-author books every once in a while
* update locale
* add an option for book generation
* update documentation