TooltipEffect ​
Inherits: TooltipBase < MarginContainer
The tooltip of an effect on an entity (a buff or a debuff): its name and its description.
Methods ​
void | set_systems_refs( system_hub: GameHost.SystemHub ) |
void | set_tooltip_data( data: EffectInstance ) |
void | set_effect( data: Effect, context: String = "" ) |
String | strip_bbcode( text: String ) |
Method descriptions ​
void set_systems_refs( system_hub: GameHost.SystemHub ) ​
Gives the tooltip the hub of the game systems.
void set_tooltip_data( data: EffectInstance ) ​
Sets the effect the tooltip shows.
void set_effect( data: Effect, context: String = "" ) ​
Set effect with context support (for embedding in other tooltips)
String strip_bbcode( text: String ) ​
The text without its BBCode tags.