Opinion Modifiers

Define and standardize Victoria 3 opinion modifiers in common/opinion_modifiers.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured guide for creating, editing, and reviewing opinion modifier definitions used by Victoria 3. It helps modders ensure consistent key naming, bilateral application, and proper integration with diplomatic actions, events, scripted effects, and on_actions.

Core Features & Use Cases

  • Defines a standard structure for opinion modifiers under common/opinion_modifiers/.
  • Clarifies how to apply bilateral values, decay, and script-value logic, with examples aligned to the game's modifiers.
  • Guides integration with callers such as diplomatic_actions, events, scripted_effects, and on_actions to ensure coherent behavior and maintainability.

Quick Start

Define a new opinion modifier by adding a descriptive key with a constant value in common/opinion_modifiers, and include a decay block only if the modifier should fade.

Frequently Asked Questions about Opinion Modifiers

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

FAQPage Schema
How do I create custom opinion modifiers in Victoria 3?

To create Victoria 3 opinion modifiers, define a descriptive key with a constant value in common/opinion_modifiers, including a decay block only if the modifier should fade over time.

How do bilateral opinion modifiers work in Victoria 3 modding?

Bilateral opinion modifiers in Victoria 3 apply mutual relationship values between countries, requiring consistent key naming and script-value logic to ensure proper integration with diplomatic actions.

How do I integrate Victoria 3 opinion modifiers with events and scripted effects?

Victoria 3 opinion modifiers integrate with events and scripted effects by calling their defined keys from common/opinion_modifiers, ensuring coherent behavior and maintainability across on_actions and diplomatic actions.

What is the best way to structure opinion modifier files for a Victoria 3 mod?

The best way to structure Victoria 3 opinion modifier files is to standardize definitions under common/opinion_modifiers, enforcing consistent naming, bilateral logic, and review practices for stable workflows.

Why are my Victoria 3 opinion modifiers not decaying properly?

Victoria 3 opinion modifiers fail to decay when the decay block is omitted or misconfigured in common/opinion_modifiers, requiring proper script-value logic to ensure the modifier fades as intended.

Do I need opinion modifiers for custom diplomatic actions in Victoria 3?

Yes, custom Victoria 3 diplomatic actions require opinion modifiers to manage bilateral relationships, ensuring consistent application and maintenance across diplomats, events, and scripted effects.