effect · custom_override_tooltip
Definition
- Supported scope:
any - Supported target:
none
Description
Executes the provided effects but with a custom tooltip surpressing all tooltips from all other effects inside this block.
The custom tooltip is a [bindable localization](script_concept_documentation.md#bindable-localization).
### Examples
custom_override_tooltip = { tooltip = MY_TOOLTIP # Simple loc key tooltip <other effects> }
custom_override_tooltip = { tooltip = { localization_key = MY_TOOLTIP # Root look key IMPORTANT_QUESTION = { # ID IMPORTANT_QUESTION in MY_TOOLTIP will get value: localization_key = MEANING_OF_LIFE # Root loc key in IMPORTANT_QUESTION ANSWER = "42" # ID ANSWER in IMPORTANT_QUESTION will get value 42 } JUST_AS_IMPORTANT = OR_NOT # ID JUST_AS_IMPORTANT in MY_TOOLTIP will get value OR_NOT } <other effects> }