9
3

LarsSilverbrace.lua 1.6 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. SetInfoStructString(NPC, "action_state", "orate")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. RandomTalk(NPC, Spawn, false)
  16. end
  17. function RandomTalk(NPC, Spawn, Option)
  18. local choice = 0
  19. if Option == nil then
  20. choice = math.random(1, 100)
  21. end
  22. if choice < 25 then
  23. FaceTarget(NPC, Spawn)
  24. local choice = math.random(1, 3)
  25. if choice == 1 then
  26. 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)
  27. elseif choice == 2 then
  28. 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)
  29. else
  30. 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)
  31. end
  32. end
  33. end