예제 #1
0
    public void TestObjective()
    {
        QuestNew q = FindQuest("ETC Objective");

        if (q != null)
        {
            q.CheckGoals();
        }
        else
        {
            Debug.Log("Don't have this quest!");
        }
    }
예제 #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!");
        }
    }
예제 #3
0
    public void TestFetch()
    {
        QuestNew q = FindQuest("Find Ring");

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