9
3

acommoner_female.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/Darklight/acommoner_female.lua
  3. Script Purpose : a commoner
  4. Script Author : John Adams
  5. Script Date : 2009.02.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. choice = math.random(1,6)
  21. if choice == 1 then
  22. PlayFlavor(NPC, "voiceover/english/neriak/a_commoner/darklight_wood/service/commoner_female_1_hail_b1b63b87.mp3", "Have you heard of Thelia N'Fyre, the head druid of the Shadow Oak? I hear the queen hates her. Yet nothing is done to rid Darklight of her presence.", "", 1904965620, 1308949760, Spawn)
  23. elseif choice == 2 then
  24. PlayFlavor(NPC, "voiceover/english/neriak/a_commoner/darklight_wood/service/commoner_female_2_hail_9377d0e.mp3", "Hate's Envy provides Neriak with a lot of raw ore and hard-working citizens. I think that may be why Cristanos lets them get away with such a lenient immigration policy.", "", 1200644794, 2494823979, Spawn)
  25. elseif choice == 3 then
  26. PlayFlavor(NPC, "voiceover/english/neriak/a_commoner/darklight_wood/service/commoner_female_1_hail_19fa8ff4.mp3", "How powerful would the queen be without her little Arasai?", "", 4101507312, 2547888971, Spawn)
  27. elseif choice == 4 then
  28. PlayFlavor(NPC, "voiceover/english/neriak/a_commoner/darklight_wood/service/commoner_female_2_hail_152f9f1a.mp3", "Carthen Olaren? No, I haven't heard of him.", "", 2967499882, 516031018, Spawn)
  29. elseif choice == 5 then
  30. PlayFlavor(NPC, "voiceover/english/neriak/a_commoner/darklight_wood/service/commoner_female_2_hail_4328c090.mp3", "Have you heard anything about that cult of flame worshippers?", "", 2837642152, 2610770669, Spawn)
  31. elseif choice == 6 then
  32. PlayFlavor(NPC, "voiceover/english/neriak/a_commoner/darklight_wood/service/commoner_female_1_hail_8bd689db.mp3", "I traveled through Nektulos Forest once. I do not wish to return until the Dread Guard has moved deeper in.", "", 2428812410, 2772763963, Spawn)
  33. else
  34. end
  35. end