return { { index = 1, view = { "MainUI" }, segment = { { "S001", 12003 } } }, { index = 2, end_segment = "S003", view = { "MainUI" }, segment = { { "S002", 12009 }, { "S002_1", 12026 } }, getSegment = function () return getProxy(BuildShipProxy):getFinishCount() > 0 and 2 or 1 end }, { index = 3, view = { "MainUI" }, segment = { { "S004", 12103 } } }, { index = 4, view = { "MainUI" }, segment = { { "S005", 13102 } } }, { index = 5, view = { "MainUI" }, segment = { { "S006", 13104 } } }, { index = 6, view = { "MainUI" }, segment = { { "S007", 13104 } } }, { index = 7, interrupt = true, view = { "MainUI" }, segment = { { "S008", 40002 } } }, { index = 8, view = { "MainUI", "LevelScene" }, condition = { arg = { 1, 40004 }, func = function (slot0, slot1) if slot0 == "MainUI" then return pg.SeriesGuideMgr.CODES.MAINUI, 7 elseif slot0 == "LevelScene" then if not slot1 then return pg.SeriesGuideMgr.CODES.CONDITION, 7 elseif slot1 then if slot1.score > 1 then return pg.SeriesGuideMgr.CODES.CONDITION, 9 elseif slot1.total_time >= 180 then return pg.SeriesGuideMgr.CODES.CONDITION, 7 else return pg.SeriesGuideMgr.CODES.CONDITION, 4 end end end end } }, { index = 9, end_segment = "S010", view = { "MainUI" }, segment = { { "S009", 13104 } } }, { index = 10, end_segment = "S012", view = { "MainUI" }, segment = { { "S011", 20006 } } }, { index = 11, end_segment = "S014", view = { "MainUI" }, segment = { { "S013", 15003 } } }, { index = 12, end_segment = "S016", view = { "MainUI" }, segment = { { "S015", 14007 } } }, { index = 13, end_segment = "S012", view = { "MainUI" }, segment = { { "S011", 20006 } } }, { index = 14, view = { "MainUI" }, segment = { { "S017", 12007 } } }, { index = 15, end_segment = "S019", view = { "MainUI" }, segment = { { "S018", 14003 } } }, { index = 16, end_segment = "S012", view = { "MainUI" }, segment = { { "S011", 20006 } } }, { index = 17, view = { "MainUI" }, segment = { { "S020", 12003 }, { "S020_1", 12003 } }, getSegment = function () if not BuildShipScene.projectName then if getProxy(ActivityProxy):getActivityByType(ActivityConst.ACTIVITY_TYPE_BUILDSHIP_1) and not slot0:isEnd() then return 1 else return 2 end else return BuildShipScene.projectName == BuildShipScene.PROJECTS.HEAVY and 2 or 1 end end }, { index = 18, end_segment = "S003", view = { "MainUI" }, segment = { { "S002", 12009 }, { "S002_1", 12026 } }, getSegment = function () return getProxy(BuildShipProxy):getFinishCount() > 0 and 2 or 1 end }, { index = 19, view = { "MainUI" }, segment = { { "S021", 12103 } } }, { index = 20, view = { "MainUI" }, segment = { { "S022", 13102 } } }, { index = 21, view = { "MainUI" }, segment = { { "S023", 13104 } } }, { index = 22, view = { "MainUI" }, segment = { { "S024", 13104 } } }, { index = 23, view = { "MainUI" }, segment = { { "S025", 13104 } } }, { index = 24, interrupt = true, view = { "MainUI" }, segment = { { "S026", 40002 } } }, { index = 25, view = { "MainUI", "LevelScene" }, condition = { arg = { 1, 40004 }, func = function (slot0, slot1) if slot0 == "MainUI" then return pg.SeriesGuideMgr.CODES.MAINUI, 24 elseif slot0 == "LevelScene" then if not slot1 then return pg.SeriesGuideMgr.CODES.CONDITION, 24 elseif slot1 then if slot1.score > 1 then return pg.SeriesGuideMgr.CODES.CONDITION, 26 elseif slot1.total_time >= 180 then return pg.SeriesGuideMgr.CODES.CONDITION, 24 else return pg.SeriesGuideMgr.CODES.CONDITION, 20 end end end end } }, { index = 26, view = { "MainUI" }, segment = { { "S027", 13104 } } }, { index = 27, interrupt = true, view = { "MainUI" }, segment = { { "S028", 40002 } } }, { index = 28, end_segment = "S029", view = { "MainUI", "LevelScene" }, condition = { arg = { 1, 40004 }, func = function (slot0, slot1) if slot0 == "MainUI" then return pg.SeriesGuideMgr.CODES.MAINUI, 27 elseif slot0 == "LevelScene" then if not slot1 then return pg.SeriesGuideMgr.CODES.CONDITION, 27 elseif slot1 then if slot1.score > 1 then return pg.SeriesGuideMgr.CODES.CONDITION, 29 elseif slot1.total_time >= 180 then return pg.SeriesGuideMgr.CODES.CONDITION, 27 else return pg.SeriesGuideMgr.CODES.CONDITION, 20 end end end end } } }