mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add LuaGeneratorScript::loadStructures
This commit is contained in:
parent
aa1fb26ea5
commit
cba1a5c23e
6 changed files with 30 additions and 3 deletions
|
|
@ -55,6 +55,12 @@ biomes = {
|
|||
}
|
||||
}
|
||||
|
||||
function load_structures()
|
||||
local structures = {}
|
||||
table.insert(structures, generation.load_structure("core:default.files/tree0"))
|
||||
return structures
|
||||
end
|
||||
|
||||
local function _generate_heightmap(x, y, w, h, seed, s)
|
||||
local umap = Heightmap(w, h)
|
||||
local vmap = Heightmap(w, h)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue