1
0
mirror of https://github.com/luanti-org/minetest_game.git synced 2025-10-29 23:05:19 +01:00

Defaults on registration, ID for comparison

This commit is contained in:
Lars Mueller
2020-10-11 14:01:29 +02:00
parent cc57126bce
commit 78d358c6d7
2 changed files with 20 additions and 21 deletions

View File

@@ -476,7 +476,7 @@ The player API can register player models and update the player's appearance.
animation_speed = 30, -- Default animation speed, in keyframes per second
textures = {"character.png"}, -- Default array of textures
animations = {
-- [anim_name] = {x = <start_frame>, y = <end_frame>, collisionbox = default collisionbox, eye_height = default eye height},
-- [anim_name] = {x = <start_frame>, y = <end_frame>, collisionbox = model collisionbox, eye_height = model eye height},
stand = ..., lay = ..., walk = ..., mine = ..., walk_mine = ..., -- required animations
sit = ... -- used by boats and other MTG mods
},