Beispiel #1
0
        public IQuestState Execute(QuestNPC npc)
        {
            if (npc.IsPlayerClose && Input.GetMouseButtonDown(0))
            {
                return(QuestNPC.QuestDoneState);
            }

            return(QuestNPC.QuestTaskDoneState);
        }
Beispiel #2
0
        public IQuestState Execute(QuestNPC npc)
        {
            if (npc.RequirementsMet)
            {
                return(QuestNPC.QuestTaskDoneState);
            }

            return(QuestNPC.QuestActiveState);
        }
Beispiel #3
0
        public IQuestState Execute(QuestNPC npc)
        {
            if (Input.GetMouseButtonDown(0) && npc.IsPlayerClose)
            {
                return(QuestNPC.QuestActiveState);
            }

            return(QuestNPC.QuestAvailableState);
        }
Beispiel #4
0
 public void Exit(QuestNPC npc)
 {
 }
Beispiel #5
0
 public void Enter(QuestNPC npc)
 {
     npc.SetNPCAnswer("My precious..");
 }
Beispiel #6
0
 public IQuestState Execute(QuestNPC npc)
 {
     return(QuestNPC.QuestDoneState);
 }
Beispiel #7
0
 public void Exit(QuestNPC npc)
 {
     npc.DisplayQuestIcon(null);
     npc.SetNPCAnswer("");
 }
Beispiel #8
0
 public void Enter(QuestNPC npc)
 {
     npc.DisplayQuestIcon(npc.QuestTaskDoneStateMesh);
     npc.SetNPCAnswer("Ay what a great finding! Myyyy precious");
 }
Beispiel #9
0
 public void Exit(QuestNPC npc)
 {
     npc.SetNPCAnswer("");
 }
Beispiel #10
0
 public void Enter(QuestNPC npc)
 {
     npc.QuestItem.Activate();
     npc.SetNPCAnswer("Remember to bring me my item please");
 }
Beispiel #11
0
 public void Enter(QuestNPC npc)
 {
     npc.DisplayQuestIcon(npc.AvailableStateMesh);
     npc.SetNPCAnswer("Hey you! Go get that item for me, would ya?");
 }