Exemplo n.º 1
0
    public void TestObjective()
    {
        QuestNew q = FindQuest("ETC Objective");

        if (q != null)
        {
            q.CheckGoals();
        }
        else
        {
            Debug.Log("Don't have this quest!");
        }
    }
Exemplo n.º 2
0
    //For testing
    public void TestKill()
    {
        QuestNew q = FindQuest("Kill Bandits");

        if (q != null)
        {
            q.CheckGoals();
        }
        else
        {
            Debug.Log("Don't have this quest!");
        }
    }
Exemplo n.º 3
0
    public void TestFetch()
    {
        QuestNew q = FindQuest("Find Ring");

        if (q != null)
        {
            q.CheckGoals();
        }
        else
        {
            Debug.Log("Don't have this quest!");
        }
    }
Exemplo n.º 4
0
 public void Complete()
 {
     Completed = true;
     Quest.CheckGoals();
 }