Esempio n. 1
0
    public void StartQuest(string questName)
    {
        quest = QuestsController.GetQuest(questName);
        if (quest == null)
        {
            Debug.Log("Quest doesn't exist!");
            return;
        }
        if (!QuestsController.IsPassRequirements(quest))
        {
            Debug.Log("Can't pass requirements! quest doesn't start");
            return;
        }
        log             = new List <string[]>();
        currentLogIndex = 0;

        DialogueController.reference.Activate();
    }