Scripted Rules

Community

Guide to crafting Victoria 3 scripted rules.

Authormattia2110
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide helps modders and developers define and review Victoria 3 scripted rule entries to ensure engine hook keys are accurate, consistent, and used as intended.

Core Features & Use Cases

  • Define exact engine-hook keys such as treaty, war, and power bloc checks
  • Provide explicit consumer-key guidance that specific mods or subsystems rely on
  • Validate scope contracts and cross-reference with vanilla references and reusable helpers

Quick Start

Create or update a scripted_rules entry in common/scripted_rules/*.txt following the scope contracts and engine-hook patterns described above.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Scripted Rules
Download link: https://github.com/mattia2110/tech-and-res/archive/main.zip#scripted-rules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.