39 lines
992 B
Lua
39 lines
992 B
Lua
|
|
||
|
local path = minetest.get_modpath("mobs_monster")
|
||
|
|
||
|
-- Intllib
|
||
|
local S
|
||
|
if minetest.global_exists("intllib") then
|
||
|
if intllib.make_gettext_pair then
|
||
|
-- New method using gettext.
|
||
|
S = intllib.make_gettext_pair()
|
||
|
else
|
||
|
-- Old method using text files.
|
||
|
S = intllib.Getter()
|
||
|
end
|
||
|
else
|
||
|
S = function(s) return s end
|
||
|
end
|
||
|
mobs.intllib = S
|
||
|
|
||
|
-- Monsters
|
||
|
|
||
|
dofile(path .. "/dirt_monster.lua") -- PilzAdam
|
||
|
dofile(path .. "/dungeon_master.lua")
|
||
|
dofile(path .. "/oerkki.lua")
|
||
|
dofile(path .. "/sand_monster.lua")
|
||
|
dofile(path .. "/stone_monster.lua")
|
||
|
-- dofile(path .. "/tree_monster.lua")
|
||
|
dofile(path .. "/lava_flan.lua") -- Zeg9
|
||
|
dofile(path .. "/mese_monster.lua")
|
||
|
dofile(path .. "/spider.lua") -- AspireMint
|
||
|
dofile(path .. "/tree_monster_acacia.lua")
|
||
|
dofile(path .. "/tree_monster_aspen.lua")
|
||
|
dofile(path .. "/tree_monster_apple.lua")
|
||
|
dofile(path .. "/tree_monster_jungle.lua")
|
||
|
dofile(path .. "/tree_monster_pine.lua")
|
||
|
|
||
|
dofile(path .. "/lucky_block.lua")
|
||
|
|
||
|
print ("[MOD] Mobs Redo 'Monsters' loaded")
|