diff options
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ This functions registers a new mob as a Minetest entity. 'visual' same is in minetest.register_entity() 'visual_size' same is in minetest.register_entity() 'textures' same is in minetest.register_entity() - although you can add multiple lines for random textures {{"texture1.png"},{"texture2.png"}}, + although you can add multiple lines for random textures {{"texture1.png"},{"texture2.png"}}, 'gotten_texture' alt. texture for when self.gotten value is set to true (used for shearing sheep) 'child_texture' texture of mod for when self.child is set to true 'mesh' same is in minetest.register_entity() @@ -357,7 +357,7 @@ mobs:register_mob("mob_horse:horse", { visual_size = {x = 1.20, y = 1.20}, mesh = "mobs_horse.x", collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.25, 0.4}, - animation = { + animation = { speed_normal = 15, speed_run = 30, stand_start = 25, |