Added 3 lucky blocks

master
TenPlus1 2016-12-01 18:43:03 +00:00
parent 49d696eda4
commit 92b2e54a36
4 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,4 @@
default
mobs
intllib?
lucky_block?

View File

@ -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"))

10
lucky_block.lua Normal file
View File

@ -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

View File

@ -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