Game Rules

Organize Victoria 3 game rule definitions in common/game_rules with localization and flags.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guide to define, edit, and review Victoria 3 game rules used in common/game_rules, ensuring proper keys, defaults, and interactions with vanilla rules, localization, and scripted content.

Core Features & Use Cases

  • Define and manage modded game rules in common/game_rules.
  • Follow workflow to add new rules, extend existing ones, or override vanilla content, with proper localization and flags.
  • Validate has_game_rule usage and ensure correct production method flags and script interactions.

Quick Start

Inspect nearby mod and vanilla rules, pick a stable default, and add only the necessary flags while updating localization.

Frequently Asked Questions about Game Rules

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

FAQPage Schema
How do I define Victoria 3 game rules in common/game_rules?

To define Victoria 3 game rules, you add structured definitions within the common/game_rules directory, ensuring correct keys, stable defaults, and proper interactions with script content. This organizes modded campaign setup rules.

What is the workflow for adding new modded game rules to Victoria 3?

The workflow for adding Victoria 3 game rules involves inspecting nearby mod and vanilla rules, picking a stable default, and adding only necessary flags. You must update localization files to ensure rule names display correctly.

Can I override vanilla Victoria 3 game rules using a mod?

Yes, you can override vanilla Victoria 3 game rules by extending or replacing existing definitions in your mod's common/game_rules folder. Ensure you validate has_game_rule usage and maintain correct production method flags.

Why does my Victoria 3 modded game rule lack proper text in the campaign setup?

Victoria 3 modded game rules lack proper text when localization keys are missing or mismatched. You must update localization files alongside rule definitions to ensure campaign setup displays the correct names and descriptions.

Do I need specific flags when creating Victoria 3 game rules?

You need specific vanilla flags when creating Victoria 3 game rules to ensure correct script interactions and production method behaviors. Add only the necessary flags to maintain structure correctness and avoid unexpected campaign setup issues.

What are the limitations when editing Victoria 3 common/game_rules files?

When editing Victoria 3 common/game_rules files, limitations include ensuring structure correctness with valid settings and stable defaults. Failing to validate has_game_rule usage or missing localization can break script interactions and campaign setup.