add alternate recipe

This commit is contained in:
TenPlus1 2018-04-29 12:34:43 +01:00
parent 0530de06f0
commit aa32d91d3c
2 changed files with 9 additions and 1 deletions

View File

@ -21,6 +21,6 @@ Change log:
- 1.3 - Tweaked code to use a single abm and added intllib support - 1.3 - Tweaked code to use a single abm and added intllib support
- 1.4 - Simplified hopper placement function and added some nil checks - 1.4 - Simplified hopper placement function and added some nil checks
- 1.5 - Updating to newer functions, requires Minetest 0.4.16 and above. - 1.5 - Updating to newer functions, requires Minetest 0.4.16 and above.
- 1.6 - Added Void Hopper (use to set container output, requires teleport potion for recipe :) - 1.6 - Added Void Hopper (use to set container output before placing)
Lucky Blocks: 2 Lucky Blocks: 2

View File

@ -611,6 +611,14 @@ if minetest.get_modpath("teleport_potion") then
{"teleport_potion:potion", "default:steel_ingot", "teleport_potion:potion"}, {"teleport_potion:potion", "default:steel_ingot", "teleport_potion:potion"},
}, },
}) })
else
minetest.register_craft({
output = "hopper:hopper_void",
recipe = {
{"default:steel_ingot", "default:chest", "default:steel_ingot"},
{"default:diamondblock", "default:steel_ingot", "default:mese"},
},
})
end end