forked from mtcontrib/moretrees
put wood planks stairs/slabs/micros/panels into separate groups (wood_xxxxx=1)
did the same for tree trunks (tree_xxxxx=1)
This commit is contained in:
parent
c277590fc2
commit
1c5dd852f4
@ -86,11 +86,11 @@ for i in ipairs(moretrees.treelist) do
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
register_stair_slab_panel_micro(
|
register_stair(
|
||||||
"moretrees",
|
"moretrees",
|
||||||
treename.."_trunk",
|
treename.."_trunk",
|
||||||
"moretrees:"..treename.."_trunk",
|
"moretrees:"..treename.."_trunk",
|
||||||
{ snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1 },
|
{ snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1, tree_stair=1 },
|
||||||
{ "moretrees_"..treename.."_trunk_top.png",
|
{ "moretrees_"..treename.."_trunk_top.png",
|
||||||
"moretrees_"..treename.."_trunk_top.png",
|
"moretrees_"..treename.."_trunk_top.png",
|
||||||
"moretrees_"..treename.."_trunk.png"
|
"moretrees_"..treename.."_trunk.png"
|
||||||
@ -100,17 +100,93 @@ for i in ipairs(moretrees.treelist) do
|
|||||||
0
|
0
|
||||||
)
|
)
|
||||||
|
|
||||||
register_stair_slab_panel_micro(
|
register_slab(
|
||||||
|
"moretrees",
|
||||||
|
treename.."_trunk",
|
||||||
|
"moretrees:"..treename.."_trunk",
|
||||||
|
{ snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1, tree_slab=1 },
|
||||||
|
{ "moretrees_"..treename.."_trunk_top.png",
|
||||||
|
"moretrees_"..treename.."_trunk_top.png",
|
||||||
|
"moretrees_"..treename.."_trunk.png"
|
||||||
|
},
|
||||||
|
treedesc.." Trunk",
|
||||||
|
treename.."_trunk",
|
||||||
|
0
|
||||||
|
)
|
||||||
|
|
||||||
|
register_panel(
|
||||||
|
"moretrees",
|
||||||
|
treename.."_trunk",
|
||||||
|
"moretrees:"..treename.."_trunk",
|
||||||
|
{ snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1, tree_panel=1 },
|
||||||
|
{ "moretrees_"..treename.."_trunk_top.png",
|
||||||
|
"moretrees_"..treename.."_trunk_top.png",
|
||||||
|
"moretrees_"..treename.."_trunk.png"
|
||||||
|
},
|
||||||
|
treedesc.." Trunk",
|
||||||
|
treename.."_trunk",
|
||||||
|
0
|
||||||
|
)
|
||||||
|
|
||||||
|
register_micro(
|
||||||
|
"moretrees",
|
||||||
|
treename.."_trunk",
|
||||||
|
"moretrees:"..treename.."_trunk",
|
||||||
|
{ snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1, tree_micro=1 },
|
||||||
|
{ "moretrees_"..treename.."_trunk_top.png",
|
||||||
|
"moretrees_"..treename.."_trunk_top.png",
|
||||||
|
"moretrees_"..treename.."_trunk.png"
|
||||||
|
},
|
||||||
|
treedesc.." Trunk",
|
||||||
|
treename.."_trunk",
|
||||||
|
0
|
||||||
|
)
|
||||||
|
|
||||||
|
register_stair(
|
||||||
"moretrees",
|
"moretrees",
|
||||||
treename.."_planks",
|
treename.."_planks",
|
||||||
"moretrees:"..treename.."_planks",
|
"moretrees:"..treename.."_planks",
|
||||||
{ snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1 },
|
{ snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1, wood_stair=1 },
|
||||||
{ "moretrees_"..treename.."_wood.png" },
|
{ "moretrees_"..treename.."_wood.png" },
|
||||||
treedesc.." Planks",
|
treedesc.." Planks",
|
||||||
treename.."_planks",
|
treename.."_planks",
|
||||||
0
|
0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
register_slab(
|
||||||
|
"moretrees",
|
||||||
|
treename.."_planks",
|
||||||
|
"moretrees:"..treename.."_planks",
|
||||||
|
{ snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1, wood_slab=1 },
|
||||||
|
{ "moretrees_"..treename.."_wood.png" },
|
||||||
|
treedesc.." Planks",
|
||||||
|
treename.."_planks",
|
||||||
|
0
|
||||||
|
)
|
||||||
|
|
||||||
|
register_panel(
|
||||||
|
"moretrees",
|
||||||
|
treename.."_planks",
|
||||||
|
"moretrees:"..treename.."_planks",
|
||||||
|
{ snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1, wood_panel=1 },
|
||||||
|
{ "moretrees_"..treename.."_wood.png" },
|
||||||
|
treedesc.." Planks",
|
||||||
|
treename.."_planks",
|
||||||
|
0
|
||||||
|
)
|
||||||
|
|
||||||
|
register_micro(
|
||||||
|
"moretrees",
|
||||||
|
treename.."_planks",
|
||||||
|
"moretrees:"..treename.."_planks",
|
||||||
|
{ snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1, wood_micro=1 },
|
||||||
|
{ "moretrees_"..treename.."_wood.png" },
|
||||||
|
treedesc.." Planks",
|
||||||
|
treename.."_planks",
|
||||||
|
0
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
table.insert(circular_saw.known_stairs, "moretrees:"..treename.."_trunk")
|
table.insert(circular_saw.known_stairs, "moretrees:"..treename.."_trunk")
|
||||||
table.insert(circular_saw.known_stairs, "moretrees:"..treename.."_planks")
|
table.insert(circular_saw.known_stairs, "moretrees:"..treename.."_planks")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user