Functions used to manage triggers. Used both by spells and by the sorcery scripts.
Original version Copyright 2002 by the Source Mage Team
Set of functions used by the internal sorcery scripts
Checks for a TRIGGERS file in SCRIPT_DIRECTORY, and if it is executable, runs it.
Remove's all of a spell's triggers from the list of registered triggers.
SPELL if $2 is omitted
y/n
Query and warnings
Triggers an event and performs necessary actions. Argument 2 is optional. If omitted, the value of SPELL will be used.
Get the triggerees of a given spell event and action
Get the run_script triggers from $spell on $target when theres a $action
Registers a trigger in the list of triggers. Also verifies that the trigger and action exist.
API
Used by spells to make adding triggerse nice.
API
Used by spells to make adding triggerse nice.
API
Used by spells to make adding triggers nice.
API
Used by spells to make adding triggerse nice.