1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 06:30:18 +02:00

localised functions, mobs floats on water only, damage_per_sec nodes hurt mobs

This commit is contained in:
TenPlus1
2017-05-27 21:29:46 +01:00
parent ff4dfe4b4d
commit d6ff282917
3 changed files with 50 additions and 38 deletions

View File

@ -309,6 +309,14 @@ This function allows an attached player to fly the mob around using directional
'stand_animation' string containing movement animation e.g. "stand"
mobs:set_animation(self, name)
This function sets the current animation for mob, defaulting to "stand" if not found.
'self' mob information
'name' name of animation
Certain variables need to be set before using the above functions:
'self.v2' toggle switch