TalaMcmorgan.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/TalaMcmorgan.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.08 10:10:35
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. RandomGreeting(NPC, Spawn)
  15. end
  16. function RandomGreeting(NPC, Spawn)
  17. local choice = MakeRandomInt(1,4)
  18. if choice == 1 then
  19. PlayFlavor(NPC, "voiceover/english/barbarian_eco_good_1/ft/service/armorsmith/barbarian_armorsmith_service_good_1_hail_gf_bb02310.mp3", "Coin is no object when gaining protection from your enemies. What price can be put on your safety? ", "glare", 1808847364, 1800754828, Spawn, 0)
  20. elseif choice == 2 then
  21. PlayFlavor(NPC, "voiceover/english/barbarian_eco_good_1/ft/service/armorsmith/barbarian_armorsmith_service_good_1_hail_gf_af50709c.mp3", "I have some nice new suits of chain that have stood up very well. Would you like to see them?", "shrug", 2528208011, 314481755, Spawn, 0)
  22. elseif choice == 3 then
  23. PlayFlavor(NPC, "voiceover/english/barbarian_eco_good_1/ft/service/armorsmith/barbarian_armorsmith_service_good_1_hail_gf_db7232a3.mp3", "Well, that suit is looking a mite worn. Can I interest you in a new suit of fine armor? ", "ponder", 2370049606, 3595933310, Spawn, 0)
  24. elseif choice == 4 then
  25. PlayFlavor(NPC, "voiceover/english/barbarian_eco_good_1/ft/service/armorsmith/barbarian_armorsmith_service_good_1_hail_gf_58a92b79.mp3", "You can never be too careful when it comes to protection. Here, try on one of these.", "agree", 1311124231, 2419539486, Spawn, 0)
  26. end
  27. end