Module effect

Module effect 

Source
Expand description

Validate effects, which are parts of the script that change the game state.

Enums§

Effect
This enum describes what arguments an effect takes, so that they can be validated.

Functions§

scope_effect
Look up an effect name token in the effects table. name is the token. data is used in special cases to verify the name dynamically.
validate_effect
The standard interface to effect validation. Validates an effect in the given ScopeContext.
validate_effect_control
Validate an effect that has other effects inside its block.
validate_effect_field
Validate a single effect field
validate_effect_internal
The interface to effect validation when validate_effect is too limited.