Geddard.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/antonica/Geddard.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.26 07:06:47
  5. Script Purpose :
  6. :
  7. --]]
  8. local DeliveriesForFlores = 5333 -- Deliveries For Flores Quest
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. PlayFlavor(NPC, "voiceover/english/merchant_geddard/antonica/merchantgeddard000.mp3", "", "", 1542141863, 1883255955, Spawn)
  14. conversation = CreateConversation()
  15. if GetQuestStep(Spawn, DeliveriesForFlores) == 2 then
  16. AddConversationOption(conversation, "I'm here to deliver a crate of supplies from Flores.", "Option1")
  17. end
  18. AddConversationOption(conversation, "Nothing right now thanks.")
  19. StartConversation(conversation, NPC, Spawn, "Welcome to Gnollslayer Keep! I'm Geddard, the only merchant for leagues. If I don't got it, you don't need it! What'll it be for you today?")
  20. end
  21. function Option1(NPC, Spawn)
  22. SetStepComplete(Spawn, DeliveriesForFlores, 2)
  23. FaceTarget(NPC, Spawn)
  24. local conversation = CreateConversation()
  25. PlayFlavor(NPC, "voiceover/english/merchant_geddard/antonica/merchantgeddard001.mp3", "", "", 3026041322, 2122466947, Spawn)
  26. AddConversationOption(conversation, "I will, take care! Good luck with your sales.")
  27. StartConversation(conversation, NPC, Spawn, "Why didn't you say so? Let me see what you've brought...excellent! I'll take that crate you're carrying. And here's the pouch for Flores. ")
  28. end
  29. function respawn(NPC)
  30. spawn(NPC)
  31. end