public static void QuestComplete(string researchName) { ResearchHelper.QuestUnlock(researchName); ResearchProjectDef _QuestResearch = DefDatabase <ResearchProjectDef> .GetNamed(researchName); Find.ResearchManager.FinishProject(_QuestResearch, false); }
public static void UpdateQuestStatusResearch() { if (GameComponent_Prometheus.Instance.Comp_Quest.m_QuestStatus >= 1) { ResearchHelper.QuestUnlock("Research_ED_Prometheus_AnalyseStrangeSignal"); } if (GameComponent_Prometheus.Instance.Comp_Quest.m_QuestStatus >= 4) { GameComponent_Prometheus.Instance.Comp_Quest.ShipSystem_Fabrication.UpgradeTo(1); //ResearchHelper.QuestComplete("Research_ED_Prometheus_Fabrication"); } }