28 lines
513 B
Lua
28 lines
513 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 .. "/tusken_raider.lua")
|
|
|
|
dofile(path .. "/stormtrooper+variants.lua")
|
|
|
|
dofile(path .. "/lucky_block.lua")
|
|
|
|
print ("[MOD] Mobs Redo Monsters loaded")
|