2021-01-03 20:03:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
skeletons = {};
|
|
|
|
|
|
|
|
local modname = minetest.get_current_modname();
|
|
|
|
local modpath = minetest.get_modpath(modname);
|
|
|
|
|
2021-02-04 08:15:14 +01:00
|
|
|
skeletons.have_bones = minetest.get_modpath("bones");
|
2021-01-30 00:58:22 +01:00
|
|
|
skeletons.have_animal = minetest.get_modpath("mobs_animal");
|
|
|
|
if (not skeletons.have_animal) then
|
|
|
|
skeletons.have_animal = minetest.get_modpath("hades_animals");
|
|
|
|
end
|
|
|
|
|
2021-01-03 20:03:07 +01:00
|
|
|
dofile(modpath.."/functions.lua")
|
|
|
|
|
2021-02-04 08:15:14 +01:00
|
|
|
dofile(modpath.."/player/player_skeleton.lua")
|
|
|
|
if skeletons.have_bones then
|
|
|
|
dofile(modpath.."/player/bones.lua")
|
|
|
|
end
|
2021-02-04 17:55:51 +01:00
|
|
|
dofile(modpath.."/player/skulls.lua")
|
2021-02-04 08:15:14 +01:00
|
|
|
|
|
|
|
dofile(modpath.."/villager/villager_skeleton.lua")
|
|
|
|
|
|
|
|
dofile(modpath.."/mobs_animal/bunny_skeleton.lua")
|
|
|
|
dofile(modpath.."/mobs_animal/chicken_skeleton.lua")
|
|
|
|
dofile(modpath.."/mobs_animal/cow_skeleton.lua")
|
|
|
|
dofile(modpath.."/mobs_animal/kitten_skeleton.lua")
|
|
|
|
dofile(modpath.."/mobs_animal/panda_skeleton.lua")
|
|
|
|
dofile(modpath.."/mobs_animal/penguin_skeleton.lua")
|
|
|
|
dofile(modpath.."/mobs_animal/warthog_skeleton.lua")
|
|
|
|
dofile(modpath.."/mobs_animal/rat_skeleton.lua")
|
|
|
|
dofile(modpath.."/mobs_animal/sheep_skeleton.lua")
|
|
|
|
|
2021-05-01 18:46:29 +02:00
|
|
|
dofile(modpath.."/mob_horse/horse_skeleton.lua")
|
|
|
|
|