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,
|
||||
})
|
||||
|
||||
--[[ teleport potion recipe
|
||||
-- teleport potion recipe
|
||||
minetest.register_craft({
|
||||
output = "teleport_potion:potion",
|
||||
recipe = {
|
||||
|
@ -202,7 +202,7 @@ minetest.register_craft({
|
|||
{"default:diamond", "vessels:glass_bottle", "default:diamond"},
|
||||
{"", "default:diamond", ""},
|
||||
},
|
||||
})]]
|
||||
})
|
||||
|
||||
-- teleport pad
|
||||
minetest.register_node("teleport_potion:pad", {
|
||||
|
@ -311,7 +311,7 @@ teleport_potion.can_access = function(pos,player)
|
|||
return false
|
||||
end
|
||||
|
||||
-- teleport pad recipe
|
||||
--[[ teleport pad recipe
|
||||
minetest.register_craft({
|
||||
output = 'teleport_potion:pad',
|
||||
recipe = {
|
||||
|
@ -319,7 +319,7 @@ minetest.register_craft({
|
|||
{"default:glass", "default:mese", "default:glass"},
|
||||
{"teleport_potion:potion", "default:glass", "teleport_potion:potion"}
|
||||
}
|
||||
})
|
||||
})]]
|
||||
|
||||
-- check portal & pad, teleport any entities on top
|
||||
minetest.register_abm({
|
||||
|
|
Loading…
Reference in New Issue