BartenderPshavost.lua 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/BartenderPshavost.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.23 04:10:07
  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,3)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/ratonga_eco_evil_1/ft/service/bartender/ratonga_bartender_service_evil_1_hail_gm_c5b9c7c2.mp3", "You want to talk? If you want us to be friends all you need to do is buy a drink!", "stare", 2131223265, 1605898906, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/ratonga_eco_evil_1/ft/service/bartender/ratonga_bartender_service_evil_1_hail_gm_4b169ed.mp3", "I do believe a gratuity is in order.", "glare", 2139635297, 3079613468, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "voiceover/english/ratonga_eco_evil_1/ft/service/bartender/ratonga_bartender_service_evil_1_hail_gm_e79db99d.mp3", "So tell me, what's your poison?", "hello", 3450524843, 2155939703, Spawn, 0)
  25. end
  26. end