9
3

BahatiLinnxar.lua 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/BahatiLinnxar.lua
  3. Script Purpose : Bahati Linnxar
  4. Script Author : Scatman
  5. Script Date : 2008.10.08
  6. Script Notes :
  7. --]]
  8. local QUEST_3_FROM_HELAIN = 297
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. conversation = CreateConversation()
  17. if HasQuest(Spawn, QUEST_3_FROM_HELAIN) and GetQuestStep(Spawn, QUEST_3_FROM_HELAIN) >= 3 then
  18. if GetQuestStep(Spawn, QUEST_3_FROM_HELAIN) == 3 then
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bahati_linnxar/qey_village01/quests/newbie_path_human/bahatilinnxar001.mp3", "", "", 1302404372, 2531656487, Spawn)
  20. AddConversationOption(conversation, "Actually, I have come seeking work. Helain Conyers thought you may have some work for me. ", "dlg_21_1")
  21. StartConversation(conversation, NPC, Spawn, "Take a look at the stock my colleague has. You'll never beat these prices in the city!")
  22. else
  23. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bahati_linnxar/qey_village01/quests/newbie_path_human/bahatilinnxar005.mp3", "", "", 2124702134, 1087800456, Spawn)
  24. AddConversationOption(conversation, "And you, in yours, Bahati.")
  25. StartConversation(conversation, NPC, Spawn, "I wish you luck in your hunts, adventurer.")
  26. end
  27. else
  28. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bahati_linnxar/qey_village01/quests/newbie_path_human/bahatilinnxar004.mp3", "", "", 4186730330, 845855960, Spawn)
  29. AddConversationOption(conversation, "Perhaps, I will.", "dlg_6_1")
  30. StartConversation(conversation, NPC, Spawn, "Take a look at the stock my colleague has. You'll never beat these prices in the city! ")
  31. end
  32. end
  33. function dlg_21_1(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bahati_linnxar/qey_village01/quests/newbie_path_human/bahatilinnxar002.mp3", "", "", 2304357496, 4139870, Spawn)
  37. AddConversationOption(conversation, "At least you find it then. No work for me then, I suppose? ", "dlg_21_2")
  38. StartConversation(conversation, NPC, Spawn, "She did, eh? She is a sweetie, but a bit of an oddball. What is not to love about the hunt? The hunt is where I find my inner peace! ")
  39. end
  40. function dlg_21_2(NPC, Spawn)
  41. SetStepComplete(Spawn, QUEST_3_FROM_HELAIN, 3)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/bahati_linnxar/qey_village01/quests/newbie_path_human/bahatilinnxar003.mp3", "", "", 1543408868, 3252040827, Spawn)
  45. AddConversationOption(conversation, "I understand. Enjoy the day, Bahati.", "dlg_21_3")
  46. StartConversation(conversation, NPC, Spawn, "No, I have nothing to offer you. ")
  47. end