Work Table : allow cutting new Aspen wood/tree in minetest_game

This commit is contained in:
kilbith 2016-01-15 13:41:10 +01:00
parent a9f7433965
commit d6f3f955ee

View File

@ -2,18 +2,28 @@ local worktable = {}
screwdriver = screwdriver or {} screwdriver = screwdriver or {}
local nodes = { -- Nodes allowed to be cut. Mod name = {node name}. local nodes = { -- Nodes allowed to be cut. Mod name = {node name}.
["default"] = {"wood", "junglewood", "pine_wood", "acacia_wood", ["default"] = {
"tree", "jungletree", "pine_tree", "acacia_tree", "wood", "tree", "cobble", "desert_stone",
"cobble", "mossycobble", "desert_cobble", "junglewood", "jungletree", "mossycobble", "stonebrick",
"stone", "sandstone", "desert_stone", "obsidian", "pine_wood", "pine_tree", "desert_cobble", "sandstonebrick",
"stonebrick", "sandstonebrick", "desert_stonebrick", "obsidianbrick", "acacia_wood", "acacia_tree", "stone", "desert_stonebrick",
"coalblock", "copperblock", "steelblock", "goldblock", "aspen_wood", "aspen_tree", "sandstone", "obsidianbrick",
"bronzeblock", "mese", "diamondblock",
"brick", "cactus", "ice", "meselamp", "glass", "obsidian_glass"},
["xdecor"] = {"coalstone_tile", "desertstone_tile", "stone_rune", "stone_tile", "coalblock", "mese", "obsidian",
"cactusbrick", "hard_clay", "packed_ice", "moonbrick", "copperblock", "brick", "obsidian_glass",
"woodframed_glass", "wood_tile"}, "steelblock", "cactus",
"goldblock", "ice",
"bronzeblock", "meselamp",
"diamondblock", "glass",
},
["xdecor"] = {
"coalstone_tile", "hard_clay",
"desertstone_tile", "packed_ice",
"stone_rune", "moonbrick",
"stone_tile", "woodframed_glass",
"cactusbrick", "wood_tile",
},
} }
local def = { -- Nodebox name, yield, definition. local def = { -- Nodebox name, yield, definition.