forked from Apancore.Studio/simple-makes-complex
Mapgen: write SuperUltraSigmaMapgen part 8
This commit is contained in:
@@ -60,7 +60,8 @@ local mapGenerator = MapGen:new({
|
||||
|
||||
-- Liquids
|
||||
water = id("liquids:water_source"),
|
||||
})
|
||||
}, 10
|
||||
)
|
||||
|
||||
mapGenerator:RegisterLayer("world", -1000, 500)
|
||||
|
||||
|
||||
@@ -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",
|
||||
})
|
||||
Reference in New Issue
Block a user