Crossfire Server, Trunk  R20513
Compound animations

Compound animations are a way to temporarily change an object's animation in reaction to events like spellcasting, fighting, etc.

The basic principle is:

Animation suffixes are stored in objects in their obj::anim_suffix 's field.

It is defined in archetypes with 'anim_suffix name'.

Existing animation events:

From a code's point of view, the main function is apply_anim_suffix(), which does the work to apply a suitable animation.