示例#1
0
    public void StartEndQuest(byte routeIndex)
    {
        int endIndex = (int)QuestSection.Endgame;

        if (activeQuests[endIndex] == Quest.NoQuest || activeQuests[endIndex] == null)
        {
            questAccessMap[endIndex] = true;
            if ((Knowledge.ResearchRoute)routeIndex == Knowledge.ResearchRoute.Foundation)
            {
                var scn = new FoundationRouteScenario();
                GameMaster.realMaster.BindScenario(scn);
                scn.StartScenario();
            }
            else
            {
                activeQuests[endIndex] = new Quest(QuestType.Endgame, routeIndex);
            }
        }
        else
        {
            AnnouncementCanvasController.MakeImportantAnnounce(Localization.GetAnnouncementString(GameAnnouncements.AlreadyHaveEndquest));
        }
        if (openedQuest == -1 & GetComponent <Image>().enabled)
        {
            PrepareBasicQuestWindow();
        }
    }
示例#2
0
        public static FDR_Subscenario GetSubscenario(FoundationScenarioStep step, FoundationRouteScenario baseScenario)
        {
            switch (step)
            {
            case FoundationScenarioStep.Finish: return(new FDR_Finish(baseScenario));

            case FoundationScenarioStep.OuterRingBuilding: return(new FDR_OuterRingBuilding(baseScenario));

            case FoundationScenarioStep.PierPreparing: return(new FDR_PierPreparing(baseScenario));

            case FoundationScenarioStep.InnerRingBuilding: return(new FDR_InnerRingBuilding(baseScenario));

            case FoundationScenarioStep.AnchorStart: return(new FDR_AnchorStart(baseScenario));

            case FoundationScenarioStep.AnchorBuilding: return(new FDR_AnchorBuilding(baseScenario));

            case FoundationScenarioStep.Begin: return(new FDR_Begin(baseScenario));

            default: return(null);
            }
        }
示例#3
0
 public FDR_Finish(FoundationRouteScenario i_scn) : base(i_scn)
 {
 }
示例#4
0
 public FDR_OuterRingBuilding(FoundationRouteScenario i_scn) : base(i_scn)
 {
 }
示例#5
0
 public FDR_PierPreparing(FoundationRouteScenario i_scn) : base(i_scn)
 {
 }
示例#6
0
 public FDR_AnchorStart(FoundationRouteScenario i_scn) : base(i_scn)
 {
 }
示例#7
0
 public FDR_AnchorBuilding(FoundationRouteScenario i_scn) : base(i_scn)
 {
 }
示例#8
0
 public FDR_Begin(FoundationRouteScenario i_scn) : base(i_scn)
 {
 }
示例#9
0
 public FDR_ConditionSubscenario(FoundationRouteScenario i_scenario) : base(i_scenario)
 {
 }
示例#10
0
 public FDR_Subscenario(FoundationRouteScenario i_scenario) : base(FOUNDATION_ROUTE_ID)
 {
     scenario = i_scenario;
 }
示例#11
0
 public FDR_Example(FoundationRouteScenario i_scn) : base(i_scn)
 {
 }
 public void LinkScenario(FoundationRouteScenario frs)
 {
     scenario = frs;
 }