Esempio n. 1
0
        public void Start(Savegame savegame)
        {
            ticks            = 0;
            Active           = true;
            actionIndex      = 0;
            scrolledAmount   = 0;
            scrollStartTicks = 0;
            nextActionTicks  = 0;
            waitForClick     = false;
            speedIndex       = 1;

            var option = OutroOption.ValdynNotInParty;

            if (savegame.CurrentPartyMemberIndices.Contains(12u)) // Valdyn in party
            {
                if (savegame.IsGameOptionActive(Data.Enumerations.Option.FoundYellowSphere))
                {
                    option = OutroOption.ValdynInPartyWithYellowSphere;
                }
                else
                {
                    option = OutroOption.ValdynInPartyNoYellowSphere;
                }
            }

            actions = outroData.OutroActions[option];

            Process();
        }