YolaSindlefop.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/YolaSindlefop.lua
  3. Script Purpose : Yola Sindlefop
  4. Script Author : Scatman
  5. Script Date : 2009.09.27
  6. Script Notes :
  7. --]]
  8. local YolaPicnic = 5442
  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 GetQuestStep(Spawn, YolaPicnic) == 1 then
  18. AddConversationOption(conversation, "Here is your food order!", "HandOver")
  19. end
  20. PlayFlavor(NPC, "voiceover/english/yola_sindlefop/qey_village06/yolasindlefop000.mp3", "", "", 2042293032, 669099653, Spawn)
  21. AddConversationOption(conversation, "Sorry to hear that.")
  22. StartConversation(conversation, NPC, Spawn, "Hello there! Isn't this a lovely spot? It's not the vale, but I was too young to really remember much when we left anyway.")
  23. end
  24. function HandOver(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. SetStepComplete(Spawn, YolaPicnic, 1)
  28. PlayFlavor(NPC, "voiceover/english/yola_sindlefop/qey_village06/yolasindlefop001.mp3", "", "thank", 3230142409, 154316341, Spawn)
  29. AddConversationOption(conversation, "Enjoy.")
  30. StartConversation(conversation, NPC, Spawn, "Oh I'm so glad he didn't forget. That Bregun, he's always doing the right thing at the right time. And thank you for delievering it! I'm starving.")
  31. end