2016-04-15 06:59:43 -07:00
|
|
|
|
|
|
|
local path = minetest.get_modpath("mobs_animal")
|
|
|
|
|
2016-06-11 03:14:08 -07:00
|
|
|
-- Intllib
|
|
|
|
local S
|
2017-07-09 06:09:34 -07: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 03:14:08 -07:00
|
|
|
else
|
|
|
|
S = function(s) return s end
|
|
|
|
end
|
|
|
|
mobs.intllib = S
|
|
|
|
|
2016-04-15 06:59:43 -07:00
|
|
|
-- Animals
|
|
|
|
|
|
|
|
dofile(path .. "/chicken.lua") -- JKmurray
|
|
|
|
dofile(path .. "/cow.lua") -- KrupnoPavel
|
|
|
|
dofile(path .. "/rat.lua") -- PilzAdam
|
|
|
|
dofile(path .. "/sheep.lua") -- PilzAdam
|
|
|
|
dofile(path .. "/warthog.lua") -- KrupnoPavel
|
|
|
|
dofile(path .. "/bee.lua") -- KrupnoPavel
|
|
|
|
dofile(path .. "/bunny.lua") -- ExeterDad
|
|
|
|
dofile(path .. "/kitten.lua") -- Jordach/BFD
|
2017-01-31 06:32:05 -08:00
|
|
|
dofile(path .. "/penguin.lua") -- D00Med
|
2016-04-15 06:59:43 -07:00
|
|
|
|
2016-12-01 10:40:17 -08:00
|
|
|
dofile(path .. "/lucky_block.lua")
|
|
|
|
|
2016-06-11 03:14:08 -07:00
|
|
|
print (S("[MOD] Mobs Redo 'Animals' loaded"))
|