Scripted Modifiers
CommunityReusable scripted modifiers for Victoria 3.
Authormattia2110
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Scripted modifiers provide a way to store conditional numeric logic that can be evaluated by a consumer, allowing reuse across multiple files instead of duplicating logic in separate modifiers or effects.
Core Features & Use Cases
- Reusable conditional blocks: define small, focused logic blocks that are evaluated by a consumer rather than applying a persistent modifier by themselves.
- Clear boundaries between scripting and static data: helps distinguish when to use scripted_modifiers versus static_modifiers or modifier_type_definitions.
- Workflow guidance: outlines steps to inspect the consuming field, compare references, and inline logic when appropriate.
Quick Start
Create a small, reusable scripted modifier in common/scripted_modifiers/ that matches the consuming field's allowed payload and reference it from the target consumer file.
Dependency Matrix
Required Modules
None requiredComponents
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 Modifiers Download link: https://github.com/mattia2110/tech-and-res/archive/main.zip#scripted-modifiers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.