9
3

Novak.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : SpawnScripts/Antonica/Novak.lua
  3. Script Purpose : Novak <General Goods>
  4. Script Author : geordie0511
  5. Script Date : 2019.03.13
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local Achoo = 464
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. if GetQuestStep(Spawn, Achoo) == 1 then
  22. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  23. AddConversationOption(conversation, "Ok, thanks very much.")
  24. StartConversation(conversation, NPC, Spawn, "Oh, here you go! I will put it on her bill.")
  25. SetStepComplete(Spawn, Achoo, 1)
  26. else
  27. PlayFlavor(NPC, "voiceover/english/merchant_novak/antonica/merchantnovak000.mp3", "", "", 4148197515, 1288700917, Spawn)
  28. AddConversationOption(conversation, "Not right now.")
  29. StartConversation(conversation, NPC, Spawn, "Greetings, perhaps you need to replenish your supplies, or maybe just sell some of what you picked up along the trail?")
  30. end
  31. end
  32. function dlg_7_1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "voiceover/english/merchant_novak/antonica/merchantnovak001.mp3", "", "", 1938438342, 930282390, Spawn)
  36. AddConversationOption(conversation, "Thanks. I'll make sure he gets it.", "dlg_7_2")
  37. StartConversation(conversation, NPC, Spawn, "Great, I was almost out of supplies as it stands. I would hate to hike all the way back to Flores. Here's a pouch for Flores. Make sure he gets this, okay?")
  38. end