2015-09-01 17:15:24 +02:00
|
|
|
--
|
|
|
|
-- Villages mod
|
|
|
|
-- By Kaadmy, for Pixture
|
|
|
|
--
|
|
|
|
|
|
|
|
village = {}
|
|
|
|
|
|
|
|
village.min_size = 2 -- min chunk gen iterations
|
|
|
|
village.max_size = 6 -- max chunk gen iterations
|
|
|
|
|
2015-10-02 22:58:37 +02:00
|
|
|
village.min_spawn_dist = 256 -- closest distance a village will spawn from another village
|
|
|
|
|
2017-05-12 04:29:55 +02:00
|
|
|
village.pr = PseudoRandom(minetest.get_mapgen_params().seed)
|
2015-09-01 17:15:24 +02:00
|
|
|
|
2017-05-12 04:29:55 +02:00
|
|
|
dofile(minetest.get_modpath("village").."/names.lua")
|
|
|
|
dofile(minetest.get_modpath("village").."/generate.lua")
|
|
|
|
dofile(minetest.get_modpath("village").."/mapgen.lua")
|
2015-09-01 17:15:24 +02:00
|
|
|
|
|
|
|
default.log("mod:village", "loaded")
|