Add mobs:spawn_child

This commit is contained in:
Wuzzy 2018-05-30 12:56:39 +02:00
parent 940b3748fb
commit b2d9c119ac
4 changed files with 72 additions and 100 deletions

View file

@ -361,6 +361,16 @@ true the mob will not spawn.
'name' is the name of the animal/monster
MineClone 2 extensions
----------------------
mobs:spawn_child(pos, mob_type)
This function spawns a mob as a child. The parameter mob_type is the
entitystring of the new mob.
This function returns the mob on success and nil otherwise.
Making Arrows
-------------