From f4cc72a44b2cb1828eec0d273b53cdf2949cb9ec Mon Sep 17 00:00:00 2001 From: IzakyL <60599315+IzakyL@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:55:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=BB=A7=E7=BB=AD#7904=E7=9A=84?= =?UTF-8?q?=E9=87=8D=E6=9E=84=20(#9409)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../roguelike/Sami/encounter_for_deposit.json | 596 ++++++++++++++---- 1 file changed, 466 insertions(+), 130 deletions(-) diff --git a/resource/roguelike/Sami/encounter_for_deposit.json b/resource/roguelike/Sami/encounter_for_deposit.json index f70b89018e..222d5e139b 100644 --- a/resource/roguelike/Sami/encounter_for_deposit.json +++ b/resource/roguelike/Sami/encounter_for_deposit.json @@ -15,13 +15,18 @@ "name": "随到随取", "option_num": 2, "choose": 1, - "choice_require": [ + "choices": [ { "name": "使用热像仪", - "Vision": { - "value": "3", - "type": ">" - } + "option_num": 2, + "choose": 2, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "3" + } + ] } ] }, @@ -30,20 +35,30 @@ "option_num": 2, "choose": 2, "note": "拥有【安玛的爱】时出现第三选项", - "choice_require": [ + "choices": [ { "name": "检查多色测光望远镜的目镜", - "Vision": { - "value": "4", - "type": ">" - } + "option_num": 2, + "choose": 2, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "4" + } + ] }, { "name": "不紧不慢地打开一听罐头汤", - "Relic": { - "value": "安玛的爱", - "type": "have" - } + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "Relic", + "type": "have", + "value": "安玛的爱" + } + ] } ] }, @@ -70,29 +85,57 @@ "name": "黑色足迹", "option_num": 2, "choose": 2, - "choice_require": [ + "note": "抗干扰指数为0或遭遇过【负伤的主树】事件时出现第三选项", + "choices": [ { "name": "逃离", - "LivePoint": { - "value": "3", - "type": ">" - } + "option_num": 2, + "choose": 2, + "requirements": [ + { + "name": "LivePoint", + "type": ">", + "value": "3" + } + ] + }, + { + "name": "解释情况", + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "Vision", + "type": "=", + "value": "0" + } + ] + }, + { + "name": "解释情况", + "option_num": 4, + "choose": 4, + "requirements": [] } - ], - "note": "抗干扰指数为0或遭遇过【负伤的主树】事件时出现第三选项" + ] }, { "name": "不冻河", "option_num": 2, "choose": 2, "note": "拥有【安玛的爱】时出现第三选项", - "choice_require": [ + "choices": [ { "name": "寻找工具", - "Relic": { - "value": "安玛的爱", - "type": "have" - } + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "Relic", + "type": "have", + "value": "安玛的爱" + } + ] } ] }, @@ -100,17 +143,35 @@ "name": "野外生存专家", "option_num": 3, "choose": 3, - "choice_require": [ + "choices": [ + { + "name": "意思意思", + "option_num": 3, + "choose": 1, + "requirements": [ + { + "name": "OriginiumIngot", + "type": ">", + "value": "2" + } + ] + }, { "name": "重金酬谢", - "OriginiumIngot": { - "value": "4", - "type": ">" - }, - "Vision": { - "value": "2", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "OriginiumIngot", + "type": ">", + "value": "4" + }, + { + "name": "Vision", + "type": ">", + "value": "2" + } + ] } ] }, @@ -118,13 +179,18 @@ "name": "在地公共信号放大站756号", "option_num": 3, "choose": 3, - "choice_require": [ + "choices": [ { "name": "提供位置,呼叫增援", - "Vision": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "3" + } + ] } ] }, @@ -136,8 +202,27 @@ { "name": "在地公共移动站N6号", "option_num": 2, - "choose": 2, - "note": "也可能只有一个" + "note": "拥有【安玛的爱】时出现第二选项,遭遇过【特里蒙旅行社特派团】事件且选择【拿走广告】时出现第三选项", + "choices": [ + { + "name": "“敲一敲”都能解决", + "option_num": 2, + "choose": 2, + "requirements": [ + { + "name": "Relic", + "type": "have", + "value": "安玛的爱" + } + ] + }, + { + "name": "寻找工具", + "option_num": 3, + "choose": 3, + "requirements": [] + } + ] }, { "name": "度假胜地", @@ -153,13 +238,18 @@ "name": "不见群山", "option_num": 4, "choose": 4, - "choice_require": [ + "choices": [ { "name": "选择她弃在手边的塔罗牌", - "Vision": { - "value": "3", - "type": ">" - } + "option_num": 4, + "choose": 3, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "3" + } + ] } ] }, @@ -167,13 +257,18 @@ "name": "远见所向", "option_num": 4, "choose": 4, - "choice_require": [ + "choices": [ { "name": "我们或许能协作互助", - "Vision": { - "value": "4", - "type": ">" - } + "option_num": 4, + "choose": 3, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "4" + } + ] } ] }, @@ -233,13 +328,18 @@ "name": "邪恶计划鸭", "option_num": 2, "choose": 2, - "choice_require": [ + "choices": [ { "name": "你在做什么?", - "LivePoint": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "LivePoint", + "type": ">", + "value": "3" + } + ] } ] }, @@ -273,13 +373,18 @@ "name": "北风女巫", "option_num": 3, "choose": 3, - "choice_require": [ + "choices": [ { "name": "乖乖照做", - "Vision": { - "value": "5", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "5" + } + ] } ] }, @@ -292,13 +397,18 @@ "name": "猜疑链", "option_num": 3, "choose": 3, - "choice_require": [ + "choices": [ { "name": "勘察情况并维持秩序", - "Vision": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "3" + } + ] } ] }, @@ -306,13 +416,18 @@ "name": "走过萨米的臂膀", "option_num": 2, "choose": 1, - "choice_require": [ + "choices": [ { "name": "戴上头盔", - "Relic": { - "value": "树痕之盔", - "type": "have" - } + "option_num": 2, + "choose": 2, + "requirements": [ + { + "name": "Relic", + "type": "have", + "value": "树痕之盔" + } + ] } ] }, @@ -326,24 +441,82 @@ "option_num": 2, "choose": 1 }, + { + "name": "重构", + "option_num": 2, + "choose": 1, + "choices": [ + { + "name": "过载使用探测仪器", + "option_num": 2, + "choose": 2, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "3" + } + ] + }, + { + "name": "依靠安玛的遗赠", + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "Relic", + "type": "have", + "value": "树痕之盔" + } + ] + } + ] + }, + { + "name": "探索者的一小步", + "option_num": 1, + "choose": 1 + }, { "name": "鲍勃杂货店", "option_num": 3, "choose": 1, - "choice_require": [ + "choices": [ { "name": "选择他脚边的货品", - "Vision": { - "value": "1", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "1" + } + ] }, { "name": "选择仓库深处的货品", - "Vision": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "3" + } + ] + }, + { + "name": "选择仓库深处的货品", + "option_num": 4, + "choose": 4, + "requirements": [ + { + "name": "Relic", + "type": "have", + "value": "四叶草化石" + } + ] } ] }, @@ -428,48 +601,114 @@ "name": "低地市集", "option_num": 3, "choose": 3, - "choice_require": [ + "choices": [ { "name": "选择碎草药", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] }, { "name": "选择好看的织物", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] }, { "name": "选择湿膏药", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] }, { "name": "选择好看的木刻", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] }, { "name": "选择纯霜露", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] }, { "name": "选择琥珀核", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] + }, + { + "name": "帮助拿着密文版的萨米人", + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "Foldartal", + "type": "not have", + "value": "伤痕 && 空无" + } + ] + }, + { + "name": "循着嚎叫声走去", + "option_num": 4, + "choose": 4, + "requirements": [ + { + "name": "Vision", + "type": "=", + "value": "5 || 6" + } + ] + }, + { + "name": "循着号角声走去", + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "6" + } + ] } ] }, @@ -477,20 +716,66 @@ "name": "雪与木的笆篱", "option_num": 3, "choose": 3, - "choice_require": [ + "choices": [ { "name": "“活力”", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] }, { "name": "“金钱”", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] + }, + { + "name": "“树痕”", + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "Foldartal", + "type": "not have", + "value": "伤痕 && 空无" + } + ] + }, + { + "name": "“战斗”", + "option_num": 4, + "choose": 4, + "requirements": [ + { + "name": "Vision", + "type": "=", + "value": "5 || 6" + } + ] + }, + { + "name": "“护卫”", + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "6" + } + ] } ] }, @@ -498,20 +783,66 @@ "name": "安玛塔卢", "option_num": 3, "choose": 3, - "choice_require": [ + "choices": [ { "name": "寻求希望", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] }, { "name": "寻求护佑", - "ChaosLevel": { - "value": "3", - "type": ">" - } + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "ChaosLevel", + "type": ">", + "value": "3" + } + ] + }, + { + "name": "寻求“树痕”的踪迹", + "option_num": 3, + "choose": 2, + "requirements": [ + { + "name": "Foldartal", + "type": "not have", + "value": "伤痕 && 空无" + } + ] + }, + { + "name": "护卫林地", + "option_num": 4, + "choose": 4, + "requirements": [ + { + "name": "Vision", + "type": "=", + "value": "5 || 6" + } + ] + }, + { + "name": "坚守林地", + "option_num": 3, + "choose": 3, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "6" + } + ] } ] }, @@ -524,15 +855,20 @@ "name": "前行的林地", "option_num": 2, "choose": 1, - "choice_require": [ + "choices": [ { "name": "树上就不能走吗?", - "Vision": { - "value": "0", - "type": ">" - } + "option_num": 2, + "choose": 1, + "requirements": [ + { + "name": "Vision", + "type": ">", + "value": "0" + } + ] } ] } ] -} \ No newline at end of file +}