init.lua 862 B

1234567891011121314151617181920212223242526272829303132333435
  1. local path = minetest.get_modpath("mobs_animal")
  2. -- Intllib
  3. local S
  4. if minetest.global_exists("intllib") then
  5. if intllib.make_gettext_pair then
  6. -- New method using gettext.
  7. S = intllib.make_gettext_pair()
  8. else
  9. -- Old method using text files.
  10. S = intllib.Getter()
  11. end
  12. else
  13. S = function(s) return s end
  14. end
  15. mobs.intllib = S
  16. -- Animals
  17. dofile(path .. "/chicken.lua") -- JKmurray
  18. dofile(path .. "/cow.lua") -- KrupnoPavel
  19. dofile(path .. "/rat.lua") -- PilzAdam
  20. dofile(path .. "/sheep.lua") -- PilzAdam
  21. dofile(path .. "/warthog.lua") -- KrupnoPavel
  22. dofile(path .. "/bee.lua") -- KrupnoPavel
  23. dofile(path .. "/bunny.lua") -- ExeterDad
  24. dofile(path .. "/kitten.lua") -- Jordach/BFD
  25. dofile(path .. "/penguin.lua") -- D00Med
  26. dofile(path .. "/duck.lua") -- JKmurray, Tirifto
  27. dofile(path .. "/lucky_block.lua")
  28. print (S("[MOD] Mobs Redo 'Animals' loaded"))