mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
add generator definition file (.toml)
This commit is contained in:
parent
d839da7dab
commit
3d478aef08
12 changed files with 76 additions and 54 deletions
4
res/content/base/generators/demo.toml
Normal file
4
res/content/base/generators/demo.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# 1 - temperature
|
||||
# 2 - humidity
|
||||
biome_parameters = 2
|
||||
sea_level = 64
|
||||
|
|
@ -1,9 +1,3 @@
|
|||
sea_level = 64
|
||||
|
||||
-- 1 - temperature
|
||||
-- 2 - humidity
|
||||
biome_parameters = 2
|
||||
|
||||
biomes = json.parse(file.read("base:generators/demo/biomes.json"))
|
||||
|
||||
function place_structures(x, z, w, d, seed, hmap)
|
||||
Loading…
Add table
Add a link
Reference in a new issue