diff options
author | Tim <t4im@users.noreply.github.com> | 2015-01-19 00:13:20 +0100 |
---|---|---|
committer | Tim <t4im@users.noreply.github.com> | 2015-01-30 05:09:21 +0100 |
commit | 1d81e6d4d13516f3909ec66661ebc0645740b3b5 (patch) | |
tree | 2613d7af66a906f277334a8d4817e03d79735a7a | |
parent | 581afee261e8601a43cfdaaf0bbba6149c8f7545 (diff) |
register additional technic materials with the circular saw
-rw-r--r-- | extranodes/init.lua | 39 |
1 files changed, 36 insertions, 3 deletions
diff --git a/extranodes/init.lua b/extranodes/init.lua index 01d4b75..8c99d1b 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -8,16 +8,19 @@ else S = function(s) return s 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", { description=S("Marble"), - groups={cracky=2, not_in_creative_inventory=1}, + groups={cracky=3, not_in_creative_inventory=1}, tiles={"technic_marble.png"}, }) stairsplus:register_all("technic", "marble_bricks", "technic: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"}, }) @@ -33,6 +36,36 @@ stairsplus:register_all("technic", "concrete", "technic:concrete", { 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) minetest.register_alias(modname .. ":slab_" .. origname, newmod..":slab_" .. newname) minetest.register_alias(modname .. ":slab_" .. origname .. "_inverted", newmod..":slab_" .. newname .. "_inverted") |