Commit Graph

32 Commits

Author SHA1 Message Date
Wuzzy
7a1d980f11 Fix two global var warnings 2019-09-22 04:53:13 +02:00
Wuzzy
af63c4bc40 Use PseudoRandom instead of math.random 2019-09-21 22:57:57 +02:00
Wuzzy
e5b0a9183d Allow only up to 1 music player per village 2019-09-21 17:12:29 +02:00
Wuzzy
7457a794e3 Generate locked chests in villages 2019-09-21 16:38:43 +02:00
Wuzzy
9fc560878a Add carpenter profession, balance trades 2019-09-21 14:44:30 +02:00
Wuzzy
21f10a47f4 Villages: Fix incorrect amt_connections counting 2019-09-06 18:15:08 +02:00
Wuzzy
1fbc8b83a9 Change villager spawning algorithm
Now the entity spawners regularily check if another object is nearby, only then they spawn.
This should make entity spawns more reliable.
2019-09-06 18:10:08 +02:00
Wuzzy
6db816ca34 Fix another string.gfind call ... 2019-09-06 10:25:12 +02:00
Wuzzy
963f1c67e1 Village spawner: Guarantee well placement 2019-09-05 20:07:15 +02:00
Wuzzy
7fee79f884 Village: Connect well properly with road network 2019-09-05 18:38:15 +02:00
Wuzzy
6f761e2323 Village: Fix entities spawning on same pos 2019-09-05 17:55:14 +02:00
Wuzzy
482d856233 Village: Add cotton-only and wheat-only farm 2019-09-05 17:36:59 +02:00
Wuzzy
5ad66933cd Villagegen: Stop generating into stone,tree,leaves 2019-09-05 16:44:34 +02:00
Wuzzy
68782753ce Improve village ground generation 2019-09-04 15:53:06 +02:00
Wuzzy
cb200e1396 Villages: Fix roads being weird sometimes 2019-09-04 13:40:14 +02:00
Wuzzy
b790d5e676 Randomize village wood materials per-world 2019-09-04 13:07:37 +02:00
Wuzzy
eea78b8f0a Restrict number of music players per village 2019-09-03 17:14:51 +02:00
Wuzzy
45273fb183 Fix bad torches in villages 2019-08-31 16:18:19 +02:00
Wuzzy
8c851f07e4 Fix potentially dangerous minetest.after calls 2019-08-29 17:44:48 +02:00
Wuzzy
3795496672 Clean up debug messaging 2019-08-28 17:55:18 +02:00
KaadmY
6693590126 Prevent villages from spawning near the static spawnpoint; closes #43 2017-05-16 12:05:17 -07:00
KaadmY
3f26b5431d Standardize database naming across mods along with numerous minor fixes 2017-05-11 21:25:14 -07:00
KaadmY
b667b4561e Revert "Phew, use the core namespace for everything instead of minetest"
This reverts commit 4af67a5d54.
2017-05-11 19:29:55 -07:00
KaadmY
4af67a5d54 Phew, use the core namespace for everything instead of minetest 2017-05-11 16:45:53 -07:00
KaadmY
abb1c196da Minor changes to villages backend 2017-05-11 14:10:09 -07:00
kaadmy
5e4f7fa639 added simple ground raising for villages to prevent floating villages near cliffs 2015-10-22 16:27:35 -07:00
kaadmy
24ae3f7d8d multiple changes to village generation, villages are now on maps, and lots of bugfixes and tweaks 2015-10-02 13:58:37 -07:00
kaadmy
320c2a9eb9 use minetest.hash_node_position instead of a custom function to increase performance thanks to @t4im(Tim) 2015-09-22 10:29:46 -07:00
kaadmy
d42ef6e74c use custom dump function 2015-09-09 08:59:11 -07:00
kaadmy
d9906a1433 put village goodies into seperate mod 2015-09-02 10:57:24 -07:00
kaadmy
0fc97c94ce changed village gen a bit 2015-09-01 09:40:48 -07:00
kaadmy
12c94adf09 first commit 2015-09-01 08:15:24 -07:00