mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-15 15:00:45 +01:00
granite, marble and marble bricks compat with underch mod
This commit is contained in:
parent
43acec2900
commit
7feaf92e81
|
@ -46,6 +46,16 @@ minetest.register_node( ":technic:mineral_sulfur", {
|
|||
drop = "technic:sulfur_lump",
|
||||
})
|
||||
|
||||
if minetest.get_modpath("underch") then
|
||||
|
||||
minetest.register_alias("technic:granite", "underch:granite")
|
||||
|
||||
minetest.register_alias("technic:marble", "underch:marble")
|
||||
|
||||
minetest.register_alias("technic:marble_bricks", "underch:marble_brick")
|
||||
|
||||
else
|
||||
|
||||
minetest.register_node( ":technic:granite", {
|
||||
description = S("Granite"),
|
||||
tiles = { "technic_granite.png" },
|
||||
|
@ -70,6 +80,8 @@ minetest.register_node( ":technic:marble_bricks", {
|
|||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
minetest.register_node(":technic:uranium_block", {
|
||||
description = S("Uranium Block"),
|
||||
tiles = { "technic_uranium_block.png" },
|
||||
|
|
|
@ -189,6 +189,7 @@ minetest.register_on_generated(function(minp, maxp)
|
|||
vm:write_to_map(data)
|
||||
end)
|
||||
|
||||
if not minetest.get_modpath("underch") then
|
||||
|
||||
if technic.config:get_bool("enable_marble_generation") then
|
||||
minetest.register_ore({
|
||||
|
@ -225,3 +226,5 @@ if technic.config:get_bool("enable_granite_generation") then
|
|||
}
|
||||
})
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user