mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Fix indentation in mcl_mobs/api.txt
This commit is contained in:
parent
2b63866c14
commit
5dafeaadc6
@ -194,6 +194,7 @@ functions needed for the mob to work properly which contains the following:
|
||||
'punch2' animations.
|
||||
|
||||
'animation' holds a table containing animation names and settings for use with mesh models:
|
||||
{
|
||||
'stand_start'start frame for when mob stands still.
|
||||
'stand_end' end frame of stand animation.
|
||||
'stand_speed'speed of animation in frames per second.
|
||||
@ -219,6 +220,7 @@ functions needed for the mob to work properly which contains the following:
|
||||
'die_end'
|
||||
'die_speed'
|
||||
'die_loop' when set to false stops the animation looping.
|
||||
}
|
||||
|
||||
Using '_loop = false' setting will stop any of the above animations from
|
||||
looping.
|
||||
@ -237,7 +239,7 @@ functions needed for the mob to work properly which contains the following:
|
||||
'rain_damage' damage per second if mob is standing in rain (default: 0)
|
||||
'sunlight_damage' holds the damage per second inflicted to mobs when they
|
||||
are in direct sunlight
|
||||
'spawn_small_alternative': name of a smaller mob to use as replacement if
|
||||
'spawn_small_alternative' name of a smaller mob to use as replacement if
|
||||
spawning fails due to space requirements
|
||||
'glow' same as in entity definition
|
||||
'child' if true, spawn mob as child
|
||||
|
Loading…
Reference in New Issue
Block a user