Subject Types

Define and validate Victoria 3 subject type rules in common/subject_types files.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps modders define and review overlord-subject relationships in Victoria 3 by clearly documenting how subject types interact with diplomatic actions, autonomy ladders, AI behavior, and related game systems.

Core Features & Use Cases

  • Defines rules and data structures for subject_type definitions in common/subject_types/*.txt.
  • Guides integration with diplomatic actions, treaties, and war goals to ensure coherent gameplay dynamics.
  • Supports a consistent workflow for inspecting vanilla references and downstream content to avoid conflicts.

Quick Start

Create or modify a subject_type entry in common/subject_types/*.txt and define its diplomatic_action, autonomy_level, and valid ranks to establish the relation.

Frequently Asked Questions about Subject Types

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

FAQPage Schema
How do I define a custom subject type in Victoria 3?

To define a Victoria 3 subject type, create or modify an entry in common/subject_types/*.txt and specify required keys such as diplomatic_action, autonomy_level, category, and ai_value to establish the relationship rules.

What is a subject type in Victoria 3 modding?

A Victoria 3 subject type defines overlord-subject relationship rules, dictating how subject nations interact with diplomatic actions, treaties, war goals, and AI behavior within the game's autonomy ladder.

How do subject types interact with diplomatic actions and treaties in Victoria 3?

Victoria 3 subject types govern integration with diplomatic actions, treaties, and war goals by applying defined rules and data structures to ensure coherent gameplay dynamics between overlords and subjects.

Do I need YAML frontmatter to create Victoria 3 subject type files?

Yes, defining or reviewing Victoria 3 subject type files requires valid YAML frontmatter containing a name and description, alongside enforced keys like diplomatic_action and ai_value for proper validation.

How do I prevent conflicts when adding custom subject types to Victoria 3?

To avoid conflicts when adding Victoria 3 subject types, inspect vanilla references and downstream content to ensure compatibility with scripts, triggers, and localizations across your modded files.

Why is my Victoria 3 subject type not working with AI behavior?

Victoria 3 subject type AI behavior failures often stem from missing or invalid ai_value keys, or inconsistencies between the subject type definition and script triggers, requiring validation against vanilla references.