init: 剧情事件协作 Web 编辑器独立仓(从 SGame/tools/event_authoring 拆出)
This commit is contained in:
67
samples/bishi_yazhu.ir.json
Normal file
67
samples/bishi_yazhu.ir.json
Normal file
@ -0,0 +1,67 @@
|
||||
{
|
||||
"id": "QY_BSYZ",
|
||||
"title": "比武押注",
|
||||
"theme": "市井江湖·赌性博弈",
|
||||
"scale": "标准奇遇",
|
||||
"roles": [
|
||||
{ "slot": "P1", "name": "路过的你", "archetype": "玩家", "camp": 1 },
|
||||
{ "slot": "NP1", "name": "擂台高手", "archetype": "市井武师", "camp": 2 },
|
||||
{ "slot": "NP2", "name": "赌坊庄家", "archetype": "市井掮客", "camp": 0 }
|
||||
],
|
||||
"stage": { "type": "市集擂台·昼", "point_set": "QY_BSYZ", "reuse_hint": "K3_A" },
|
||||
"sequences": [
|
||||
{
|
||||
"id": "seq_cheer",
|
||||
"nodes": [
|
||||
{ "id": "c1", "kind": "dialogue", "speaker": "NP2",
|
||||
"text": "好身手!满堂喝彩!" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "n1", "kind": "narration",
|
||||
"text": "市集擂台前人声鼎沸,一名精壮武师立于台上,无人敢应战。",
|
||||
"next": "n2"
|
||||
},
|
||||
{
|
||||
"id": "n2", "kind": "dialogue", "speaker": "NP2",
|
||||
"text": "押注了押注了!是亲自下场,还是押这位高手赢?",
|
||||
"next": "n3"
|
||||
},
|
||||
{
|
||||
"id": "n3", "kind": "choice",
|
||||
"options": [
|
||||
{ "text": "亲自下场会会他", "goto": "fight1" },
|
||||
{
|
||||
"text": "押这位高手赢(押注50两)",
|
||||
"skip": { "node": "end_bet_win", "reward": { "grants": [ { "kind": "银两", "value": 300 } ] } },
|
||||
"goto": "ref_cheer_b"
|
||||
},
|
||||
{ "text": "看个热闹就走", "goto": "end_leave" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fight1", "kind": "fight",
|
||||
"fight_type": 1,
|
||||
"camp1": [ "P1" ],
|
||||
"camp2": [ "NP1" ],
|
||||
"win": "ref_cheer_a",
|
||||
"lose": "end_fight_lose"
|
||||
},
|
||||
{ "id": "ref_cheer_a", "kind": "out_ref", "ref": "seq_cheer", "next": "end_fight_win" },
|
||||
{ "id": "ref_cheer_b", "kind": "out_ref", "ref": "seq_cheer", "next": "end_bet_win" }
|
||||
],
|
||||
"endings": [
|
||||
{
|
||||
"id": "end_fight_win", "summary": "技压群雄",
|
||||
"grants": [
|
||||
{ "kind": "银两", "value": 200 },
|
||||
{ "kind": "友好度", "target": "NP1", "value": 20 }
|
||||
]
|
||||
},
|
||||
{ "id": "end_fight_lose", "summary": "败下阵来", "grants": [], "result": "fail" },
|
||||
{ "id": "end_bet_win", "summary": "押对了,坐收彩头", "grants": [] },
|
||||
{ "id": "end_leave", "summary": "看罢热闹离场", "grants": [] }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user