summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-05-27 21:29:46 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-05-27 21:29:46 +0100
commitd6ff2829178418fda28a2060da378b4e09be88ac (patch)
tree1e9ba8bda7147ec2369fa752a91ca9f2566f3c74 /api.txt
parentff4dfe4b4dbd5f5e58f0bfdd0d2cd34bfe9d144f (diff)
localised functions, mobs floats on water only, damage_per_sec nodes hurt mobs
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/api.txt b/api.txt
index 43d0db7..dd56748 100644
--- a/api.txt
+++ b/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