Esempio n. 1
0
    public bool CompleteExperiment(IScienceExperiment experiment)
    {
        if (experiment.Experiment == ExperimentType.BioMinilab && !this.MinilabDocked)
        {
            GuiBridge.Instance.ShowNews(NewsSource.MinilabNotDocked);
            return(false);
        }

        Science.Complete(experiment);
        CleanupExperiments(experiment);
        experiment.OnComplete();

        return(true);
    }
Esempio n. 2
0
    public bool CompleteExperiment(IScienceExperiment experiment)
    {
        if (experiment.Experiment == ExperimentType.BioMinilab && !this.MinilabDocked)
        {
            GuiBridge.Instance.ShowNews(NewsSource.MinilabNotDocked);
            return(false);
        }

        Science.Complete(experiment);
        Game.Current.Score.AddScoringEvent(RedHomestead.Scoring.ScoreType.Science, GuiBridge.Instance);
        CleanupExperiments(experiment);
        experiment.OnComplete();

        return(true);
    }