9
3

Breezebloom.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/Breezebloom.lua
  3. Script Purpose : Breezebloom <Merchant>
  4. Script Author : John Adams
  5. Script Date : 2009.02.05
  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. choice = math.random(1,3)
  21. if choice == 1 then
  22. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/merchant_breezebloom/_exp03/exp03_rgn_greater_faydark/quest/nursery_merchant_breezebloom_hello_17d90830.mp3", "My job is to meet the equipment needs of the newly awakened fae.", "hello", 3333178819, 1069024420, Spawn)
  23. elseif choice == 2 then
  24. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/merchant_breezebloom/_exp03/exp03_rgn_greater_faydark/quest/nursery_merchant_breezebloom_hello_5fd9bd08.mp3", "The concept of money is still pretty new to us, but I think we've adapted well.", "converse_female01", 2155291729, 1651860929, Spawn)
  25. elseif choice == 3 then
  26. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/merchant_breezebloom/_exp03/exp03_rgn_greater_faydark/quest/nursery_merchant_breezebloom_hello_f290d965.mp3", "One fae's trash is another fae's treasure, that's what I always say!", "smile", 2307932947, 1948449842, Spawn)
  27. else
  28. end
  29. end