Profallia.lua 1.4 KB

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/Profallia.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.19 12:06:55
  5. Script Purpose :
  6. :
  7. --]]
  8. function hailed(NPC, Spawn)
  9. RandomGreeting(NPC, Spawn)
  10. end
  11. function RandomGreeting(NPC, Spawn)
  12. local choice = MakeRandomInt(1,4)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/broker_profallia/fprt_west/032_con_merchant_profallia_human_2_aoi_65b7b1d5.mp3", "Who are you? What do you want from me?", "point", 1219053993, 681420516, Spawn, 0)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "voiceover/english/broker_profallia/fprt_west/032_con_merchant_profallia_human_2_aoi_2ca03ff3.mp3", "Greetings, citizen. Is there something in particular you're looking for?", "bow", 404333104, 1493988687, Spawn, 0)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "voiceover/english/broker_profallia/fprt_west/032_con_merchant_profallia_human_2_hail_edb9086a.mp3", "Wait a minute, please forgive me. What was it you were looking for again?", "ponder", 3983316398, 2932583718, Spawn, 0)
  19. elseif choice == 4 then
  20. PlayFlavor(NPC, "voiceover/english/broker_profallia/fprt_west/032_con_merchant_profallia_human_2_hail_99f4830c.mp3", "Hey, you look just like my cousin Flavious. Well, except for the big scar and missing teeth, you're almost identical!", "bow", 2353321886, 1463934649, Spawn, 0)
  21. end
  22. end