Mapgen: write SuperUltraSigmaMapgen part 8

This commit is contained in:
Van
2025-11-25 19:39:39 +03:00
parent 96cf459719
commit e61ea85c9a
9 changed files with 64 additions and 49 deletions

View File

@@ -60,7 +60,8 @@ local mapGenerator = MapGen:new({
-- Liquids
water = id("liquids:water_source"),
})
}, 10
)
mapGenerator:RegisterLayer("world", -1000, 500)

View File

@@ -1,4 +1,23 @@
-- World generation runs in the mapgen environment (separate thread)
-- The Mapgen environment is isolated from the main enviroment.
core.register_mapgen_script(core.get_modpath(core.get_current_modname())..'/MapGenerator.lua')
core.register_mapgen_script(core.get_modpath(core.get_current_modname())..'/MapGenerator.lua')
core.register_ore({
ore_type = "scatter",
ore = "soils:rocky_soil_baren",
wherein = "rocks:sylite",
clust_scarcity = 8*8*8,
clust_num_ores = 8,
clust_size = 3,
y_min = -31000,
y_max = 64,
})
core.register_decoration({
deco_type = "simple",
place_on = "soils:clay_soil_baren",
sidelen = 8,
fill_ratio = 0.1,
decoration = "plants:plants",
})