melterns/tinkering/nodesitems.lua

70 lines
1.5 KiB
Lua
Raw Permalink 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 14:40:35 +02:00
-- Part Builder
dofile(tinkering.modpath.."/nodes/part_builder.lua")
2018-04-05 15:12:24 +02:00
-- Pattern Table
dofile(tinkering.modpath.."/nodes/pattern_table.lua")
2018-04-05 16:11:18 +02:00
-- Recipes
minetest.register_craft({
2018-04-06 14:39:50 +02:00
output = 'tinkering:blank_pattern 16',
recipe = {
{'default:stick', 'group:wood'},
{'group:wood', 'default:stick'},
},
2018-04-05 16:11:18 +02:00
})
minetest.register_craft({
2018-04-06 14:39:50 +02: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 16:11:18 +02:00
})
minetest.register_craft({
2018-04-06 14:39:50 +02:00
output = 'tinkering:pattern_table',
recipe = {
{'tinkering:blank_pattern'},
{'group:wood'},
},
2018-04-05 16:11:18 +02:00
})
minetest.register_craft({
2018-04-06 14:39:50 +02:00
output = 'tinkering:part_builder',
recipe = {
{'tinkering:blank_pattern'},
{'group:tree'},
},
2018-04-05 16:11:18 +02:00
})
minetest.register_craft({
2018-04-06 14:39:50 +02:00
output = 'fluidity:florb',
recipe = {
{'default:glass'},
{'bucket:bucket_empty'},
},
})
minetest.register_craft({
type="shapeless",
output = 'fluidity:florb',
recipe = {'group:florb'},
})