diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_1.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_1.ink.json new file mode 100644 index 00000000..ba89682d --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_1.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与杂货店老板的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^杂货店老板:好饿啊,有没有人可以送点吃的来。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^好好好,请赶紧送一碗[","ev",{"VAR?":"food_name"},"out","/ev","^]过来。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^现在没时间吗,啊?","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^杂货店老板:我的[","ev",{"VAR?":"food_name"},"out","/ev","^]送来了吗?","\n",["ev",{"^->":"in_progress.0.33.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.^.c-0","flg":19},{"s":["^在这里。",{"->":"$r","var":true},null]}],["ev",{"^->":"in_progress.0.34.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没做好。",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"in_progress.0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.33.s"},[{"#n":"$r2"}],"\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.34.s"},[{"#n":"$r2"}],"\n","^杂货店老板:还没做好吗,要饿死了。","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^杂货店老板:谢谢了,这是你的报酬。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^杂货店老板:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_1","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:tonkotsu_ramen","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:tun_gu_la_mian","/str",{"VAR=":"required_item_op2"},"str","^豚骨拉面","/str",{"VAR=":"food_name"},8,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_10.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_10.ink.json new file mode 100644 index 00000000..383c4997 --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_10.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与面具摊老板的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^面具摊老板:果然说到祭典还是要吃[","ev",{"VAR?":"food_name"},"out","/ev","^]。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^面具摊老板:那好,快帮我送一个来。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^面具摊老板:等收摊了自己去买好了。","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^面具摊老板:我的[","ev",{"VAR?":"food_name"},"out","/ev","^]带来了吗?","\n",["ev",{"^->":"in_progress.0.33.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.^.c-0","flg":19},{"s":["^带来了。",{"->":"$r","var":true},null]}],["ev",{"^->":"in_progress.0.34.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没有。",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"in_progress.0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.33.s"},[{"#n":"$r2"}],"\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.34.s"},[{"#n":"$r2"}],"\n","^面具摊老板:还没吗,搞快点。","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^面具摊老板:谢谢,收下这些吧。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^面具摊老板:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_10","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:unzan_cotton_candy","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:yun_shan_miao_hua_tang","/str",{"VAR=":"required_item_op2"},"str","^云山棉花糖","/str",{"VAR=":"food_name"},4,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_2.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_2.ink.json new file mode 100644 index 00000000..e3f77f27 --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_2.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与花店老板的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^花店老板:一直都在看店,都还没吃饭呢,吃点啥好呢。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^花店老板:好吧,今天就来一份[","ev",{"VAR?":"food_name"},"out","/ev","^]吧。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^花店老板:啊,好饿。","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^花店老板:我的[","ev",{"VAR?":"food_name"},"out","/ev","^]送到了吗?","\n","ev","str","^送上食物","/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.c-0","flg":21},["ev",{"^->":"in_progress.0.42.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没做好。",{"->":"$r","var":true},null]}],{"c-0":["\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.6"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.6"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.42.s"},[{"#n":"$r2"}],"\n","^还没做好吗,要饿死了。","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^花店老板:谢谢,这是费用。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^花店老板:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_2","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:vegetable_salad","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:shu_cai_zhuan_ji","/str",{"VAR=":"required_item_op2"},"str","^蔬菜专辑","/str",{"VAR=":"food_name"},6,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_3.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_3.ink.json new file mode 100644 index 00000000..6e59fd0e --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_3.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与便利店店员的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^便利店店员:好饿啊,要是能吃到一串[","ev",{"VAR?":"food_name"},"out","/ev","^]就好了。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^便利店店员:啊,真的可以吗?非常感谢。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^便利店店员:果然还是不行吗?","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^便利店店员:[","ev",{"VAR?":"food_name"},"out","/ev","^],我的[","ev",{"VAR?":"food_name"},"out","/ev","^]……","\n",["ev",{"^->":"in_progress.0.38.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.^.c-0","flg":19},{"s":["^在这里。",{"->":"$r","var":true},null]}],["ev",{"^->":"in_progress.0.39.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没做好。",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"in_progress.0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.38.s"},[{"#n":"$r2"}],"\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.39.s"},[{"#n":"$r2"}],"\n","^便利店店员:啊,还没做好吗。","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^便利店店员:非常感谢,收下报酬吧。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^便利店店员:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_3","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:energy_skewer","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:neng_liang_chuan","/str",{"VAR=":"required_item_op2"},"str","^能量串","/str",{"VAR=":"food_name"},7,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_4.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_4.ink.json new file mode 100644 index 00000000..f3798e45 --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_4.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与猫咖顾客的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^猫咖顾客:有点想点个外卖,但是还要注意材料,有点难办啊。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^猫咖顾客:这样吧,帮我做一份[","ev",{"VAR?":"food_name"},"out","/ev","^]吧。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^猫咖顾客:不行吗?","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^猫咖顾客:[","ev",{"VAR?":"food_name"},"out","/ev","^]做好了吗?","\n",["ev",{"^->":"in_progress.0.33.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.^.c-0","flg":19},{"s":["^做好了。",{"->":"$r","var":true},null]}],["ev",{"^->":"in_progress.0.34.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没做好。",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"in_progress.0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.33.s"},[{"#n":"$r2"}],"\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.34.s"},[{"#n":"$r2"}],"\n","^还没做好吗,那我再等等。","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^猫咖顾客:非常感谢,这是你的报酬。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^猫咖顾客:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_4","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:dew_runny_eggs","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:lu_shui_zhu_dan","/str",{"VAR=":"required_item_op2"},"str","^露水煮蛋","/str",{"VAR=":"food_name"},6,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_5.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_5.ink.json new file mode 100644 index 00000000..bbc6e053 --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_5.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与茶馆客人的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^茶馆客人:有点饿,想吃个[","ev",{"VAR?":"food_name"},"out","/ev","^]。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^茶馆客人:好的,请尽快带一个[","ev",{"VAR?":"food_name"},"out","/ev","^]来,记得是夜雀食堂风格的。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^茶馆客人:那我先再来一局?","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^茶馆客人:好饿,我的[","ev",{"VAR?":"food_name"},"out","/ev","^]做好了吗?","\n",["ev",{"^->":"in_progress.0.33.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.^.c-0","flg":19},{"s":["^做好了。",{"->":"$r","var":true},null]}],["ev",{"^->":"in_progress.0.34.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没做好。",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"in_progress.0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.33.s"},[{"#n":"$r2"}],"\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.34.s"},[{"#n":"$r2"}],"\n","^茶馆客人:还没做好吗,那先再来一局好了。","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^茶馆客人:非常感谢,这是报酬。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^茶馆客人:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_5","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:rice_ball","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:fan_tuan","/str",{"VAR=":"required_item_op2"},"str","^饭团","/str",{"VAR=":"food_name"},3,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_6.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_6.ink.json new file mode 100644 index 00000000..47e527df --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_6.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与面包店老板的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^面包店老板:到饭点了吗?点个外卖吧。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^面包店老板:好,今天就吃[","ev",{"VAR?":"food_name"},"out","/ev","^]吧。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^面包店老板:现在单子太多了吗?","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^面包店老板:我的[","ev",{"VAR?":"food_name"},"out","/ev","^]好了吗?","\n",["ev",{"^->":"in_progress.0.33.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.^.c-0","flg":19},{"s":["^做好了。",{"->":"$r","var":true},null]}],["ev",{"^->":"in_progress.0.34.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没做好。",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"in_progress.0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.33.s"},[{"#n":"$r2"}],"\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.34.s"},[{"#n":"$r2"}],"\n","^面包店老板:还没做好吗,先吃个面包。","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^面包店老板:感谢,这是费用。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^面包店老板:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_6","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:cantonese_char_siu","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:mi_zhi_cha_shao","/str",{"VAR=":"required_item_op2"},"str","^蜜汁叉烧","/str",{"VAR=":"food_name"},9,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_7.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_7.ink.json new file mode 100644 index 00000000..02b5c67c --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_7.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与谷店老板的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^谷店老板:该吃饭了,今天吃[","ev",{"VAR?":"food_name"},"out","/ev","^]吧。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^谷店老板:好的,那请送一个份[","ev",{"VAR?":"food_name"},"out","/ev","^]过来。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^谷店老板:现在没时间吗?","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^谷店老板:我的[","ev",{"VAR?":"food_name"},"out","/ev","^]做好了吗?","\n",["ev",{"^->":"in_progress.0.33.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.^.c-0","flg":19},{"s":["^做好了。",{"->":"$r","var":true},null]}],["ev",{"^->":"in_progress.0.34.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没做好。",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"in_progress.0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.33.s"},[{"#n":"$r2"}],"\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.34.s"},[{"#n":"$r2"}],"\n","^谷店老板:还没做好吗?","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^谷店老板:谢谢,这是你的报酬。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^谷店老板:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_7","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:pork_bowl","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:zhu_rou_gai_jiao_fan","/str",{"VAR=":"required_item_op2"},"str","^猪肉盖浇饭","/str",{"VAR=":"food_name"},8,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_8.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_8.ink.json new file mode 100644 index 00000000..a91bdd8f --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_8.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与蓝鸡粉丝的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^蓝鸡粉丝:有点饿,该吃点啥了。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^蓝鸡粉丝:好,那就[","ev",{"VAR?":"food_name"},"out","/ev","^]吧。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^蓝鸡粉丝:要不一会去旁边的售货机买点啥?","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^蓝鸡粉丝:有[","ev",{"VAR?":"food_name"},"out","/ev","^]了吗?","\n",["ev",{"^->":"in_progress.0.33.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.^.c-0","flg":19},{"s":["^在这里。",{"->":"$r","var":true},null]}],["ev",{"^->":"in_progress.0.34.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没。",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"in_progress.0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.33.s"},[{"#n":"$r2"}],"\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.12"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.34.s"},[{"#n":"$r2"}],"\n","^蓝鸡粉丝:我先炫一包薯片再说。","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^蓝鸡粉丝:感谢,给你。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^蓝鸡粉丝:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_8","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:pork_rice_ball","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:zhi_zhu_rou_fan_tuan","/str",{"VAR=":"required_item_op2"},"str","^炙猪肉饭团","/str",{"VAR=":"food_name"},5,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/jiachen/data/amekawamiya/inkraft_story/delivery_npc_9.ink.json b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_9.ink.json new file mode 100644 index 00000000..be506a00 --- /dev/null +++ b/jiachen/data/amekawamiya/inkraft_story/delivery_npc_9.ink.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_total_deliveries"},"\n","ev",{"VAR?":"has_total_deliveries"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_delivery_state"},"\n","ev",{"VAR?":"has_delivery_state"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"npc_delivery_state_id"},0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.37"},null]}],"nop","\n","ev",{"VAR?":"npc_delivery_state_id"},{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state"},"\n","^【与饮品店店员的对话开始】","\n","ev",{"VAR?":"delivery_state"},"/ev",["du","ev",0,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"request"},{"->":"0.54"},null]}],["du","ev",1,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"in_progress"},{"->":"0.54"},null]}],["du","ev",2,"==","/ev",{"->":".^.b","c":true},{"b":["pop","\n",{"->":"completed"},{"->":"0.54"},null]}],[{"->":".^.b"},{"b":["pop","\n",{"->":"default"},{"->":"0.54"},null]}],"nop","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"request":[["^饮品店店员:每天做冰饮,想喝点热的了。","\n","ev","str","^接受外卖任务","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^拒绝外卖任务","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["\n","^饮品店店员:来一份经典[","ev",{"VAR?":"food_name"},"out","/ev","^]吧。","\n","ev",{"VAR?":"npc_delivery_state_id"},1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":5}],"c-1":["\n","^饮品店店员:先泡点茶吧。","\n","end",{"#f":5}]}],{"#f":1}],"in_progress":[["ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op1"},"\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_item_op2"},"\n","^饮品店店员:我的[","ev",{"VAR?":"food_name"},"out","/ev","^]送来了吗?","\n","ev","str","^送上食物","/str",{"VAR?":"has_item_op1"},{"VAR?":"has_item_op2"},"||","/ev",{"*":".^.c-0","flg":21},["ev",{"^->":"in_progress.0.42.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^还没好。",{"->":"$r","var":true},null]}],{"c-0":["\n","ev",{"VAR?":"has_item_op2"},"/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"required_item_op2"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.6"},null]}],[{"->":".^.b"},{"b":["\n","ev",{"VAR?":"required_item_op1"},1,"str","^","/str","str","^","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n",{"->":".^.^.^.6"},null]}],"nop","\n",{"->":"completion"},{"#f":5}],"c-1":["ev",{"^->":"in_progress.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.42.s"},[{"#n":"$r2"}],"\n","^饮品店店员:还没好吗?","\n","end",{"#f":5}]}],{"#f":1}],"completion":["^饮品店店员:谢谢,这是你的报酬。","\n","ev","str","^locusazzurro_icaruswings:blue_topaz_gem","/str",{"VAR?":"reward"},"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"giveItem","exArgs":4},"pop","/ev","\n","ev",{"VAR?":"total_deliveries"},1,"+",{"VAR=":"total_deliveries","re":true},"/ev","ev","str","^total_deliveries","/str",{"VAR?":"total_deliveries"},{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev",{"VAR?":"npc_delivery_state_id"},2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"card_check"},{"#f":1}],"completed":["^饮品店店员:感谢帮我送吃的,不妨四处看看是否还有其他人有需要?","\n",{"->":"card_check"},{"#f":1}],"card_check":["ev",{"VAR?":"total_deliveries"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^/shard award @s mystias_izakaya:mf_carnival_magician","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","end",{"->":".^.^.^.6"},null]}],"nop","\n","end",{"#f":1}],"default":["end",{"#f":1}],"isDebug":["ev",true,"/ev","~ret",{"#f":1}],"isInFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isInDefaultFlow":["ev",true,"/ev","~ret",{"#f":1}],"flowTo":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"flowToDefault":["ev",true,"/ev","~ret",{"#f":1}],"newFlow":[{"temp=":"flow"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"removeFlow":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"isEnded":["ev",false,"/ev","~ret",{"#f":1}],"pause":["ev",true,"/ev","~ret",{"#f":1}],"setLineTicks":[{"temp=":"ticks"},"ev",true,"/ev","~ret",{"#f":1}],"unsetLineTicks":["ev",true,"/ev","~ret",{"#f":1}],"hasVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"getVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"setVariable":[{"temp=":"value"},{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"unsetVariable":[{"temp=":"name"},"ev",true,"/ev","~ret",{"#f":1}],"clearVariables":["ev",true,"/ev","~ret",{"#f":1}],"logDebug":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logInfo":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logWarn":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"logError":[{"temp=":"message"},"ev",true,"/ev","~ret",{"#f":1}],"getPlayerName":["ev","str","^PlayerName","/str","/ev","~ret",{"#f":1}],"runCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runUnlimitedCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"runServerCommand":[{"temp=":"command"},"ev",1,"/ev","~ret",{"#f":1}],"global decl":["ev","str","^delivery_state_npc_9","/str",{"VAR=":"npc_delivery_state_id"},"str","^mystia_izakaya:miso_tofu","/str",{"VAR=":"required_item_op1"},"str","^mystias_izakaya:dou_fu_wei_cheng","/str",{"VAR=":"required_item_op2"},"str","^豆腐味噌","/str",{"VAR=":"food_name"},6,{"VAR=":"reward"},"/ev","end",null],"#f":1}],"listDefs":{}} \ No newline at end of file