public IQuestState Execute(QuestNPC npc) { if (npc.IsPlayerClose && Input.GetMouseButtonDown(0)) { return(QuestNPC.QuestDoneState); } return(QuestNPC.QuestTaskDoneState); }
public IQuestState Execute(QuestNPC npc) { if (npc.RequirementsMet) { return(QuestNPC.QuestTaskDoneState); } return(QuestNPC.QuestActiveState); }
public IQuestState Execute(QuestNPC npc) { if (Input.GetMouseButtonDown(0) && npc.IsPlayerClose) { return(QuestNPC.QuestActiveState); } return(QuestNPC.QuestAvailableState); }
public void Exit(QuestNPC npc) { }
public void Enter(QuestNPC npc) { npc.SetNPCAnswer("My precious.."); }
public IQuestState Execute(QuestNPC npc) { return(QuestNPC.QuestDoneState); }
public void Exit(QuestNPC npc) { npc.DisplayQuestIcon(null); npc.SetNPCAnswer(""); }
public void Enter(QuestNPC npc) { npc.DisplayQuestIcon(npc.QuestTaskDoneStateMesh); npc.SetNPCAnswer("Ay what a great finding! Myyyy precious"); }
public void Exit(QuestNPC npc) { npc.SetNPCAnswer(""); }
public void Enter(QuestNPC npc) { npc.QuestItem.Activate(); npc.SetNPCAnswer("Remember to bring me my item please"); }
public void Enter(QuestNPC npc) { npc.DisplayQuestIcon(npc.AvailableStateMesh); npc.SetNPCAnswer("Hey you! Go get that item for me, would ya?"); }