A spell can be defined as a state-machine itself, describing a series of states an entity can have and triggered by casting the spell.Designing a new spell is equivalent to designing a new state-machine and associated game mechanic.By standardizing and making state-machines interoperable, spells can be effectively standardized.World-builders can incorporate new spells and game mechanics designed by individuals, with a focus on testing and integrating popular ones.