1234567891011121314151617181920212223242526272829303132333435 |
- local path = minetest.get_modpath("mobs_animal")
- -- 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
- -- 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
- dofile(path .. "/penguin.lua") -- D00Med
- dofile(path .. "/duck.lua") -- JKmurray, Tirifto
- dofile(path .. "/lucky_block.lua")
- print (S("[MOD] Mobs Redo 'Animals' loaded"))
|