]> git.lizzy.rs Git - Crafter.git/blob - mods/mob/init.lua
Fix mob double death
[Crafter.git] / mods / mob / init.lua
1 --this is where mobs are defined
2
3 --this is going to be used to set an active mob limit
4 global_mob_table = {}
5
6
7 local path = minetest.get_modpath(minetest.get_current_modname())
8
9 dofile(path.."/spawning.lua")
10 dofile(path.."/items.lua")
11 dofile(path.."/chatcommands.lua")
12 --these are called 'mob'init.lua so when modifying their code they do
13 --not get confused with each other
14 dofile(path.."/pig/piginit.lua")
15 dofile(path.."/slime/slimeinit.lua")
16
17