用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/nikolaj-lat/World-Puppeteer --skill narrative-events命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | narrative-events |
| description | Schema and rules for creating narrative events |
| context | fork |
| agent | narrative-events |
Edit tabs/narrative-events.json.
Narrative events are cinematic, multi-turn scripted sequences — an ambush, a ritual, a dramatic confrontation — that the narrator plays out beat by beat. While an event is active, its beats steer story generation and NPC behavior until the event completes or the player disengages.
| Field | Requirement |
|---|---|
title | Display name of the event |
beats | The scripted beats/outline the narrator plays out, in order |
| Field | When to Include |
|---|---|
targetTurns | When the event should resolve within a set pace. Recommended 2-4. Without it, the event has no forced turn cap |
onCompleteEffects | When completing the event should change game state — reveal quest objectives, set next steps, grant resources, or start follow-up content. Same effect objects as triggers |
Omit these fields (engine-managed at runtime):
id (derived from the record key)status (starts inactive; engine moves it through active/stopped/completed)turnsActive (engine counter, starts 0)completedTick (set on completion)startingLocation (captured when the event starts)There is exactly one start mechanism: a trigger with a narrative-event-start effect.
{
"triggers": {
"ambush_springs": {
"conditions": [
{ "type": "party-location", "operator": "equals", "value": "Blackwood Pass" }
],
"effects": [
{ "type": "narrative-event-start", "eventId": "bandit-ambush" }
]
}
}
}
Only ONE event can be active at a time — a narrative-event-start effect that fires while another event is active is silently ignored.
With targetTurns: N, the narrator is told to aim to complete within N active turns and to make steady progress each turn. Hard safety valve: the event is force-completed after 2×N active turns. Without targetTurns there is no forced cap.
The AI judges each turn:
completed, a "Narrative Event Completed" status update is shown, and onCompleteEffects are appliedstopped, no effects run, no status updatenarrative-event-start effect become true again with no other event activerecurring trigger; restarting resets the turn countnarrative-event-status conditionsnarrative-event-completed with the event's eventId (see the quests skill)narrative-event-status condition (inactive | active | stopped | completed)interface NarrativeEventDefinition {
title: string
beats: string
targetTurns?: number
onCompleteEffects?: Effect[]
}
For detailed documentation, see narrative-events-reference.md.