register additional technic materials with the circular saw

This commit is contained in:
Tim 2015-01-19 00:13:20 +01:00
parent 581afee261
commit 1d81e6d4d1

@ -8,16 +8,19 @@ else
S = function(s) return s end S = function(s) return s end
end end
--register stairsplus/circular_saw nodes -- register stairsplus/circular_saw nodes
-- we skip blast resistant concrete and uranium intentionally
-- chrome seems to be too hard of a metal to be actually sawable
stairsplus:register_all("technic", "marble", "technic:marble", { stairsplus:register_all("technic", "marble", "technic:marble", {
description=S("Marble"), description=S("Marble"),
groups={cracky=2, not_in_creative_inventory=1}, groups={cracky=3, not_in_creative_inventory=1},
tiles={"technic_marble.png"}, tiles={"technic_marble.png"},
}) })
stairsplus:register_all("technic", "marble_bricks", "technic:marble_bricks", { stairsplus:register_all("technic", "marble_bricks", "technic:marble_bricks", {
description=S("Marble Bricks"), description=S("Marble Bricks"),
groups={cracky=2, not_in_creative_inventory=1}, groups={cracky=3, not_in_creative_inventory=1},
tiles={"technic_marble_bricks.png"}, tiles={"technic_marble_bricks.png"},
}) })
@ -33,6 +36,36 @@ stairsplus:register_all("technic", "concrete", "technic:concrete", {
tiles={"technic_concrete_block.png"}, tiles={"technic_concrete_block.png"},
}) })
stairsplus:register_all("technic", "zinc_block", "technic:zinc_block", {
description=S("Zinc Block"),
groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_zinc_block.png"},
})
stairsplus:register_all("technic", "cast_iron_block", "technic:cast_iron_block", {
description=S("Cast Iron Block"),
groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_cast_iron_block.png"},
})
stairsplus:register_all("technic", "carbon_steel_block", "technic:carbon_steel_block", {
description=S("Carbon Steel Block"),
groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_carbon_steel_block.png"},
})
stairsplus:register_all("technic", "stainless_steel_block", "technic:stainless_steel_block", {
description=S("Stainless Steel Block"),
groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_stainless_steel_block.png"},
})
stairsplus:register_all("technic", "brass_block", "technic:brass_block", {
description=S("Brass Block"),
groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_brass_block.png"},
})
function register_technic_stairs_alias(modname, origname, newmod, newname) function register_technic_stairs_alias(modname, origname, newmod, newname)
minetest.register_alias(modname .. ":slab_" .. origname, newmod..":slab_" .. newname) minetest.register_alias(modname .. ":slab_" .. origname, newmod..":slab_" .. newname)
minetest.register_alias(modname .. ":slab_" .. origname .. "_inverted", newmod..":slab_" .. newname .. "_inverted") minetest.register_alias(modname .. ":slab_" .. origname .. "_inverted", newmod..":slab_" .. newname .. "_inverted")