diff --git a/depends.txt b/depends.txt index a3172c8..58b4e62 100644 --- a/depends.txt +++ b/depends.txt @@ -1,3 +1,4 @@ default mobs intllib? +lucky_block? diff --git a/init.lua b/init.lua index 341a6a2..09e7b3d 100644 --- a/init.lua +++ b/init.lua @@ -28,4 +28,6 @@ dofile(path .. "/npc.lua") -- TenPlus1 dofile(path .. "/trader.lua") dofile(path .. "/igor.lua") +dofile(path .. "/lucky_block.lua") + print (S("[MOD] Mobs Redo 'NPCs' loaded")) diff --git a/lucky_block.lua b/lucky_block.lua new file mode 100644 index 0000000..0e38e92 --- /dev/null +++ b/lucky_block.lua @@ -0,0 +1,10 @@ + +if minetest.get_modpath("lucky_block") then + + lucky_block:add_blocks({ + {"spw", "mobs:npc", 1, true, true}, + {"spw", "mobs:trader", 1, false, false}, + {"lig"}, + }) + +end diff --git a/readme.md b/readme.md index 98bdf2a..447fb35 100644 --- a/readme.md +++ b/readme.md @@ -9,3 +9,5 @@ NPC Trader - Traders are new and still being tested but can be placed into the world using a spawn egg. Right-clicking on a trader opens his shop and allows you to buy his wares inside. If provoked a trader will attack a player or monster. + +Lucky Blocks: 3