Module validate

Module validate 

Source
Expand description

Validation functions that are useful for more than one data module.

Enums§

ListType

Functions§

precheck_iterator_fields
Check some iterator fields before the list scope has opened.
validate_ai_chance
validate_camera_color
Camera colors must be hsv, and value can be > 1
validate_color
validate_compare_duration
validate_duration
validate_identifier
validate_ifelse_sequence
validate_inside_iterator
This checks the special fields for certain iterators, like type = in every_relation. It doesn’t check the generic ones like limit or the ordering ones for ordered_*.
validate_iterator_fields
This checks the fields that are only used in iterators. It does not check “limit” because that is shared with the if/else blocks. Returns true iff the iterator took care of its own tooltips
validate_mandatory_duration
validate_modifiers
validate_modifiers_with_base
validate_numeric_range
validate_optional_duration
validate_optional_duration_int
validate_possibly_named_color
validate_scope_chain
Validate the left-hand part of a target = { target_scope } block.
validate_scripted_modifier_call
validate_scripted_modifier_calls