LarsSilverbrace.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/Graystone/LarsSilverbrace.lua
  3. Script Purpose : Lars Silverbrace
  4. Script Author : John Adams/Scatman
  5. Script Date : 2008.09.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. RandomTalk(NPC, Spawn, false)
  15. end
  16. function RandomTalk(NPC, Spawn, Option)
  17. local choice = 0
  18. if Option == nil then
  19. choice = math.random(1, 100)
  20. end
  21. if choice < 25 then
  22. FaceTarget(NPC, Spawn)
  23. local choice = math.random(1, 3)
  24. if choice == 1 then
  25. PlayFlavor(NPC, "voiceover/english/dwarf_eco_good_ironforgeexchange/ft/eco/good/dwarf_eco_good_ironforgeexchange_hail_gm_a8e29d0d.mp3", "The Concordium are so consumed by their ancient tomes and dead languages that they fail to see the world right before their own noses.", "", 2358865205, 2338789833, Spawn)
  26. elseif choice == 2 then
  27. PlayFlavor(NPC, "voiceover/english/dwarf_eco_good_ironforgeexchange/ft/eco/good/dwarf_eco_good_ironforgeexchange_hail_gm_dee3d0ad.mp3", "The Ironforge Exchange constructed, brewed, tailored, forged, baked, or scribed just about everything you see here in Qeynos.", "", 1495031871, 1491125980, Spawn)
  28. else
  29. PlayFlavor(NPC, "voiceover/english/dwarf_eco_good_ironforgeexchange/ft/eco/good/dwarf_eco_good_ironforgeexchange_hail_gm_b69132af.mp3", "The Qeynos Guard recruits those who are attracted to physical activity but lack the creativity and talent required to join the Ironforge Exchange.", "", 3611623945, 4204627205, Spawn)
  30. end
  31. end
  32. end