Commit Graph

17 Commits

Author SHA1 Message Date
cora
8d0afede37 don't block mapgen on village generation 2022-05-09 10:29:57 +00:00
cora
0288581407 increase wait til village generated 2022-05-09 10:29:57 +00:00
cora
46dbf8c0ab Spawn villagers on villagegen, stay in village
This spawns a villager per bed on village gen and saves the bed
position in the entity. If it moves too far from the village
it gets teleported (for now) back.
2022-05-09 10:29:57 +00:00
kabou
ace0dc00c7 Remove settlements_in_world and settlements.txt
The global(!) table settlements_in_world` has no use, but is serialized and
saved to a file `settlements.txt` every time during generation of a new
village, adding more lag.  This commit removes all related code:
* Remove all instances of `settlements_in_world`.
* Remove `settlements.load()` and `settlements.save()`.
2022-04-02 21:52:03 +02:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
1a58b0c510 fix many codestyle issues 2021-04-16 13:35:03 +02:00
AFCMS
bddc4a3ac7 make village tool experimental 2021-03-07 17:07:55 +01:00
kay27
2ce5c5415a Fix village initialization: https://git.minetest.land/MineClone2/MineClone2/issues/1206 https://git.minetest.land/MineClone2/MineClone2/issues/1207 https://git.minetest.land/MineClone2/MineClone2/issues/1209 2021-02-27 03:33:51 +04:00
kay27
89e55e9065 Add sub-map generators queue, fix https://git.minetest.land/MineClone2/MineClone2/issues/993 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-02-22 03:15:32 +04:00
kay27
a73f5dabbd Cleanup 2021-02-10 15:36:32 +00:00
kay27
1d792a650f Speedup placing villages 2/2 (update mcl_villages through Gitea, as direct push doesn't work) 2021-02-10 13:07:32 +00:00
MysticTempest
dc9ca16321 Enable villager spawning. 2021-02-09 06:06:19 -06:00
MysticTempest
e716ebd911 Make enderman grief less frequently, enable pseudobiome villages by default, and disable natural village generation in singlenode. 2021-02-01 15:45:22 -06:00
kay27
30b4b9661c Villages cleanup 2021-01-29 23:03:39 +04:00
kay27
9a668204cb Remove inter-village distance check 2021-01-28 23:12:16 +04:00
kay27
ff2cd808d5 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/1022 2021-01-28 03:17:11 +04:00
MysticTempest
0c23406531 Add mcl_villages; with support for seed-based, and multithreaded village generation by kay27. 2021-01-27 02:56:53 -06:00