War Goal Types

Define and validate Victoria 3 war goal types in common/war_goal_types files.

21|8|Updated Jun 23, 2025
One-click install
npx skills add https://github.com/mattia2110/tech-and-res --skill war-goal-types
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: War Goal Types
Source: https://github.com/mattia2110/tech-and-res/tree/main/.agents/skills/war_goal_types
Command: npx skills add https://github.com/mattia2110/tech-and-res --skill war-goal-types

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps modders define and validate custom war-goal types for Victoria 3, ensuring consistency with vanilla structures and proper cross-reference to plays, actions, and treaty articles.

Core Features & Use Cases

  • Guides creation, editing, or review of war_goal_types in common/war_goal_types/*.txt
  • Ensures compatibility with related content such as common/diplomatic_plays, common/diplomatic_actions, common/treaty_articles, and AI strategies
  • Provides workflow and risk awareness for changes to war-goal definitions and their enforcement

Quick Start

Create or modify a war_goal_type file in common/war_goal_types/*.txt following the vanilla schema

Frequently Asked Questions about War Goal Types

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

FAQPage Schema
How do I define custom war goals for Victoria 3 mods?

To define custom Victoria 3 war goals, create or modify text files in the common/war_goal_types directory following the vanilla schema. This ensures your mod's war goals are structurally consistent and properly validated.

What Victoria 3 files need cross-referencing when creating war goal types?

Creating war goal types requires cross-referencing common/diplomatic_plays, common/diplomatic_actions, common/treaty_articles, and AI strategies. This ensures compatibility and proper enforcement of your custom definitions with vanilla structures.

How does war goal validation work with Victoria 3 treaty articles?

War goal validation checks your custom definitions against vanilla treaty articles and diplomatic plays to ensure compatibility. This process prevents structural mismatches when editing common/war_goal_types text files.

Can I use this to validate Victoria 3 AI strategy compatibility with custom war goals?

Yes, validating custom war goal types includes checking compatibility with AI strategies and diplomatic actions. This ensures the AI properly understands and enforces your modded war goals during gameplay.

What are the limitations when modifying Victoria 3 war goal types?

Changes to war goal definitions carry risks to diplomatic plays and treaty articles if not properly validated. Mod authors must ensure any modifications in common/war_goal_types adhere strictly to vanilla schemas to avoid enforcement issues.

Do I need a specific folder structure to validate Victoria 3 war goals?

You need a SKILL.md file with YAML frontmatter containing name and description, a root body for instructions, and optional scripts, references, or assets directories to validate Victoria 3 war goals.