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