tippable

Vars | |
is_tipped | Whether the mob is currently tipped. |
---|---|
post_tipped_callback | Callback to additional behavior after successfully tipping the mob. |
post_untipped_callback | Callback to additional behavior after being untipped. |
pre_tipped_callback | Callback to additional behavior before being tipped (on try_tip). Return anything from this callback to cancel the tip. |
self_right_time | Time it takes for the mob to right itself. Can be 0 for instant self-righting, or null, to never self-right. |
tip_time | Time it takes to tip the mob. Can be 0, for instant tipping. |
untip_time | Time it takes to untip the mob. Can also be 0, for instant untip. |
Var Details
is_tipped

Whether the mob is currently tipped.
post_tipped_callback

Callback to additional behavior after successfully tipping the mob.
post_untipped_callback

Callback to additional behavior after being untipped.
pre_tipped_callback

Callback to additional behavior before being tipped (on try_tip). Return anything from this callback to cancel the tip.
self_right_time

Time it takes for the mob to right itself. Can be 0 for instant self-righting, or null, to never self-right.
tip_time

Time it takes to tip the mob. Can be 0, for instant tipping.
untip_time

Time it takes to untip the mob. Can also be 0, for instant untip.