9
3

CeftStoutarm.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/CeftStoutarm.lua
  3. Script Purpose : Ceft Stoutarm
  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, "ceft_stoutarm/_exp03/exp03_rgn_greater_faydark/ceft_stoutarm/ceft_001.mp3", "", "", 3428054775, 3943106008, Spawn)
  22. AddConversationOption(conversation, "Is everything okay?", "dlg_19_1")
  23. AddConversationOption(conversation, "I don't care.")
  24. StartConversation(conversation, NPC, Spawn, "Well, hello there. if you're here to buy some ale, you're going to have to wait a while. It seems the magic of getting here affected some of my supplies.")
  25. end
  26. function dlg_19_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "ceft_stoutarm/_exp03/exp03_rgn_greater_faydark/ceft_stoutarm/ceft_002.mp3", "", "", 1222026654, 3497444691, Spawn)
  30. AddConversationOption(conversation, "Do you want me to get you a stick?", "dlg_19_2")
  31. AddConversationOption(conversation, "A stick? Get it yourself.")
  32. StartConversation(conversation, NPC, Spawn, "It hasn’t been the best trip for me that’s for sure. If you want any of my ale you are going to have to help out. My stir stick was broken by Grum, and now I am in need of another one. But it's not like I can use just any stick.")
  33. end
  34. function dlg_19_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "ceft_stoutarm/_exp03/exp03_rgn_greater_faydark/ceft_stoutarm/ceft_003.mp3", "", "", 649655305, 3225332806, Spawn)
  38. AddConversationOption(conversation, "I will find the most wicked tree in the faydark.", "dlg_19_3")
  39. StartConversation(conversation, NPC, Spawn, "The stick needs to come from a tree that is home to bees. If you can find it on an evil tree that’s even better since it will impart some of its spirit to the ale.")
  40. end