Crafter/mods/mob/init.lua

20 lines
537 B
Lua
Raw Normal View History

2020-02-17 02:56:57 -05:00
--this is where mobs are defined
2020-02-17 23:46:10 -05:00
--this is going to be used to set an active mob limit
2020-03-25 21:17:17 -04:00
global_mob_table = {}
2020-02-17 23:46:10 -05:00
local path = minetest.get_modpath(minetest.get_current_modname())
2020-02-17 09:08:13 -05:00
2020-04-02 11:05:48 -04:00
dofile(path.."/spawning.lua")
dofile(path.."/items.lua")
dofile(path.."/chatcommands.lua")
2020-04-11 20:31:36 -04:00
--these are called 'mob'init.lua so when modifying their code they do
--not get confused with each other
dofile(path.."/pig/piginit.lua")
dofile(path.."/slime/slimeinit.lua")
2020-04-22 15:38:24 -04:00
dofile(path.."/flying_pig/flying_piginit.lua")
2020-04-23 09:36:21 -04:00
dofile(path.."/exploder/exploderinit.lua")
2020-03-29 21:19:50 -04:00