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:
8
api.txt
8
api.txt
@ -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
|
||||
|
Reference in New Issue
Block a user