EamricIcefist.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/Freeport/EamricIcefist.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.07 06:08:02
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local choice = math.random(1, 5)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/optional2/barbarian_eco_evil_2/ft/service/merchant/barbarian_merchant_service_evil_2_hail_gm_6ec08438.mp3", "In spite of the cost of living, it's still quite a popular item.", "ponder", 1175877866, 3405635165, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "voiceover/english/optional2/barbarian_eco_evil_2/ft/service/merchant/barbarian_merchant_service_evil_2_hail_gm_aff3fc07.mp3", "Are you going to buy anything today or am I just wasting my time? This isn't a museum display you know!", "glare", 1385543830, 1478025098, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "voiceover/english/optional2/barbarian_eco_evil_2/ft/service/merchant/barbarian_merchant_service_evil_2_hail_gm_f9745f1c.mp3", "Hello, can I offer you one of our new lifetime extended warranties for any merchandise you purchase?", "nod", 1878964126, 1075081009, Spawn)
  19. elseif choice == 4 then
  20. PlayFlavor(NPC, "voiceover/english/optional2/barbarian_eco_evil_2/ft/service/merchant/barbarian_merchant_service_evil_2_hail_gm_f715099e.mp3", "Hello there, kind adventurer. My merchandise carries the seal of the Overlord himself! Go ahead, take a look!", "salute_freeport", 4083683158, 113009629, Spawn)
  21. else
  22. PlayFlavor(NPC, "", "What do you want?", "glare", 1689589577, 4560189, Spawn)
  23. end
  24. end
  25. function respawn(NPC)
  26. end