2022-11-09 02:59:46 +01:00
|
|
|
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
|
2022-11-09 02:59:46 +01:00
|
|
|
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")
|
2022-02-13 21:40:12 +01:00
|
|
|
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")
|
2022-02-13 21:40:12 +01:00
|
|
|
dofile(path .. "/spawning.lua")
|
|
|
|
dofile(path .. "/mount.lua")
|
2022-11-09 02:59:46 +01:00
|
|
|
dofile(path .. "/crafts.lua")
|
2022-11-09 06:06:59 +01:00
|
|
|
dofile(path .. "/compat.lua")
|