VoxeLibre/mods/MAPGEN/vl_structures/init.lua

21 lines
801 B
Lua
Raw Normal View History

local modname = minetest.get_current_modname()
vl_structures = {}
2024-09-05 01:03:33 +02:00
---- Customization parameters for different games
2024-08-24 19:24:31 +02:00
-- see vl_terraforming for documentation
vl_structures.DEFAULT_PREPARE = { tolerance = 10, foundation = -3, clear = false, clear_bottom = 0, clear_top = 4, padding = 1, corners = 1 }
vl_structures.DEFAULT_FLAGS = "place_center_x,place_center_z"
2024-09-05 01:03:33 +02:00
-- fallback types
vl_structures.DEFAULT_SURFACE = { name = "mcl_core:dirt_with_grass" }
vl_structures.DEFAULT_FILLER = { name = "mcl_core:dirt" }
vl_structures.DEFAULT_STONE = { name = "mcl_core:stone" }
vl_structures.DEFAULT_DUST = nil
local modpath = minetest.get_modpath(modname)
dofile(modpath.."/util.lua")
2024-08-24 19:24:31 +02:00
dofile(modpath.."/emerge.lua")
dofile(modpath.."/api.lua")
2024-08-24 19:24:31 +02:00
dofile(modpath.."/spawning.lua")
dofile(modpath.."/commands.lua")