Move most of mapgen into mapgen thread

This commit is contained in:
Desour
2024-03-17 15:38:49 +01:00
committed by HybridDog
parent 9c3fc65544
commit 8be1f839c5
5 changed files with 166 additions and 48 deletions

13
nether/init_emerge.lua Normal file
View File

@ -0,0 +1,13 @@
-- This is run in mapgen env (see register_mapgen_script)
nether = {}
nether.env_type = "ssm_mapgen"
nether.path = minetest.get_modpath("nether")
local path = nether.path
dofile(path .. "/common.lua")
dofile(path .. "/grow_structures.lua")
dofile(path .. "/mapgen.lua")