Crafter/mods/hopper/crafts.lua
2020-03-24 19:54:19 -04:00

46 lines
853 B
Lua

minetest.register_craft({
output = "hopper:hopper",
recipe = {
{"main:iron","utility:chest","main:iron"},
{"","main:iron",""},
}
})
minetest.register_craft({
output = "hopper:chute",
recipe = {
{"main:iron","utility:chest","main:iron"},
}
})
minetest.register_craft({
output = "hopper:sorter",
recipe = {
{"","main:gold",""},
{"main:iron","utility:chest","main:iron"},
{"","main:iron",""},
}
})
if not hopper.config.single_craftable_item then
minetest.register_craft({
output = "hopper:hopper_side",
recipe = {
{"main:iron","utility:chest","main:iron"},
{"","","main:iron"},
}
})
minetest.register_craft({
output = "hopper:hopper_side",
type="shapeless",
recipe = {"hopper:hopper"},
})
minetest.register_craft({
output = "hopper:hopper",
type="shapeless",
recipe = {"hopper:hopper_side"},
})
end