Skip to content

Commit

Permalink
update delivery npc dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
LocusAzzurro authored Dec 27, 2024
1 parent 6c19a7e commit 0ba160c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1 +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":{}}
{"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":{}}
Loading

0 comments on commit 0ba160c

Please sign in to comment.