diff --git a/README.md b/README.md index dc253c1..b3352db 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,6 @@ Change log: - 0.3 - Added Teleport Pad - 0.2 - Bug fixes - 0.1 - Added SFX -- 0.0 - Initial release \ No newline at end of file +- 0.0 - Initial release + +Lucky Blocks: 4 diff --git a/depends.txt b/depends.txt index 423a0bb..f29bcbf 100644 --- a/depends.txt +++ b/depends.txt @@ -1,3 +1,4 @@ default vessels intllib? +lucky_block? \ No newline at end of file diff --git a/init.lua b/init.lua index 2165602..6481341 100755 --- a/init.lua +++ b/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")