Trigger Localization

Map Victoria 3 trigger keys to human-readable tooltip text.

21|8|Updated Jun 23, 2025
One-click install
npx skills add https://github.com/mattia2110/tech-and-res --skill trigger-localization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Trigger Localization
Source: https://github.com/mattia2110/tech-and-res/tree/main/.agents/skills/trigger_localization
Command: npx skills add https://github.com/mattia2110/tech-and-res --skill trigger-localization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill maps Victoria 3 trigger keys to human-readable tooltip text, enabling modders and players to understand UI prompts without deciphering raw keys.

Core Features & Use Cases

  • Defines trigger-localization mappings for common/trigger_localization with global, first, third, and none contexts, including NOT variants.
  • Supports comparator forms and any_* suffix families, aligning with vanilla references and localization keys to ensure accurate tooltips.
  • Provides workflow guidance for validating and integrating localization text with localization/english/*.yml.

Quick Start

Place trigger-localization definitions in common/trigger_localization/.txt and verify the resulting tooltips against localization/english/.yml.

Frequently Asked Questions about Trigger Localization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map Victoria 3 trigger keys to readable tooltip text?

Victoria 3 trigger keys are mapped to readable tooltip text by defining trigger-localization mappings in common/trigger_localization/*.txt, aligning keys with vanilla references and localization/english/*.yml entries.

What trigger localization contexts does Victoria 3 modding support?

Victoria 3 modding supports trigger localization across global, first, third, and none contexts, including their NOT variants, comparator forms, and any_* suffix families for comprehensive UI tooltip coverage.

How do I validate Victoria 3 trigger localization files?

Victoria 3 trigger localization files are validated by placing definitions in common/trigger_localization/*.txt and verifying the resulting tooltips against the corresponding localization/english/*.yml entries.

Does Victoria 3 trigger localization handle NOT variants and comparator forms?

Victoria 3 trigger localization handles NOT variants, comparator forms, and any_* suffix families, ensuring accurate human-readable tooltips by aligning trigger keys with vanilla and localization source references.

Why do my Victoria 3 trigger tooltips show raw keys instead of text?

Victoria 3 trigger tooltips show raw keys when trigger-localization definitions are missing or misaligned in common/trigger_localization/*.txt, requiring proper mapping to localization/english/*.yml entries.

Can I use trigger localization for all Victoria 3 UI tooltip contexts?

Trigger localization applies to all Victoria 3 UI tooltip contexts—global, first, third, and none—supporting comparator forms and any_* suffix families to generate accurate human-readable tooltip text.