2017-03-31 08:58:28 +02:00
|
|
|
|
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "hopper:hopper",
|
|
|
|
recipe = {
|
|
|
|
{"default:steel_ingot","default:chest","default:steel_ingot"},
|
|
|
|
{"","default:steel_ingot",""},
|
|
|
|
}
|
|
|
|
})
|
2024-08-16 22:58:59 +02:00
|
|
|
|
2017-03-31 08:58:28 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "hopper:chute",
|
|
|
|
recipe = {
|
|
|
|
{"default:steel_ingot","default:chest","default:steel_ingot"},
|
|
|
|
}
|
|
|
|
})
|
2024-08-16 22:58:59 +02:00
|
|
|
|
2017-03-31 08:58:28 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "hopper:sorter",
|
|
|
|
recipe = {
|
|
|
|
{"","default:mese_crystal",""},
|
|
|
|
{"default:steel_ingot","default:chest","default:steel_ingot"},
|
|
|
|
{"","default:steel_ingot",""},
|
|
|
|
}
|
|
|
|
})
|
2024-08-16 22:58:59 +02:00
|
|
|
|
2017-03-31 08:58:28 +02:00
|
|
|
if not hopper.config.single_craftable_item then
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "hopper:hopper_side",
|
|
|
|
recipe = {
|
|
|
|
{"default:steel_ingot","default:chest","default:steel_ingot"},
|
|
|
|
{"","","default:steel_ingot"},
|
|
|
|
}
|
|
|
|
})
|
2024-08-16 22:58:59 +02:00
|
|
|
|
2017-03-31 08:58:28 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "hopper:hopper_side",
|
|
|
|
type="shapeless",
|
|
|
|
recipe = {"hopper:hopper"},
|
|
|
|
})
|
2024-08-16 22:58:59 +02:00
|
|
|
|
2017-03-31 08:58:28 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "hopper:hopper",
|
|
|
|
type="shapeless",
|
|
|
|
recipe = {"hopper:hopper_side"},
|
|
|
|
})
|
|
|
|
end
|
|
|
|
end
|