re-addd potion recipe and remove pad recipe
parent
5d1c07e195
commit
1a150b3ddb
8
init.lua
8
init.lua
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue