Skip to content

TooltipSkillNode ​

Inherits: TooltipBase < MarginContainer

Tooltip display for skill nodes showing name, description, and rewards Handles different node types: basic, ranked, and choice nodes Integrates full tooltips for complex rewards (abilities, items, effects)

Methods ​

voidset_systems_refs( system_hub: GameHost.SystemHub )
voidskill_node_tooltip_show( skill_node: SkillNode )
voidskill_node_tooltip_hide( _value: bool )
voidchoice_tooltip_show( choice_node: ChoiceSkillNode, choice_index: int )
voidchoice_tooltip_hide( _value: bool )
voidset_skill_node( node: SkillNode, _context: String = "", choice_index: int = -1 )

Method descriptions ​

void set_systems_refs( system_hub: GameHost.SystemHub ) ​

Gives the tooltip the hub of the game systems.

void skill_node_tooltip_show( skill_node: SkillNode ) ​

Shows the tooltip of a skill node.

void skill_node_tooltip_hide( _value: bool ) ​

Hides the tooltip of a skill node.

void choice_tooltip_show( choice_node: ChoiceSkillNode, choice_index: int ) ​

Shows the tooltip of one choice of a choice node.

void choice_tooltip_hide( _value: bool ) ​

Hides the tooltip of a choice.

void set_skill_node( node: SkillNode, _context: String = "", choice_index: int = -1 ) ​

Main entry point - sets up the tooltip for a given skill node If choice_index is provided (for ChoiceSkillNode), only shows that choice's rewards