Production Method Groups

Validate Victoria 3 production method group definitions across mod files.

21|8|Updated Jun 23, 2025
One-click install
npx skills add https://github.com/mattia2110/tech-and-res --skill production-method-groups
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Production Method Groups
Source: https://github.com/mattia2110/tech-and-res/tree/main/.agents/skills/production_method_groups
Command: npx skills add https://github.com/mattia2110/tech-and-res --skill production-method-groups

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Production Method Groups (PMG) guide modders through creating, editing, and reviewing PMG definitions for Victoria 3. It ensures consistent grouping of production methods, proper attachment to buildings, and alignment with localization and AI behavior across mods and vanilla references.

Core Features & Use Cases

  • Standardizes PMG definitions in common/production_method_groups and ensures all listed production methods exist and belong to the same building family.
  • Guides patching workflows, attachment to buildings in common/buildings, and synchronization with localization files.
  • Use Case: When adding a new PMG or overriding a vanilla one, follow this guide to maintain coherent UI icons, AI behavior, and mutually exclusive choices.

Quick Start

Review and patch the PMG entries in common/production_method_groups to add, update, or validate a production method group for the target building.

Frequently Asked Questions about Production Method Groups

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

FAQPage Schema
How do I define production method groups for Victoria 3 mods?

You define production method groups by adding entries to common/production_method_groups and specifying required fields like texture, production_methods, ai_selection, and is_hidden_when_unavailable.

What are the required fields for a Victoria 3 production_method_groups definition?

A valid PMG definition requires texture, production_methods, ai_selection, and is_hidden_when_unavailable fields to manage UI icons, AI behavior, and mutually exclusive building choices.

How do I attach production method groups to buildings in Victoria 3?

Attach PMGs by patching building entries in common/buildings to reference the group, ensuring all listed production methods exist, belong to the same building family, and synchronize with localization files.

Why does my Victoria 3 mod crash when overriding vanilla production method groups?

Overriding vanilla PMGs fails when referenced production methods are missing or localization is unsynchronized. Validating grouping coherence and ensuring all referenced PMs exist across local and vanilla references resolves this.

Can I use custom production methods in vanilla production method groups for Victoria 3?

Yes, you can patch vanilla PMGs to include custom production methods by ensuring the added PMs belong to the same building family, updating localization, and verifying ai_selection settings for AI behavior.

How do I validate production method group localization in Victoria 3 modding?

Validate PMG localization by ensuring synchronization between common/production_method_groups entries and localization files, confirming that all production method names and descriptions render correctly in the UI.