aFreeportresident.lua 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : SpawnScripts/Freeport/aFreeportresident.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.13 08:07:34
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. if GetRace(NPC) == 9 and GetGender(NPC) == 1 then
  13. local choice = math.random(1, 7)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/optional2/human_eco_evil_2/ft/human/human_eco_evil_2_hail_gm_e029416.mp3", "You're lucky there are witnesses watching us right now.", "cutthroat", 2950300370, 3231135751, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "", "There's plenty coin to be made around here, particularly if you're not burdened with morals.", "scheme", 1689589577, 4560189, Spawn)
  18. elseif choice == 3 then
  19. PlayFlavor(NPC, "voiceover/english/optional2/human_eco_evil_2/ft/human/human_eco_evil_2_hail_gm_c467886b.mp3", "If you're looking for trouble, I've got a whole fistful of it waiting for you.", "threaten", 2550764265, 16200429, Spawn)
  20. elseif choice == 4 then
  21. PlayFlavor(NPC, "voiceover/english/optional2/human_eco_evil_2/ft/human/human_eco_evil_2_hail_gm_daf01a19.mp3", "If I had another five or six ales, maybe I wouldn't mind talking to you.", "chuckle", 2320297447, 2667582898, Spawn)
  22. elseif choice == 5 then
  23. PlayFlavor(NPC, "", "Knowing the right people will keep you safe in this city. The same could be said of the wrong people", "chuckle", 1689589577, 4560189, Spawn)
  24. elseif choice == 6 then
  25. PlayFlavor(NPC, "", "Steer clear of those Wraithguards. That is, if you know what's good for you.", "scold", 1689589577, 4560189, Spawn)
  26. else
  27. PlayFlavor(NPC, "", "The Overlord be praised! The splendor of this city has been restored.", "smile", 1689589577, 4560189, Spawn)
  28. end
  29. end
  30. if GetRace(NPC) == 1 and GetGender(NPC) == 1 then
  31. local choice = math.random(1, 7)
  32. if choice == 1 then
  33. PlayFlavor(NPC, "voiceover/english/optional2/darkelf_eco_evil_3/ft/darkelf/darkelf_eco_evil_3_hail_gm_5d807cef.mp3", "What I would give to strike down a Feir'Dal in battle.", "scream", 4054961943, 512995397, Spawn)
  34. elseif choice == 2 then
  35. PlayFlavor(NPC, "", "It was the Thexian Teir'Dal that caused the trouble in Freeport. They need to be wiped out.", "nod", 1689589577, 4560189, Spawn)
  36. elseif choice == 3 then
  37. PlayFlavor(NPC, "voiceover/english/optional2/darkelf_eco_evil_3/ft/darkelf/darkelf_eco_evil_3_hail_gm_beeaa42c.mp3", "I would never raise a hand to one below my station. That's what servants are for.", "wink", 3711989495, 2082719188, Spawn)
  38. elseif choice == 4 then
  39. PlayFlavor(NPC, "", "If ever a Wraithguard calls upon you, I suggest you do not hesitate to comply.", "agree", 1689589577, 4560189, Spawn)
  40. else
  41. PlayFlavor(NPC, "voiceover/english/optional2/darkelf_eco_evil_3/ft/darkelf/darkelf_eco_evil_3_hail_gm_60bb96c.mp3", "If you do it right, pain is the gift that keeps on giving", "chuckle", 1148322483, 153866885, Spawn)
  42. end
  43. end
  44. end
  45. function respawn(NPC)
  46. end