Logo di Rpgmaker Events

Rpgmaker Events

Community
nightquill
rpgmaker-events

Use this skill when reading, writing, or editing event command lists in an RPG Maker MV or MZ project. Triggers: editing event command lists, creating NPC behaviors, working with switches/variables/self-switches, scaffolding event patterns (chest, shop, inn, door, cutscene, wanderer), or when the user mentions events, triggers, map events, common events, switches, or variables in an RPG Maker context. Provides: full event command code table, six parameterized event pattern templates, switch/variable tracking scripts, and cross-project event reference search.

Panoramica

Pubblicato danightquill
Repositoryrpgmaker-agent-skills
Nome della skillrpgmaker-events
Stelle
30
Fork
3
File inclusi
3
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da nightquill su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Rpgmaker Events in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-events
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nightquill/rpgmaker-agent-skills.git /tmp/rpgmaker-agent-skills
mkdir -p .claude/skills
cp -r /tmp/rpgmaker-agent-skills/skills/rpgmaker-events .claude/skills/rpgmaker-events
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Rpgmaker Events in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Rpgmaker Events non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Rpgmaker Events non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

RPG Maker MV/MZ Events Skill

This skill covers reading, writing, and editing event command lists in RPG Maker MV and MZ projects. It teaches agents how events are structured in the project files, which command codes to use for common behaviors, and how to use switches, variables, and self-switches to gate event state.

All event patterns generated by this skill are drafts for developer review — never authoritative final content.


When to Use This Skill

Load this skill when:

  • Editing the list array inside a CommonEvent or Map event page
  • Creating NPC behaviors (wandering, dialog gating, shops, inns)
  • Setting or checking switch, variable, or self-switch state
  • Scaffolding a standard event pattern (chest, shop, inn, door, cutscene, wanderer)
  • Expanding or debugging a conditional branch (code 111) structure
  • The user mentions events, map events, common events, triggers, switches, or variables in an RPG Maker context

Critical Safety Rules

These rules prevent silent data corruption. Apply them before writing any event command JSON.

  1. Code-0 terminator is mandatory. Every event command list must end with {"code": 0, "indent": 0, "parameters": []}. RPG Maker stops processing at code 0. Its absence causes undefined behavior without error messages.

  2. Never renumber event IDs. Events in both CommonEvents.json and MapXXX.json have id fields that match their array index (MV) or object key (MZ). Changing either silently breaks every cross-file reference.

  3. Indent must match nesting. The indent field is purely positional — RPG Maker uses it to determine block membership. Getting it wrong corrupts the event's logical structure and may crash the game.

  4. Self-switch params are strings, not integers. Code 123 (Control Self Switch) takes "A", "B", "C", or "D" for params[0]. Using integers (0, 1, 2, 3) silently fails at runtime.

  5. Use 412 to close a conditional branch, not 413. Code 412 is End of Conditional Branch. Code 413 is Repeat Above (loop end — closes code 112). Using 413 to close a 111 corrupts event flow without error.

  6. Do not modify note field content. Note fields are opaque strings used by plugins. Parse or alter them and plugin behavior breaks silently.


Event Command Code Overview

Every event command has exactly three fields: code, indent, parameters.

RangeCategoryKey Codes
100sDialog, flow control, switch/variable control, inventory101, 111, 121, 122, 123, 125, 126
200sMap movement, screen effects, audio201, 205, 221, 222, 230, 241, 250
300sBattle, actor modification, shop301, 302, 311, 355, 356, 357
500sMove route sub-commands (inside code 205 route objects)1-4, 9, 10, 11
600sBattle branch markers, shop goods601, 602, 603, 604, 605

For the full code table with parameter details, see ../shared/references/event-command-codes.md.

The Most Commonly Needed Codes

CodeNameQuick Use
101Show Text (header)Opens dialog window, sets face portrait
401Show Text (line)One line of dialog
102Show ChoicesBranching player choice
111Conditional BranchIf/else on switch, variable, self-switch, etc.
121Control SwitchesSet a switch ON or OFF
122Control VariablesSet a variable to a value
123Control Self SwitchSet self-switch A/B/C/D on current event
126Change ItemsAdd or remove items from inventory
201Transfer PlayerMove player to a different map/position
205Set Movement RouteMake a character move
302Shop ProcessingOpen shop menu

Common Event Patterns

Six standard patterns cover most map event interactions. Each has required parameters; scaffold_event.py generates the full command list JSON.

PatternDescriptionCLI Example
chestOne-time item pickup; uses self-switch A to mark openedpython scripts/scaffold_event.py --project <path> --pattern chest --item-id 3
shopOpens the shop menu with configurable goodspython scripts/scaffold_event.py --project <path> --pattern shop --shop-items "0,3" --shop-items "1,5"
innChoice-gated rest for gold; heals HP/MPpython scripts/scaffold_event.py --project <path> --pattern inn --cost 50
doorConditional door: open if self-switch A, else locked; transfers playerpython scripts/scaffold_event.py --project <path> --pattern door --map-id 2 --x 5 --y 10
cutsceneSwitch-gated dialog sequence; clears switch when donepython scripts/scaffold_event.py --project <path> --pattern cutscene --switch-id 1
wandererNPC with random movement routepython scripts/scaffold_event.py --project <path> --pattern wanderer

Full JSON for each pattern with parameter tables and notes: references/event-patterns.md


Switches, Variables, and Self-Switches

TypeScopePersistenceMax CountStorage
SwitchGlobal (whole project)Saved to savefileLimited by System.json arraySystem.json["switches"]
VariableGlobal (whole project)Saved to savefileLimited by System.json arraySystem.json["variables"]
Self-SwitchPer-event (A/B/C/D only)Saved per event instanceAlways 4 per eventGame save data (not JSON)

Quick usage:

  • Set switch: code 121 — [startId, endId, 0=ON/1=OFF]
  • Check switch: code 111 with params[0]=0 — [0, switchId, 0=ON/1=OFF]
  • Set variable: code 122 — [startId, endId, operation, operandType, value]
  • Set self-switch: code 123 — ["A"|"B"|"C"|"D", 0=ON/1=OFF] (string params!)
  • Check self-switch: code 111 with params[0]=2 — [2, "A"|"B"|"C"|"D", 0=ON/1=OFF]

Full guide with page condition fields and script usage: references/switch-and-variable.md


MV vs MZ Differences

Most event code structure is identical between MV and MZ (~90% compatible). The key differences:

FeatureMVMZ
Plugin command code356 — single string "PluginName cmd arg1"357 — array ["Plugin", "Cmd", "", {args}]
Map events fieldArray (null at index 0)Object keyed by string ID
pluginCommands fieldNot presentAdded to event command structure

scaffold_event.py calls project_detect.detect_version() to automatically select code 356 (MV) or 357 (MZ) for plugin commands.


Helper Scripts

These scripts live in scripts/. Run from the repository root with PYTHONPATH=..

ScriptUsagePurpose
scaffold_event.py--project <path> --pattern <name> [pattern flags]Print a scaffolded event command list JSON to stdout
list_switches.py--project <path>List all switch references across the project as a markdown table
find_event_refs.py--project <path> --switch-id N | --var-id N | --self-switch A|B|C|DFind all references to a specific switch, variable, or self-switch

All scripts are read-only output — no file modifications, no dry-run flag needed.

Quick Usage

bash
# Scaffold a chest event (item ID 3, quantity 1)
PYTHONPATH=. python scripts/scaffold_event.py \
  --project fixtures/example-mv-project \
  --pattern chest --item-id 3

# List all switch references in the project
PYTHONPATH=. python scripts/list_switches.py \
  --project fixtures/example-mv-project

# Find all references to switch ID 1
PYTHONPATH=. python scripts/find_event_refs.py \
  --project fixtures/example-mv-project --switch-id 1

# Find all references to self-switch A
PYTHONPATH=. python scripts/find_event_refs.py \
  --project fixtures/example-mv-project --self-switch A

Navigation

DocumentContents
references/event-patterns.mdSix parameterized event pattern templates with full JSON and CLI examples
references/switch-and-variable.mdSwitch vs variable vs self-switch usage guide with command code cross-reference
references/map-event-structure.mdMap event page structure, conditions object, trigger types
../shared/references/event-command-codes.mdFull event command code table (100s–600s) with parameter details
../rpgmaker-core/SKILL.mdProject structure, safety rules, MV/MZ detection

All event patterns generated by this skill are drafts for developer review. The developer makes the final structural and gameplay decisions.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Rpgmaker Events?

Use this skill when reading, writing, or editing event command lists in an RPG Maker MV or MZ project. Triggers: editing event command lists, creating NPC behaviors, working with switches/variables/self-switches, scaffolding event patterns (chest, shop, inn, door, cutscene, wanderer), or when the user mentions events, triggers, map events, common events, switches, or variables in an RPG Maker context. Provides: full event command code table, six parameterized event pattern templates, switch/variable tracking scripts, and cross-project event reference search.

Perché usare Rpgmaker Events su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Rpgmaker Events è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Rpgmaker Events in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-events. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Rpgmaker Events?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Rpgmaker Events?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Rpgmaker Events: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Rpgmaker Events è gratuita?

Sì. È pubblicata su GitHub da nightquill con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇