diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-05-14 12:17:09 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-05-14 12:17:09 +0300 |
commit | 2668515ecc704bbc9d2416f634c6c0dcabddf38a (patch) | |
tree | 6f4d4d32cd36ad4da9e4b2505dc193a7ccb05f8c | |
parent | fdab1a0b04bcde6950af8393da089d12d68ba082 (diff) |
fancy shapes from trunks
-rw-r--r-- | init.lua | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -165,6 +165,13 @@ if stairs and stairs.mod and stairs.mod == "redo" then "Maple Wood Stair", "Maple Wood Slab", default.node_sound_wood_defaults()) + + stairs.register_all("maple_tree", "maple:maple_tree", + {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3}, + {"maple_tree_top.png", "maple_tree_top.png", "maple_tree.png"}, + "Maple Trunk Stair", + "Maple Trunk Slab", + default.node_sound_wood_defaults()) elseif minetest.global_exists("stairsplus") then @@ -175,14 +182,28 @@ elseif minetest.global_exists("stairsplus") then sounds = default.node_sound_wood_defaults(), }) + stairsplus:register_all("maple", "maple_tree", "maple:maple_tree", { + description = "Maple Trunk", + tiles = {"maple_tree_top.png", "maple_tree_top.png", "maple_tree.png"}, + groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3}, + sounds = default.node_sound_wood_defaults(), + }) + else stairs.register_stair_and_slab("maple_wood", "maple:maple_wood", {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3}, {"maple_wood.png"}, - "Maple stair", + "Maple Stair", "Maple Slab", default.node_sound_wood_defaults()) + + stairs.register_stair_and_slab("maple_tree", "maple:maple_tree", + {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3}, + {"maple_tree_top.png", "maple_tree_top.png", "maple_tree.png"}, + "Maple Trunk Stair", + "Maple Trunk Slab", + default.node_sound_wood_defaults()) end |