mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
Update init.lua some more
This commit is contained in:
parent
394b9194d8
commit
a57ebed03a
1 changed files with 6 additions and 26 deletions
|
@ -1,19 +1,10 @@
|
||||||
minetest.register_on_mapgen_init(function(params)
|
|
||||||
minetest.set_mapgen_params({
|
|
||||||
mgname = "v7",
|
|
||||||
seed = params.seed,
|
|
||||||
water_level = 31000,
|
|
||||||
flags = "caves",
|
|
||||||
})
|
|
||||||
end)
|
|
||||||
|
|
||||||
dofile(minetest.get_modpath("mapgen").."/mapgen.lua")
|
dofile(minetest.get_modpath("mapgen").."/mapgen.lua")
|
||||||
|
|
||||||
minetest.register_alias("mapgen_water_source", "mapgen:vacuum")
|
minetest.register_alias("mapgen_water_source", "mapgen:vacuum")
|
||||||
minetest.register_alias("mapgen_lava_source", "default:lava_source")
|
minetest.register_alias("mapgen_lava_source", "default:lava_source")
|
||||||
minetest.register_alias("mapgen_stone", "default:stone")
|
minetest.register_alias("mapgen_stone", "mapgen:stone")
|
||||||
minetest.register_alias("mapgen_dirt", "mapgen:dust")
|
minetest.register_alias("mapgen_dirt", "mapgen:dust")
|
||||||
minetest.register_alias("mapgen_dirt_with_grass", "default:dirt_with_grass")
|
minetest.register_alias("mapgen_dirt_with_grass", "air")
|
||||||
|
|
||||||
minetest.register_node("mapgen:stone", {
|
minetest.register_node("mapgen:stone", {
|
||||||
description = "Moon Stone",
|
description = "Moon Stone",
|
||||||
|
@ -63,21 +54,10 @@ minetest.register_node("mapgen:dust", {
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mapgen:dustprint1", {
|
minetest.register_node("mapgen:compressed_dust", {
|
||||||
description = "Moon Dust Footprint1",
|
description = "Compressed Moon Dust",
|
||||||
tiles = {"mapgen_dustprint1.png", "mapgen_dust.png"},
|
tiles = {"mapgen_compressed_dust.png"},
|
||||||
groups = {crumbly=3, falling_node=1},
|
groups = {crumbly=3},
|
||||||
drop = "mapgen:dust",
|
|
||||||
sounds = default.node_sound_sand_defaults({
|
|
||||||
footstep = {name="default_sand_footstep", gain=0.1},
|
|
||||||
}),
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("mapgen:dustprint2", {
|
|
||||||
description = "Moon Dust Footprint2",
|
|
||||||
tiles = {"mapgen_dustprint2.png", "mapgen_dust.png"},
|
|
||||||
groups = {crumbly=3, falling_node=1},
|
|
||||||
drop = "mapgen:dust",
|
|
||||||
sounds = default.node_sound_sand_defaults({
|
sounds = default.node_sound_sand_defaults({
|
||||||
footstep = {name="default_sand_footstep", gain=0.1},
|
footstep = {name="default_sand_footstep", gain=0.1},
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Reference in a new issue