add generator definition file (.toml)

This commit is contained in:
MihailRis
2024-09-26 22:26:01 +03:00
parent d839da7dab
commit 3d478aef08
12 changed files with 76 additions and 54 deletions
+1
View File
@@ -0,0 +1 @@
biome_parameters = 0
@@ -1,5 +1,3 @@
biome_parameters = 0
biomes = {flat = {
parameters = {},
layers = {
@@ -9,7 +7,3 @@ biomes = {flat = {
{height=-1, block="core:obstacle"}
}
}}
function generate_heightmap(x, y, w, h, seed)
return Heightmap(w, h)
end