forked from teaconmc/Puer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repeatable delivery and delivery debug script
- Loading branch information
1 parent
1259238
commit 057562f
Showing
4 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"inkVersion":21,"root":[["\n","ev","str","^total_deliveries","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"total_deliveries"},"\n","ev","str","^delivery_state_npc_1","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_1"},"\n","ev","str","^delivery_state_npc_2","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_2"},"\n","ev","str","^delivery_state_npc_3","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_3"},"\n","ev","str","^delivery_state_npc_4","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_4"},"\n","ev","str","^delivery_state_npc_5","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_5"},"\n","ev","str","^delivery_state_npc_6","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_6"},"\n","ev","str","^delivery_state_npc_7","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_7"},"\n","ev","str","^delivery_state_npc_8","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_8"},"\n","ev","str","^delivery_state_npc_9","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_9"},"\n","ev","str","^delivery_state_npc_10","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_state_10"},"\n","^Total Delivelies: ","ev",{"VAR?":"total_deliveries"},"out","/ev","\n","^Deliveries:","\n","^NPC 1: ","ev",{"VAR?":"delivery_state_1"},"out","/ev","\n","^NPC 2: ","ev",{"VAR?":"delivery_state_2"},"out","/ev","\n","^NPC 3: ","ev",{"VAR?":"delivery_state_3"},"out","/ev","\n","^NPC 4: ","ev",{"VAR?":"delivery_state_4"},"out","/ev","\n","^NPC 5: ","ev",{"VAR?":"delivery_state_5"},"out","/ev","\n","^NPC 6: ","ev",{"VAR?":"delivery_state_6"},"out","/ev","\n","^NPC 7: ","ev",{"VAR?":"delivery_state_7"},"out","/ev","\n","^NPC 8: ","ev",{"VAR?":"delivery_state_8"},"out","/ev","\n","^NPC 9: ","ev",{"VAR?":"delivery_state_9"},"out","/ev","\n","^NPC 10: ","ev",{"VAR?":"delivery_state_10"},"out","/ev","\n","^(0 = not started, 1 = started, 2 = delivered)","\n","^Select Operation:","\n",["ev",{"^->":"0.161.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":"0.c-0","flg":18},{"s":["^Set all to not started",{"->":"$r","var":true},null]}],["ev",{"^->":"0.162.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":"0.c-1","flg":18},{"s":["^Set all to completed",{"->":"$r","var":true},null]}],["ev",{"^->":"0.163.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":"0.c-2","flg":18},{"s":["^Clear variables",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":"0.161.s"},[{"#n":"$r2"}],"\n","ev","str","^delivery_state_npc_1","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_2","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_3","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_4","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_5","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_6","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_7","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_8","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_9","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_10","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^total_deliveries","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.g-0"},{"#f":5}],"c-1":["ev",{"^->":"0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":"0.162.s"},[{"#n":"$r2"}],"\n","ev","str","^delivery_state_npc_1","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_2","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_3","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_4","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_5","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_6","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_7","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_8","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_9","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_state_npc_10","/str",2,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^total_deliveries","/str",10,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.g-0"},{"#f":5}],"c-2":["ev",{"^->":"0.c-2.$r2"},"/ev",{"temp=":"$r"},{"->":"0.163.s"},[{"#n":"$r2"}],"\n","ev","str","^delivery_state_npc_1","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_2","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_3","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_4","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_5","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_6","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_7","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_8","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_9","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_state_npc_10","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^total_deliveries","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n",{"->":"0.g-0"},{"#f":5}],"g-0":["end",["done",{"#f":5,"#n":"g-1"}],{"#f":5}]}],"done",{"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","/ev","end",null],"#f":1}],"listDefs":{}} |
1 change: 1 addition & 0 deletions
1
jiachen/data/amekawamiya/inkraft_story/debug_repeatable_delivery.ink.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"inkVersion":21,"root":[["\n","ev","str","^repeatable_delivery_state_npc_1","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"repeatable_delivery_state_npc_1"},"\n","ev","str","^delivery_objective_npc_1","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_objective_npc_1"},"\n","ev","str","^repeatable_delivery_state_npc_2","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"repeatable_delivery_state_npc_2"},"\n","ev","str","^delivery_objective_npc_2","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"delivery_objective_npc_2"},"\n","^Deliveries:","\n","^NPC 1: ","ev",{"VAR?":"repeatable_delivery_state_npc_1"},"out","/ev","^ - Objective = ","ev",{"VAR?":"delivery_objective_npc_1"},"out","/ev","\n","^NPC 2: ","ev",{"VAR?":"repeatable_delivery_state_npc_2"},"out","/ev","^ - Objective = ","ev",{"VAR?":"delivery_objective_npc_2"},"out","/ev","\n",["ev",{"^->":"0.57.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":"0.c-0","flg":18},{"s":["^Set all to not started",{"->":"$r","var":true},null]}],["ev",{"^->":"0.58.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":"0.c-1","flg":18},{"s":["^Clear variables",{"->":"$r","var":true},null]}],{"c-0":["ev",{"^->":"0.c-0.$r2"},"/ev",{"temp=":"$r"},{"->":"0.57.s"},[{"#n":"$r2"}],"\n","ev","str","^repeatable_delivery_state_npc_1","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_objective_npc_1","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^repeatable_delivery_state_npc_2","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","ev","str","^delivery_objective_npc_2","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.g-0"},{"#f":5}],"c-1":["ev",{"^->":"0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":"0.58.s"},[{"#n":"$r2"}],"\n","ev","str","^repeatable_delivery_state_npc_1","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_objective_npc_1","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^repeatable_delivery_state_npc_2","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n","ev","str","^delivery_objective_npc_2","/str",{"x()":"unsetVariable","exArgs":1},"pop","/ev","\n",{"->":"0.g-0"},{"#f":5}],"g-0":["end",["done",{"#f":5,"#n":"g-1"}],{"#f":5}]}],"done",{"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","/ev","end",null],"#f":1}],"listDefs":{}} |
Oops, something went wrong.