2018-04-05 09:12:23 +00:00
|
|
|
|
|
|
|
-- Common nodebox
|
|
|
|
tinkering.bench = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {
|
|
|
|
{-0.5000, 0.3125, -0.5000, 0.5000, 0.5000, 0.5000},
|
|
|
|
{-0.5000, -0.5000, -0.5000, -0.3125, 0.3125, -0.3125},
|
|
|
|
{0.3125, -0.5000, -0.5000, 0.5000, 0.3125, -0.3125},
|
|
|
|
{-0.5000, -0.5000, 0.3125, -0.3125, 0.3125, 0.5000},
|
|
|
|
{0.3125, -0.5000, 0.3125, 0.5000, 0.3125, 0.5000}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Tool Station
|
|
|
|
dofile(tinkering.modpath.."/nodes/tool_station.lua")
|
2018-04-05 12:40:35 +00:00
|
|
|
|
|
|
|
-- Part Builder
|
|
|
|
dofile(tinkering.modpath.."/nodes/part_builder.lua")
|
2018-04-05 13:12:24 +00:00
|
|
|
|
|
|
|
-- Pattern Table
|
|
|
|
dofile(tinkering.modpath.."/nodes/pattern_table.lua")
|
2018-04-05 14:11:18 +00:00
|
|
|
|
|
|
|
-- Recipes
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'tinkering:blank_pattern 16',
|
|
|
|
recipe = {
|
|
|
|
{'default:stick', 'group:wood'},
|
|
|
|
{'group:wood', 'default:stick'},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'tinkering:tool_station',
|
|
|
|
recipe = {
|
|
|
|
{'tinkering:blank_pattern', 'tinkering:blank_pattern', 'tinkering:blank_pattern'},
|
|
|
|
{'tinkering:blank_pattern', 'group:wood', 'tinkering:blank_pattern'},
|
|
|
|
{'tinkering:blank_pattern', 'tinkering:blank_pattern', 'tinkering:blank_pattern'},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'tinkering:pattern_table',
|
|
|
|
recipe = {
|
|
|
|
{'tinkering:blank_pattern'},
|
|
|
|
{'group:wood'},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'tinkering:part_builder',
|
|
|
|
recipe = {
|
|
|
|
{'tinkering:blank_pattern'},
|
|
|
|
{'group:tree'},
|
|
|
|
},
|
|
|
|
})
|