Commit Graph

62 Commits (master)

Author SHA1 Message Date
FaceDeer 58b656f00e switch to built-in translator 2020-02-16 20:23:54 -07:00
FaceDeer 26b6488ca2 splitting the example settlement definitions out into their own repository 2020-02-07 13:08:55 -07:00
FaceDeer 8f9c848523 reorganize into a modpack. 2020-01-16 21:12:09 -07:00
FaceDeer e1a57be836 a little more rearrangement and refinement of admin commands and tools 2020-01-15 23:05:43 -07:00
FaceDeer 97c7e9a4b2 add ability to regenerate map blocks with towns and remove town records 2020-01-14 20:06:23 -07:00
FaceDeer 2ccd08a533 great big reorg. In theory, this no longer has hard dependencies on any other mod 2020-01-14 14:08:51 -07:00
FaceDeer df21d58e76 remove some debugging code 2020-01-13 23:07:55 -07:00
FaceDeer 5d41537e84
Major rewrite - refactor code for efficiency, add API and new settlement types, HUD waypoints (#1)
* 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
2020-01-13 23:23:02 -06:00
jeb 1b325c33e8 code cleanup and better handling of yet to be loaded areas 2019-11-07 19:58:50 +01:00
jeb 4ca9fbfddb optimized surface finding 2019-11-07 17:04:42 +01:00
jeb 91d04cd636 Added some debugging routines 2019-11-07 13:00:39 +01:00
Rochambeau f948161805 Eclipse debugging line removed 2019-07-14 20:32:10 +02:00
Rochambeau 96f4da9c14 spawn settlements more seldom 2019-06-30 10:37:40 +02:00
Rochambeau 8414334901 set min_timer between settlement creation 2018-08-18 19:48:08 +02:00
Rochambeau f2b8d2a2d9 forceload blocks where stellements are built;
no more broken/cut buildings on mapchunk borders
2018-07-30 20:54:36 +02:00
Rochambeau a205ecec4f optimizing and banchmarking lvm versus get/set_node 2018-07-29 20:41:28 +02:00
Rochambeau 3a7e65d8ad foundation migrated to LVM 2018-07-21 20:31:29 +02:00
Rochambeau 075b5bf731 migrating to voxelmanip 2018-07-20 11:29:21 +02:00
Rochambeau f52c3f3872 determining own heightmap too heavy, using official heightmap now 2018-07-19 09:17:34 +02:00
Rochambeau 080a98f3b6 added some gravel paths between buildings 2018-07-17 10:22:48 +02:00
Rochambeau 2a3a4c1c85 height detection, build settlements only if height difference in chunk
is less then 10
2018-07-13 21:08:10 +02:00
Rochambeau e9fc3feb77 bugfix when checking distance between buildings (and/or problem) 2018-07-12 20:42:50 +02:00
Rochambeau 7b99076dc5 special floor for spawning npcs 2018-07-08 12:15:41 +02:00
Rochambeau 264180f52c removed debugging stuff for zerobrane 2018-07-07 19:56:00 +02:00
Rochambeau c08651a915 right click -> build settlement 2018-07-07 19:54:58 +02:00
Rochambeau 95dc5b38ea add meta to furnace (mts problem) 2018-07-07 19:41:14 +02:00
Rochambeau ebde8f21ec code cleanup, more comments 2018-07-07 13:39:28 +02:00
Rochambeau 396f2c0bea finetuning settlement composition 2018-07-07 13:25:58 +02:00
Rochambeau 8f73f23699 added blacksmith 2018-07-05 20:15:40 +02:00
Rochambeau 3739ba62b1 added church 2018-07-04 20:56:23 +02:00
Rochambeau e59dfa2c67 finetuning chests 2018-07-03 21:12:34 +02:00
Rochambeau 717e042db6 wait 2 secands before placing schematics -> else Block not found 2018-06-30 21:43:51 +02:00
Rochambeau e688f35a75 finetuning 2018-06-30 21:37:38 +02:00
Rochambeau 7ff6f60a4c save settlements to file and check distance between settlements 2018-06-30 20:53:50 +02:00
Rochambeau b3d233bf75 optimize replacing material 2018-06-30 20:07:20 +02:00
Rochambeau 4355a4eeca circle around center 2018-06-29 14:52:56 +02:00
Rochambeau a1338ee1a4 foundation 2018-06-26 20:08:14 +02:00
Rochambeau e9253d84dd convertin mts to lua, replacing wall material and placing schematic 2018-06-26 19:48:08 +02:00
Rochambeau 515980c5e1 toying around 2018-06-26 15:02:25 +02:00
Rochambeau be433106f8 cleanup 2018-06-21 21:22:24 +02:00
Rochambeau 95b390ca8d first schematic building 2018-06-21 21:16:00 +02:00
Rochambeau 038d59b450 torches 2018-06-20 20:37:40 +02:00
Rochambeau 3b0c822319 random walls material 2018-06-20 20:09:30 +02:00
Rochambeau 2c491cd2ff cleanup 2018-06-19 21:02:02 +02:00
Rochambeau d0ac628423 nothing special 2018-06-19 20:45:26 +02:00
Rochambeau 61cbf25213 randomly generated blueprint villages 2018-06-19 20:38:25 +02:00
Rochambeau c77caa571d added blueprints 2018-06-18 20:20:03 +02:00
Rochambeau b551468cf7 random orientation of blueprint building 2018-06-17 20:55:36 +02:00
Rochambeau a95e89239d new housebuilding by blueprint tables 2018-06-17 20:40:55 +02:00
Rochambeau 649a55d5e0 saddle_roof 2018-06-16 20:48:17 +02:00