mirror of
https://notabug.org/TenPlus1/protector.git
synced 2025-01-07 14:17:30 +01:00
added 6x lucky blocks
This commit is contained in:
parent
d21c7bdbc9
commit
3530d06c43
@ -2,3 +2,4 @@ default
|
||||
doors?
|
||||
mobs?
|
||||
intllib?
|
||||
lucky_block?
|
9
init.lua
9
init.lua
@ -639,8 +639,11 @@ minetest.register_node("protector:display_node", {
|
||||
drop = "",
|
||||
})
|
||||
|
||||
dofile(minetest.get_modpath("protector") .. "/doors_chest.lua")
|
||||
dofile(minetest.get_modpath("protector") .. "/pvp.lua")
|
||||
dofile(minetest.get_modpath("protector") .. "/admin.lua")
|
||||
local path = minetest.get_modpath("protector")
|
||||
|
||||
dofile(path .. "/doors_chest.lua")
|
||||
dofile(path .. "/pvp.lua")
|
||||
dofile(path .. "/admin.lua")
|
||||
dofile(path .. "/lucky_block.lua")
|
||||
|
||||
print (S("[MOD] Protector Redo loaded"))
|
||||
|
14
lucky_block.lua
Normal file
14
lucky_block.lua
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
-- add lucky blocks
|
||||
|
||||
if minetest.get_modpath("lucky_block") then
|
||||
|
||||
lucky_block:add_blocks({
|
||||
{"dro", {"protector:protect"}, 3},
|
||||
{"dro", {"protector:protect2"}, 3},
|
||||
{"dro", {"protector:door_wood"}, 1},
|
||||
{"dro", {"protector:door_steel"}, 1},
|
||||
{"dro", {"protector:chest"}, 1},
|
||||
{"exp"},
|
||||
})
|
||||
end
|
Loading…
Reference in New Issue
Block a user