tiger_lib

Module desc

Source
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 a complex description, which may be a simple localization key or a block containing items like triggered_desc or first_valid.
  • 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.
  • Internal function to recurse over the complex description block logic.