Current features:
Players can import other scenarios.
Players can define their own items.
A unique UI setup, plus low-Sanity effects.
Quick character sheet creation.
Public dice rolling, and the Keeper can quickly set a player's HP, Luck, and MP.
I. Scenario Import JSON Format
Top level
json
{
"format": "coc-scenario-v1",
"id": "my_story",
"title": "My Scenario",
"description": "A one-line summary.",
"intro": "Opening curtain text.",
"outro": "Closing curtain text.",
"sanReward": "1d10",
"acts": []
}
Field Required Description
format Recommended Fixed value coc-scenario-v1
id Yes 3–32 lowercase letters/digits/underscores, must start with a letter; must not duplicate an existing scenario
title Yes Max 80 characters
description No Max 1000 characters
intro No Opening curtain text, max 4000 characters
outro No Closing curtain text, max 4000 characters
sanReward No Dice expression, default 1d10; can be 0
acts Yes 1–24 acts
Each act (acts[])
json
{
"title": "Rainy Night",
"summary": "Keeper reference: the investigators reach the village.",
"trigger": "When the investigators enter the village",
"description": "You reach the village gate in the rain.",
"options": [],
"sideEvents": []
}
Field Required Description
title Yes Max 80 characters; do not write "Act 1" yourself—the UI numbers acts automatically
summary No Rough direction for the Keeper, max 500 characters
trigger No When this act should be shown, max 500 characters
description Yes Introduction shown on the players' curtain, max 4000 characters
options No Max 8; for Keeper reference only, not automatically sent to players
sideEvents No Max 8 side events; for Keeper reference only
Options (options[])
json
{
"text": "Inspect the church",
"skill": "spot_hidden",
"difficulty": "regular",
"success": "You find wet footprints.",
"successClue": "The postmark is from Saltmarsh, twenty years ago.",
"failure": "You only smell damp wood.",
"failureClue": ""
}
Field Required Description
text Yes Option/action description, max 300 characters
skill No Skill ID or Chinese name, e.g. spot_hidden, listen, occult; omit for no check
difficulty No regular / hard / extreme, or 常规 / 困难 / 极难; default regular
success No Success outcome
failure No Failure outcome
outcome No No-check/direct result
clue No Clue for success (or direct result when no skill); leave empty for no clue
successClue No Alias of clue, takes priority
failureClue No Failure clue; leave empty if failure yields no clue
The scenario book will display:
text
Success Clue: ...
Failure Clue: ...
Clue: ...
When there is no clue, it displays No clue.
For clue text, write only the content—do not add the Clue: prefix yourself.
Side events (sideEvents[])
json
{
"title": "Side Scene: Water in the Bell Tower",
"trigger": "When an investigator approaches the bell tower",
"description": "The water stops. You hear someone counting upstairs.",
"options": []
}
title: required
trigger: optional; state clearly how it is triggered
description: required
options: max 8, same format as above
Limits
JSON max 64KB
Max 24 acts
Max 8 options + 8 side events per act
Only text, skill, difficulty, success/failure/outcome, and clues are read
Effects, items, mob spawning, commands, or scripts will not be executed
After import, written to the server at:
config/coc/scenarios/<id>.json
config/coc/events/import_<id>_aN.json
config/coc/events/import_<id>_aN_sM.json
这是一个支持玩家COC跑团的模组,并且面向新手做出了不少优化,并且支持玩家自己制作Json文件并且分享自己的跑团模组
目前拥有
1.玩家可以导入其它剧本
2.玩家可以自行定义物品
3.独特的UI设置,以及低San特效
4.可以快速创建角色卡
5.可以投骰子(公开),并且KP可以快速设置玩家的血量,幸运,MP值
json
{
"format": "coc-scenario-v1",
"id": "my_story",
"title": "My Scenario",
"description": "A one-line summary.",
"intro": "Opening curtain text.",
"outro": "Closing curtain text.",
"sanReward": "1d10",
"acts": []
}
字段 必填 说明
format 建议 固定 coc-scenario-v1
id 是 3~32 位小写字母/数字/下划线,字母开头;不能与已有剧本重复
title 是 最多 80 字
description 否 最多 1000 字
intro 否 序幕幕布文字,最多 4000 字
outro 否 结局幕布文字,最多 4000 字
sanReward 否 骰子表达式,默认 1d10;可写 0
acts 是 1~24 幕
每一幕 acts[]
json
{
"title": "Rainy Night",
"summary": "Keeper reference: the investigators reach the village.",
"trigger": "When the investigators enter the village",
"description": "You reach the village gate in the rain.",
"options": [],
"sideEvents": []
}
字段 必填 说明
title 是 最多 80 字;不要自己写“第一幕”,界面会自动编号
summary 否 给 KP 看的大致走向,最多 500 字
trigger 否 什么时候显示这一幕,最多 500 字
description 是 玩家幕布上看到的介绍,最多 4000 字
options 否 最多 8 个,只给 KP 参考,不会自动发给玩家
sideEvents 否 最多 8 个支线,只给 KP 参考
选项 options[]
json
{
"text": "Inspect the church",
"skill": "spot_hidden",
"difficulty": "regular",
"success": "You find wet footprints.",
"successClue": "The postmark is from Saltmarsh, twenty years ago.",
"failure": "You only smell damp wood.",
"failureClue": ""
}
字段 必填 说明
text 是 选项/行动描述,最多 300 字
skill 否 技能 ID 或中文名,如 spot_hidden、listen、occult;不写表示无检定
difficulty 否 regular / hard / extreme,或 常规 / 困难 / 极难;默认 regular
success 否 成功后果
failure 否 失败后果
outcome 否 无检定/直接结果
clue 否 成功(或无技能时直接结果)的线索;留空表示没有线索
successClue 否 clue 的别名,优先使用
failureClue 否 失败线索;留空表示失败没有线索
剧情书会显示:
Success Clue: ...
Failure Clue: ...
Clue: ...
没有线索时显示 No clue
线索文字只写内容,不要自己加 Clue: 前缀。
支线 sideEvents[]
json
{
"title": "Side Scene: Water in the Bell Tower",
"trigger": "When an investigator approaches the bell tower",
"description": "The water stops. You hear someone counting upstairs.",
"options": []
}
title 必填
trigger 选填,写清怎么触发
description 必填
options 最多 8 个,格式同上
限制
JSON 最大 64KB
最多 24 幕
每幕最多 8 个选项 + 8 个支线
只读取文本、技能、难度、成功/失败/结果、线索
不会执行 effects、物品、生成生物、命令或脚本
导入后写入服务器:
config/coc/scenarios/<id>.json
config/coc/events/import_<id>_aN.json
config/coc/events/import_<id>_aN_sM.json