LiegeHelvanica.lua 1.2 KB

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/WestFreeport/LiegeHelvanica.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.26 07:10:40
  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. RandomGreeting(NPC, Spawn)
  15. end
  16. function RandomGreeting(NPC, Spawn)
  17. local choice = MakeRandomInt(1,2)
  18. if choice == 1 then
  19. -- PlayFlavor(NPC, "voiceover/english/liege_helvanica/fprt_west/100_soc_human_militia_helvanica_tasked_d91c9a23.mp3", "Return when you have finished your present task.", "", 1637985737, 3395456037, Spawn, 0)
  20. PlayFlavor(NPC, "voiceover/english/liege_helvanica/fprt_west/100_soc_human_militia_helvanica_no_5a6d5fb9.mp3", "Hail, fool. Have the poorhouses overflowed out into the streets? The militia has no time for vagrants! Get out of my sight!", "glare", 3239214506, 3877091290, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/liege_helvanica/fprt_west/100_soc_human_militia_helvanica_no_5a6d5fb9.mp3", "Hail, fool. Have the poorhouses overflowed out into the streets? The militia has no time for vagrants! Get out of my sight!", "stare", 3239214506, 3877091290, Spawn, 0)
  23. end
  24. end