Trueshot.lua 1.3 KB

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/WillowWood/Trueshot.lua
  3. Script Purpose : Trueshot <Bowyer>
  4. Script Author : Scatman
  5. Script Date : 2009.09.15
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. local choice = math.random(1, 4)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/service/merchant/woodelf_merchant_service_good_1_hail_gm_24322c5d.mp3", "Greetings, friend traveler! We have the finest supplies to fill your adventuring needs.", "smile", 1759256427, 830987678, Spawn)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/service/merchant/woodelf_merchant_service_good_1_hail_gm_e4fa2bd8.mp3", "Confound it! Where did I put that ledger? It must be around here somewhere!", "confused", 2211929083, 2050297502, Spawn)
  20. elseif choice == 3 then
  21. PlayFlavor(NPC, "", "If steel is what you seek, traveler, then look no further.", "", 1689589577, 4560189, Spawn)
  22. elseif choice == 4 then
  23. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/service/merchant/woodelf_merchant_service_good_1_hail_gm_ae84abf9.mp3", "Go on, take a look at the stock. You'll never beat this price in the city. I guarantee it!", "wink", 1332319343, 1214035917, Spawn)
  24. end
  25. end