Skip to content

Commit

Permalink
refactor: StartUp大重构 (#263)
Browse files Browse the repository at this point in the history
看起来改的多,其实主要是将StartUp任务改了下,一部分sub任务直接重构为非sub任务放入interrupt,其它文件的sub_StartUp替换为ReturnMain并放入interrupt;特别地,留了个sub_BackButton、Sub_ObtainedAwards,主要是还某些任务还在用,而且目测不能直接放入interrupt,这个先留着。

---------

Co-authored-by: a16797 <[email protected]>
  • Loading branch information
Windsland52 and a16797 authored Nov 25, 2024
1 parent 960d455 commit 4cf6427
Show file tree
Hide file tree
Showing 22 changed files with 240 additions and 247 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"ANightmareAtGreenLake": {
"next": [
"ANightmareAtGreenLakeEnterTheShow",
"Sub_StartUp"
"ANightmareAtGreenLakeEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"ANightmareAtGreenLakeEnterTheShow": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"EITM_入口2",
"EITM_入口1",
"EITM_重置",
"EITM_退出",
"Sub_StartUp"
"EITM_退出"
],
"interrupt": [
"ReturnMain"
]
},
"EITM_入口1": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"FloorItToTheGoldenCity": {
"next": [
"FloorItToTheGoldenCityEnterTheShow",
"Sub_StartUp"
"FloorItToTheGoldenCityEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"FloorItToTheGoldenCityEnterTheShow": {
Expand Down Expand Up @@ -35,8 +37,10 @@
},
"FloorItToTheGoldenCity_StagePromotion": {
"next": [
"FloorItToTheGoldenCityEnterTheShow_StagePromotion",
"Sub_StartUp"
"FloorItToTheGoldenCityEnterTheShow_StagePromotion"
],
"interrupt": [
"ReturnMain"
]
},
"FloorItToTheGoldenCityEnterTheShow_StagePromotion": {
Expand Down Expand Up @@ -69,4 +73,4 @@
"ActivityStageModelSellect"
]
}
}
}
6 changes: 4 additions & 2 deletions assets/resource/base/pipeline/activity/GoodbyeRaya.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"GoodbyeRaya": {
"next": [
"GoodbyeRayaEnterTheShow",
"Sub_StartUp"
"GoodbyeRayaEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"GoodbyeRayaEnterTheShow": {
Expand Down
8 changes: 5 additions & 3 deletions assets/resource/base/pipeline/activity/JourneytoMorPankh.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"JourneytoMorPankh": {
"next": [
"JourneytoMorPankhEnterTheShow",
"Sub_StartUp"
"JourneytoMorPankhEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"JourneytoMorPankhEnterTheShow": {
Expand Down Expand Up @@ -36,4 +38,4 @@
"SwipeLeftAndFindStage"
]
}
}
}
6 changes: 4 additions & 2 deletions assets/resource/base/pipeline/activity/NotesOnShuoRi.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"NotesOnShuoRi": {
"next": [
"NotesOnShuoRiEnterTheShow",
"Sub_StartUp"
"NotesOnShuoRiEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"NotesOnShuoRiEnterTheShow": {
Expand Down
14 changes: 9 additions & 5 deletions assets/resource/base/pipeline/activity/RevivalTheUluruGames.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"RevivalTheUluruGames": {
"next": [
"RevivalTheUluruGamesEnterTheShow",
"Sub_StartUp"
"RevivalTheUluruGamesEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"RevivalTheUluruGamesEnterTheShow": {
Expand Down Expand Up @@ -34,8 +36,10 @@
},
"RevivalTheUluruGames_Reproduction": {
"next": [
"RevivalTheUluruGames_ReproductionEnterTheShow",
"Sub_StartUp"
"RevivalTheUluruGames_ReproductionEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"RevivalTheUluruGames_ReproductionEnterTheShow": {
Expand Down Expand Up @@ -72,4 +76,4 @@
"action": "Click",
"next": "SwipeLeftAndFindStage"
}
}
}
14 changes: 9 additions & 5 deletions assets/resource/base/pipeline/activity/Route77.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"Route77": {
"next": [
"Route77EnterTheShow",
"Sub_StartUp"
"Route77EnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"Route77EnterTheShow": {
Expand Down Expand Up @@ -35,8 +37,10 @@
},
"Route77_StagePromotion": {
"next": [
"Route77EnterTheShow_StagePromotion",
"Sub_StartUp"
"Route77EnterTheShow_StagePromotion"
],
"interrupt": [
"ReturnMain"
]
},
"Route77EnterTheShow_StagePromotion": {
Expand Down Expand Up @@ -69,4 +73,4 @@
"ActivityStageModelSellect"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"ThePrisonerintheCave": {
"next": [
"ThePrisonerintheCaveEnterTheShow",
"Sub_StartUp"
"ThePrisonerintheCaveEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"ThePrisonerintheCaveEnterTheShow": {
Expand Down
6 changes: 4 additions & 2 deletions assets/resource/base/pipeline/activity/outside_deduction.json
Original file line number Diff line number Diff line change
Expand Up @@ -2532,8 +2532,10 @@
],
"action": "Click",
"next": [
"SOD_Main",
"Sub_BackButton"
"SOD_Main"
],
"interrupt": [
"BackButton"
]
},
"SOD_Skip": {
Expand Down
6 changes: 4 additions & 2 deletions assets/resource/base/pipeline/all_in.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,10 @@
"next": [
"EatCandyWithin24H",
"Sub_QuitEatCandyPage",
"HomeFlag",
"Sub_StartUp"
"HomeFlag"
],
"interrupt": [
"ReturnMain"
]
}
}
19 changes: 12 additions & 7 deletions assets/resource/base/pipeline/awards.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"Sub_MailBadge",
"Sub_JukeboxBadge",
"Sub_DailyBadge",
"HomeFlag",
"Sub_ObtainedAwards",
"Sub_StartUp"
"HomeFlag"
],
"interrupt": [
"ReturnMain"
]
},
"Sub_MailBadge": {
Expand Down Expand Up @@ -75,8 +76,10 @@
163
],
"next": [
"HomeFlag",
"Sub_BackButton"
"HomeFlag"
],
"interrupt": [
"BackButton"
]
},
"Sub_DailyBadge": {
Expand All @@ -95,8 +98,10 @@
"next": [
"Sub_CollectDailyAwards",
"Sub_ObtainedAwards",
"WeeklyAwardsBadge",
"Sub_BackButton"
"WeeklyAwardsBadge"
],
"interrupt": [
"BackButton"
]
},
"Sub_CollectDailyAwards": {
Expand Down
18 changes: 12 additions & 6 deletions assets/resource/base/pipeline/combat.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"Combat": {
"next": [
"EnterTheShow",
"Sub_StartUp"
"EnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"EnterTheShow": {
Expand Down Expand Up @@ -748,8 +750,10 @@
"action": "Click",
"target": "StartReplay",
"next": [
"HomeFlag",
"Sub_StartUp"
"HomeFlag"
],
"interrupt": [
"ReturnMain"
]
},
"Replaying": {
Expand Down Expand Up @@ -795,8 +799,10 @@
"next": [
"Victory",
"AllIn",
"HomeFlag",
"Sub_HomeButton"
"HomeFlag"
],
"interrupt": [
"HomeButton"
]
}
}
6 changes: 4 additions & 2 deletions assets/resource/base/pipeline/combat_activity.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"ActivityEntry": {
"next": [
"ActivityEnterTheShow",
"Sub_StartUp"
"ActivityEnterTheShow"
],
"interrupt": [
"ReturnMain"
]
},
"ActivityEnterTheShow": {
Expand Down
24 changes: 16 additions & 8 deletions assets/resource/base/pipeline/eat_candy.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
],
"next": [
"Sub_QuitEatCandyPage",
"HomeFlag",
"Sub_StartUp"
"HomeFlag"
],
"interrupt": [
"ReturnMain"
]
},
"EatMiniCandy24H": {
Expand Down Expand Up @@ -149,8 +151,10 @@
"next": [
"SmallCandy24H",
"Sub_QuitEatCandyPage",
"HomeFlag",
"Sub_StartUp"
"HomeFlag"
],
"interrupt": [
"ReturnMain"
]
},
"SmallCandy24HNotEnough": {
Expand All @@ -165,8 +169,10 @@
"next": [
"BigCandy24H",
"Sub_QuitEatCandyPage",
"HomeFlag",
"Sub_StartUp"
"HomeFlag"
],
"interrupt": [
"ReturnMain"
]
},
"BigCandy24HNotEnough": {
Expand All @@ -180,8 +186,10 @@
],
"next": [
"Sub_QuitEatCandyPage",
"HomeFlag",
"Sub_StartUp"
"HomeFlag"
],
"interrupt": [
"ReturnMain"
]
},
"Sub_QuitEatCandyPage": {
Expand Down
12 changes: 8 additions & 4 deletions assets/resource/base/pipeline/psychube.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"PsychubeEnterTheShow",
"PsychubeResourceStages",
"FreePsychubeStages",
"PsychubeStages_7",
"Sub_StartUp"
"PsychubeStages_7"
],
"interrupt": [
"ReturnMain"
]
},
"PsychubeEnterTheShow": {
Expand Down Expand Up @@ -63,8 +65,10 @@
297
],
"next": [
"HomeFlag",
"Sub_StartUp"
"HomeFlag"
],
"interrupt": [
"ReturnMain"
]
},
"PsychubeStages_7": {
Expand Down
Loading

0 comments on commit 4cf6427

Please sign in to comment.