Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Illuna-Minetest
teleport_potion
Commits
1a150b3d
Commit
1a150b3d
authored
Aug 03, 2017
by
Milan
Browse files
re-addd potion recipe and remove pad recipe
parent
5d1c07e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
init.lua
View file @
1a150b3d
...
...
@@ -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
({
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment