melterns/tinkering/nodesitems.lua

70 lines
1.5 KiB
Lua
Raw Normal View History

-- 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({
2018-04-06 12:39:50 +00:00
output = 'tinkering:blank_pattern 16',
recipe = {
{'default:stick', 'group:wood'},
{'group:wood', 'default:stick'},
},
2018-04-05 14:11:18 +00:00
})
minetest.register_craft({
2018-04-06 12:39:50 +00:00
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'},
},
2018-04-05 14:11:18 +00:00
})
minetest.register_craft({
2018-04-06 12:39:50 +00:00
output = 'tinkering:pattern_table',
recipe = {
{'tinkering:blank_pattern'},
{'group:wood'},
},
2018-04-05 14:11:18 +00:00
})
minetest.register_craft({
2018-04-06 12:39:50 +00:00
output = 'tinkering:part_builder',
recipe = {
{'tinkering:blank_pattern'},
{'group:tree'},
},
2018-04-05 14:11:18 +00:00
})
minetest.register_craft({
2018-04-06 12:39:50 +00:00
output = 'fluidity:florb',
recipe = {
{'default:glass'},
{'bucket:bucket_empty'},
},
})
minetest.register_craft({
type="shapeless",
output = 'fluidity:florb',
recipe = {'group:florb'},
})