9
3

WholesalerBaldmaerDuneof.lua 1.2 KB

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Commonwealth/WholesalerBaldmaerDuneof.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.25 01:10:29
  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,3)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/service/housing/human_housing_service_good_1_aoi_gm_1fa85d79.mp3", "Go on, take a look at the stock. You'll never beat this price in the city. I guarantee it!", "wave", 903813734, 2512856176, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/service/merchant/human_merchant_service_good_1_hail_gm_24322c5d.mp3", "Greetings, friend traveler! We have the finest supplies to fill your adventuring needs.", "smile", 2541554579, 2951095822, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/service/merchant/human_merchant_service_good_1_hail_gm_45d92a75.mp3", "Welcome! What can I help you with?", "bow", 892528408, 239693863, Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end