Crossfire Server, Branch 1.12  R12190
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.

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.