Skip to content
Snippets Groups Projects
Commit 01c70cd8 authored by Milan's avatar Milan
Browse files

only register packed ice when ethereal is not detected

parent 79ee8d2d
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ homedecor
doors
stairs
xpanes
ethereal?
3d_armor?
fire?
oresplus?
......@@ -413,11 +413,18 @@ register_hard_node("desertstone_tile", "Desert Stone Tile")
register_hard_node("hard_clay", "Hardened Clay")
register_hard_node("moonbrick", "Moon Brick")
register_hard_node("stone_tile", "Stone Tile")
register_hard_node("stone_rune", "Runestone")
register_hard_node("packed_ice", "Packed Ice", {
register_hard_node("stone_rune", "Runestone", {
groups = {cracky=1, puts_out_fire=1},
sounds = default.node_sound_glass_defaults()
})
if not minetest.get_modpath("ethereal") then
register_hard_node("packed_ice", "Packed Ice", {
groups = {cracky=1, puts_out_fire=1},
sounds = default.node_sound_glass_defaults()
})
elseif minetest.get_modpath("ethereal") then
minetest.register_alias("xdecor:packed_ice", "ethereal:icebrick")
end
register_hard_node("wood_tile", "Wooden Tile", {
groups = {choppy=1, wood=1, flammable=2},
sounds = default.node_sound_wood_defaults()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment