init: 剧情事件协作 Web 编辑器独立仓(从 SGame/tools/event_authoring 拆出)
This commit is contained in:
75
samples/yuye_koumen.ir.json
Normal file
75
samples/yuye_koumen.ir.json
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
"id": "QY_YYKM",
|
||||
"title": "雨夜叩门",
|
||||
"theme": "正统武侠·道德抉择",
|
||||
"scale": "标准奇遇",
|
||||
"roles": [
|
||||
{ "slot": "P1", "name": "值夜弟子", "archetype": "玩家", "camp": 1 },
|
||||
{ "slot": "NP1", "name": "神秘剑客", "archetype": "负伤外门高手", "camp": 0 },
|
||||
{ "slot": "NP2", "name": "掌门", "archetype": "本门掌门", "camp": 0 }
|
||||
],
|
||||
"stage": { "type": "门派入口·夜", "reuse_hint": "K3_A" },
|
||||
"nodes": [
|
||||
{
|
||||
"id": "n1", "kind": "narration",
|
||||
"text": "暴雨倾盆,山门外的灯笼在风里摇晃。一阵急促的叩门声,盖过了雷声。",
|
||||
"next": "n2"
|
||||
},
|
||||
{
|
||||
"id": "n2", "kind": "dialogue", "speaker": "NP1", "camera": "NP1",
|
||||
"text": "在下途经贵派,身负旧伤,恳请借宿一晚,天明即走。",
|
||||
"next": "n3"
|
||||
},
|
||||
{
|
||||
"id": "n3", "kind": "dialogue", "speaker": "P1",
|
||||
"text": "(这位侠客腰间的铁牌……分明是近日劫掠商队的黑风寨样式。)",
|
||||
"next": "n4"
|
||||
},
|
||||
{
|
||||
"id": "n4", "kind": "choice",
|
||||
"options": [
|
||||
{ "text": "江湖救急,先收留他", "goto": "end_ally" },
|
||||
{ "text": "不动声色,擒下他交予掌门", "goto": "fight1" },
|
||||
{
|
||||
"text": "赠些盘缠,请他即刻离去",
|
||||
"condition": { "kind": "银两", "op": ">=", "value": 500 },
|
||||
"reward": { "grants": [ { "kind": "银两", "value": -500 } ] },
|
||||
"goto": "end_pay"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fight1", "kind": "fight",
|
||||
"fight_type": 1,
|
||||
"camp1": [ "P1" ],
|
||||
"camp2": [ "NP1" ],
|
||||
"win": "end_subdue",
|
||||
"lose": "end_lose"
|
||||
}
|
||||
],
|
||||
"endings": [
|
||||
{
|
||||
"id": "end_ally", "summary": "结义同盟",
|
||||
"grants": [
|
||||
{ "kind": "友好度", "target": "NP1", "value": 30 },
|
||||
{ "kind": "入门", "target": "NP1" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "end_pay", "summary": "破财消灾",
|
||||
"grants": [ { "kind": "友好度", "target": "NP1", "value": 10 } ]
|
||||
},
|
||||
{
|
||||
"id": "end_subdue", "summary": "擒贼献掌门",
|
||||
"grants": [
|
||||
{ "kind": "银两", "value": 200 },
|
||||
{ "kind": "道具", "item": "P6", "value": 1 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "end_lose", "summary": "技不如人",
|
||||
"grants": [],
|
||||
"result": "fail"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user