9
3

MerchantSvasha.lua 1.9 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/MerchantSvasha.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.23 04: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. FaceTarget(NPC,Spawn)
  15. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,5)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/ratonga_eco_evil_1/ft/service/housing/ratonga_housing_service_evil_1_hail_gf_1330ddd8.mp3", "We don't sell contraband furnishings here. We sell only pieces approved by the Overlord!", "salute_freeport", 1392993711, 273366781, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/ratonga_eco_evil_1/ft/service/housing/ratonga_housing_service_evil_1_hail_gf_33fe2ae6.mp3", "Don't be ashamed, friend. We have pieces that even ratongas can afford!", "wink", 4096328055, 3693524473, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "voiceover/english/ratonga_eco_evil_1/ft/service/housing/ratonga_housing_service_evil_1_hail_gf_b7e3bdf0.mp3", "Welcome friend of the Overlord, please look around. We have several pieces from the Citadel itself! ", "bow", 1752480420, 1670014463, Spawn, 0)
  25. elseif choice == 4 then
  26. PlayFlavor(NPC, "voiceover/english/ratonga_eco_evil_1/ft/service/housing/ratonga_housing_service_evil_1_hail_gf_157bc4f4.mp3", "Please don't touch anything. This isn't a museum. If you break it, you buy it!", "scold", 3969302593, 2173248115, Spawn, 0)
  27. elseif choice == 5 then
  28. PlayFlavor(NPC, "voiceover/english/ratonga_eco_evil_1/ft/service/housing/ratonga_housing_service_evil_1_aoi_gf_37d02a81.mp3", "This is it, adventurer, the Sir Lucan day sale! For the next 24 hours no interest until the next cataclysm! ", "beckon", 3327307554, 1657108613, Spawn, 0)
  29. end
  30. end