diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-04-07 22:22:01 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-04-07 22:42:01 -0400 |
commit | f13f83d9d1443ca44e858ae1a8cdbc862e87254e (patch) | |
tree | 232ee2e5816c8520761d906c7649e28ef45a2461 /node_defs.lua | |
parent | 4c198fad78428ac7695626fc39cf6db63d25c7d3 (diff) |
Added stairsplus/circular saw support
Diffstat (limited to 'node_defs.lua')
-rw-r--r-- | node_defs.lua | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/node_defs.lua b/node_defs.lua index a56795d..e383e50 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -95,6 +95,57 @@ for i in ipairs(moretrees.treelist) do } }, }) + + register_stair_slab_panel_micro( + "moretrees", + treename.."_trunk", + "moretrees:"..treename.."_trunk", + { snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1 }, + { "moretrees_"..treename.."_trunk_top.png", + "moretrees_"..treename.."_trunk_top.png", + "moretrees_"..treename.."_trunk.png" + }, + treedesc.." Trunk", + treename.."_trunk", + "facedir", + 0 + ) + + register_stair_slab_panel_micro( + "moretrees", + treename.."_trunk_sideways", + "moretrees:"..treename.."_trunk_sideways", + { snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1 }, + { "moretrees_"..treename.."_trunk.png^[transformR90", + "moretrees_"..treename.."_trunk.png^[transformR90", + "moretrees_"..treename.."_trunk_top.png", + "moretrees_"..treename.."_trunk_top.png", + "moretrees_"..treename.."_trunk.png^[transformR90", + "moretrees_"..treename.."_trunk.png^[transformR90" + }, + "Sideways "..treedesc.." Trunk", + treename.."_trunk_sideways", + "facedir", + 0 + ) + + + register_stair_slab_panel_micro( + "moretrees", + treename.."_planks", + "moretrees:"..treename.."_planks", + { snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1 }, + { "moretrees_"..treename.."_wood.png" }, + treedesc.." Planks", + treename.."_planks", + "facedir", + 0 + ) + + table.insert(circular_saw.known_stairs, "moretrees:"..treename.."_trunk") + table.insert(circular_saw.known_stairs, "moretrees:"..treename.."_trunk_sideways") + table.insert(circular_saw.known_stairs, "moretrees:"..treename.."_planks") + end if (fruit ~= nil) then |