PrestonPepperpicker.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/PrestonPepperpicker.lua
  3. Script Purpose : Preston Pepperpicker <Picker of Peppers>
  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, "preston_pepperpicker/_exp03/deity/bristlebane/preston/preston001.mp3", "", "", 3088335751, 4271045047, Spawn)
  22. StartConversation(conversation, NPC, Spawn, "Preston Pepperpicker's the name. I'm poised to appeal to your particular penchant for powerful peppers! Go on, please peruse!")
  23. end
  24. function dlg_75_1(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. PlayFlavor(NPC, "preston_pepperpicker/_exp03/deity/bristlebane/preston/preston001.mp3", "", "", 3088335751, 4271045047, Spawn)
  28. StartConversation(conversation, NPC, Spawn, "Preston Pepperpicker's the name. I'm poised to appeal to your particular penchant for powerful peppers! Go on, please peruse!")
  29. end