Quigley.lua 684 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Antonica/Quigley.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.27 06:06:23
  5. Script Purpose :
  6. :
  7. --]]
  8. require("SpawnScripts/Generic/GenericVoiceOvers")
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. GenericHail(NPC, Spawn)
  14. local choice = MakeRandomInt(1,2)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "", "Good day, adventurer. Care to take a look at my merchandise?", "", 0, 0, Spawn, 0)
  17. elseif choice == 2 then
  18. PlayFlavor(NPC, "", "Hello, friend. Welcome to my shop.", "", 0, 0, Spawn, 0)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end