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

updated to newer 0.4.16 functions

This commit is contained in:
TenPlus1
2017-10-09 11:59:01 +01:00
parent 27fe687f8a
commit 2ffd942c2a
3 changed files with 29 additions and 21 deletions

View File

@ -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,