ThekelaGillywump.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/ThekelaGillywump.lua
  3. Script Purpose : Thekela Gillywump
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  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. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/thekela_gillywump/_exp03/exp03_rgn_greater_faydark/scp/thekela/thekela000.mp3", "", "", 1458913689, 1852168109, Spawn)
  22. AddConversationOption(conversation, "XXXXXXXX.", "dlg_33_1")
  23. StartConversation(conversation, NPC, Spawn, "Greetings! I'm Thekela! What's your name?")
  24. end
  25. function dlg_33_1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/thekela_gillywump/_exp03/exp03_rgn_greater_faydark/scp/thekela/thekela001.mp3", "", "", 2313264132, 2462849563, Spawn)
  29. AddConversationOption(conversation, "What do you need?", "dlg_33_2")
  30. StartConversation(conversation, NPC, Spawn, "It's a pleasure to meet you, .. GetName(Spawn) .. . Say, if you're going to be helping Jenthis out, how'd you like to gather some ingredients for my cooking?")
  31. end
  32. function dlg_33_2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/thekela_gillywump/_exp03/exp03_rgn_greater_faydark/scp/thekela/thekela002.mp3", "", "", 3411928341, 3381720539, Spawn)
  36. AddConversationOption(conversation, "Sure, I'll fetch some honey.", "dlg_33_3")
  37. StartConversation(conversation, NPC, Spawn, "Lots of stuff. Normally, Brodo does the restocking for me, but he's been preoccupied lately and he really hasn't been much help. If you're willing, I could really use some honey. East of Memorial Hill--which overlooks Sapling Spur Outpost just to the east--the Growzzat bixies keep lots of honey. Would you be dear and fetch me some?")
  38. end
  39. function dlg_33_3(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/thekela_gillywump/_exp03/exp03_rgn_greater_faydark/scp/thekela/thekela003.mp3", "", "", 4020219974, 1441799321, Spawn)
  43. AddConversationOption(conversation, "I'll be back.", "dlg_33_4")
  44. StartConversation(conversation, NPC, Spawn, "Great! They store their honey on the trees in small hives. They shouldn't be too hard to find!")
  45. end