Ejemplo n.º 1
0
    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");
        }
    }
Ejemplo n.º 2
0
    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();
        }
    }
Ejemplo n.º 3
0
 void Start()
 {
     returnNotifications = FindObjectOfType <ReturnNotifications>();
     playerShip          = GameObject.Find("PlayerShip");
     loadDeathDialogue();
 }