MineClone2/mods/ENTITIES/mcl_mobs/init.lua

22 lines
570 B
Lua
Raw Normal View History

mcl_mobs = {}
mcl_mobs.mob_class = {}
mcl_mobs.mob_class_meta = {__index = mcl_mobs.mob_class}
2022-11-10 00:52:45 +01:00
2018-05-31 18:32:26 +02:00
local path = minetest.get_modpath(minetest.get_current_modname())
2022-11-10 00:52:45 +01:00
--api and helpers
dofile(path .. "/effects.lua")
dofile(path .. "/physics.lua")
2022-11-10 15:28:51 +01:00
dofile(path .. "/movement.lua")
2022-11-09 15:35:51 +01:00
dofile(path .. "/items.lua")
2022-11-10 00:52:45 +01:00
dofile(path .. "/pathfinding.lua")
2022-11-10 15:28:51 +01:00
dofile(path .. "/combat.lua")
dofile(path .. "/api.lua")
2018-05-31 18:32:26 +02:00
2022-11-10 00:52:45 +01:00
--utility functions
2022-11-09 04:57:48 +01:00
dofile(path .. "/breeding.lua")
dofile(path .. "/spawning.lua")
dofile(path .. "/mount.lua")
dofile(path .. "/crafts.lua")
2022-11-09 06:06:59 +01:00
dofile(path .. "/compat.lua")