Scripted Buttons
CommunityDefine reusable UI actions for Victoria 3.
Authormattia2110
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Scripted Buttons standardize and simplify the creation of journal-entry-facing buttons in Victoria 3 mods, reducing duplication and ensuring consistent UX across files.
Core Features & Use Cases
- Reusable button definitions: Declare name, description, visibility, and cooldowns in a single place.
- UI integration with JEs: Attach buttons to journal entries and trigger scripted effects or events.
- Lifecycle control: Manage visibility, availability, and AI usage to prevent spam and ensure correct gating.
- Use Case: When modding Victoria 3, define a button to open a JE and apply a modifier only if certain conditions are met.
Quick Start
Create a new scripted button in common/scripted_buttons following the example pattern, including the frontmatter with name and description and attaching it to a journal entry through scripted_button.
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 Buttons Download link: https://github.com/mattia2110/tech-and-res/archive/main.zip#scripted-buttons 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.