Expand description
Validator for triggered description blocks that compose a description from multiple localization keys.
Such desc blocks are accepted in many places in the game script.
The main entry point is validate_desc.
Functionsยง
- validate_
desc - Validate a complex description, which may be a simple localization key or a block containing
items like
triggered_descorfirst_valid. - validate_
desc_ map - Like
validate_desc, but allows the caller to decide what to do with the strings found in the description. This is useful for example for description blocks that resolve an icon name rather than a description. - validate_
desc_ ๐map_ block - Internal function to recurse over the complex description block logic.