Commit 1a150b3d authored by Milan's avatar Milan
Browse files

re-addd potion recipe and remove pad recipe

parent 5d1c07e1
...@@ -194,7 +194,7 @@ minetest.register_node("teleport_potion:potion", { ...@@ -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({ ...@@ -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) ...@@ -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({ ...@@ -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({
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment