mirror of
https://codeberg.org/tenplus1/teleport_potion.git
synced 2025-03-15 06:01:24 +00:00
added 4x lucky blocks
This commit is contained in:
parent
b50b700e61
commit
2a7a728eb7
3 changed files with 18 additions and 1 deletions
|
@ -15,4 +15,6 @@ Change log:
|
|||
- 0.3 - Added Teleport Pad
|
||||
- 0.2 - Bug fixes
|
||||
- 0.1 - Added SFX
|
||||
- 0.0 - Initial release
|
||||
- 0.0 - Initial release
|
||||
|
||||
Lucky Blocks: 4
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
default
|
||||
vessels
|
||||
intllib?
|
||||
lucky_block?
|
14
init.lua
14
init.lua
|
@ -455,3 +455,17 @@ function throw_potion(itemstack, player)
|
|||
obj:get_luaentity().player = player
|
||||
|
||||
end
|
||||
|
||||
-- add lucky blocks
|
||||
|
||||
-- Teleport Potion mod
|
||||
if minetest.get_modpath("lucky_block") then
|
||||
lucky_block:add_blocks({
|
||||
{"dro", {"teleport_potion:potion"}, 2},
|
||||
{"tel"},
|
||||
{"dro", {"teleport_potion:pad"}, 1},
|
||||
{"lig"},
|
||||
})
|
||||
end
|
||||
|
||||
print ("[MOD] Teleport Potion loaded")
|
||||
|
|
Loading…
Add table
Reference in a new issue