re-addd potion recipe and remove pad recipe

master
Milan* 2017-08-03 11:23:16 +02:00
parent 5d1c07e195
commit 1a150b3ddb
1 changed files with 4 additions and 4 deletions

View File

@ -194,7 +194,7 @@ minetest.register_node("teleport_potion:potion", {
end, end,
}) })
--[[ teleport potion recipe -- teleport potion recipe
minetest.register_craft({ minetest.register_craft({
output = "teleport_potion:potion", output = "teleport_potion:potion",
recipe = { recipe = {
@ -202,7 +202,7 @@ minetest.register_craft({
{"default:diamond", "vessels:glass_bottle", "default:diamond"}, {"default:diamond", "vessels:glass_bottle", "default:diamond"},
{"", "default:diamond", ""}, {"", "default:diamond", ""},
}, },
})]] })
-- teleport pad -- teleport pad
minetest.register_node("teleport_potion:pad", { minetest.register_node("teleport_potion:pad", {
@ -311,7 +311,7 @@ teleport_potion.can_access = function(pos,player)
return false return false
end end
-- teleport pad recipe --[[ teleport pad recipe
minetest.register_craft({ minetest.register_craft({
output = 'teleport_potion:pad', output = 'teleport_potion:pad',
recipe = { recipe = {
@ -319,7 +319,7 @@ minetest.register_craft({
{"default:glass", "default:mese", "default:glass"}, {"default:glass", "default:mese", "default:glass"},
{"teleport_potion:potion", "default:glass", "teleport_potion:potion"} {"teleport_potion:potion", "default:glass", "teleport_potion:potion"}
} }
}) })]]
-- check portal & pad, teleport any entities on top -- check portal & pad, teleport any entities on top
minetest.register_abm({ minetest.register_abm({