1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-11-14 14:50:21 +01:00
mobs_monster/init.lua

34 lines
778 B
Lua
Raw Normal View History

2016-04-15 16:00:45 +02:00
local path = minetest.get_modpath("mobs_monster")
2016-06-11 12:03:00 +02:00
-- Intllib
local S
2017-07-09 15:10:04 +02:00
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
2016-06-11 12:03:00 +02:00
else
S = function(s) return s end
end
mobs.intllib = S
2016-04-15 16:00:45 +02:00
-- 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
2016-12-01 19:39:16 +01:00
dofile(path .. "/lucky_block.lua")
2016-04-15 16:00:45 +02:00
print ("[MOD] Mobs Redo 'Monsters' loaded")