void Start() { notifications = FindObjectOfType <ReturnNotifications>(); if (!MiscData.unlockedBuildings.Contains("tavern")) { MiscData.unlockedBuildings.Add("tavern"); } if (!MiscData.unlockedBuildings.Contains("dungeon_entrance")) { MiscData.unlockedBuildings.Add("dungeon_entrance"); } }
private void Awake() { returnNotifications = FindObjectOfType <ReturnNotifications>(); foreach (StoryMission mission in allStoryMissions) { storyMissionDatabase.Add(mission.missionID, mission); } StartCoroutine(updateAfterEndOfFrame()); if (MiscData.missionID != null && (MiscData.finishedTutorial == true || MiscData.dungeonLevelUnlocked > 1)) { returnNotifications.activateNotifications(); } else { returnNotifications.closeNotifications(); } }
void Start() { returnNotifications = FindObjectOfType <ReturnNotifications>(); playerShip = GameObject.Find("PlayerShip"); loadDeathDialogue(); }