-local def = { -- Nodebox name, yield, definition.
- {"nanoslab", 16, {-.5,-.5,-.5,0,-.4375,0}},
- {"micropanel", 16, {-.5,-.5,-.5,.5,-.4375,0}},
- {"microslab", 8, {-.5,-.5,-.5,.5,-.4375,.5}},
- {"thinstair", 8, {{-.5,-.0625,-.5,.5,0,0},{-.5,.4375,0,.5,.5,.5}}},
- {"cube", 4, {-.5,-.5,0,0,0,.5}},
- {"panel", 4, {-.5,-.5,-.5,.5,0,0}},
- {"slab", 2, {-.5,-.5,-.5,.5,0,.5}},
- {"doublepanel", 2, {{-.5,-.5,-.5,.5,0,0},{-.5,0,0,.5,.5,.5}}},
- {"halfstair", 2, {{-.5,-.5,-.5,0,0,.5},{-.5,0,0,0,.5,.5}}},
- {"outerstair", 1, {{-.5,-.5,-.5,.5,0,.5},{-.5,0,0,0,.5,.5}}},
- {"stair", 1, {{-.5,-.5,-.5,.5,0,.5},{-.5,0,0,.5,.5,.5}}},
- {"innerstair", 1, {{-.5,-.5,-.5,.5,0,.5},{-.5,0,0,.5,.5,.5},{-.5,0,-.5,0,.5,0}}}
+-- Tools allowed to be repaired.
+worktable.repairable_tools = [[
+ pick, axe, shovel, sword, hoe, armor, shield
+]]
+
+-- Nodeboxes's combination table.
+worktable.nodebox_blender = {
+ {"nanoslab", nil, 2 },
+ {"micropanel", nil, 3 },
+ {"cube", nil, 6 },
+ {"cube", "panel", 9 },
+ {"cube", "outerstair", 11 },
+ {"cube", "halfstair", 7 },
+ {"cube", "innerstair", nil},
+ {"panel", nil, 7 },
+ {"panel", "cube", 9 },
+ {"panel", "outerstair", 12 },
+ {"halfstair", nil, 11 },
+ {"halfstair", "outerstair", nil}