europa_moon/mapgen.lua

77 lines
1.8 KiB
Lua
Raw Normal View History

2019-06-22 21:45:53 +02:00
--minetest.clear_registered_ores()
minetest.clear_registered_biomes()
minetest.clear_registered_decorations()
minetest.override_item("default:mossycobble", {tiles = {"default_ice.png"}})
minetest.register_biome({
name = "ice_crust",
node_dust = "default:gravel",
node_top = "default:ice",
depth_top = 1,
node_filler = "default:ice",
depth_filler = 3,
node_stone = "default:ice",
node_water_top = "air",
depth_water_top =1 ,
node_water = "air",
node_river_water = "air",
y_min = -1033,
y_max = 200,
heat_point = 0,
humidity_point = 10,
})
minetest.register_biome({
name = "europa_ocean",
--node_dust = "default:gravel",
node_top = "default:water_source",
depth_top = 1,
node_filler = "default:water_source",
depth_filler = 3,
node_stone = "default:water_source",
node_water_top = "default:water_source",
depth_water_top =1 ,
node_water = "default:water_source",
node_river_water = "default:water_source",
y_min = -3616,
y_max = -1034,
heat_point = 0,
humidity_point = 0,
})
minetest.register_biome({
name = "rocky_mantle",
--node_dust = "default:gravel",
node_top = "default:stone",
depth_top = 1,
node_filler = "default:stone",
depth_filler = 3,
node_stone = "default:stone",
node_water_top = "air",
depth_water_top =1 ,
node_water = "air",
node_river_water = "air",
y_min = -22216,
y_max = -3616,
heat_point = 50,
humidity_point = 0,
})
minetest.register_biome({
name = "iron_core",
--node_dust = "default:gravel",
node_top = "default:steelblock",
depth_top = 1,
node_filler = "default:steelblock",
depth_filler = 3,
node_stone = "default:steelblock",
node_water_top = "air",
depth_water_top =1 ,
node_water = "air",
node_river_water = "air",
y_min = -31000,
y_max = -22217,
heat_point = 100,
humidity_point = 0,
})