Addison.lua 850 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/Antonica/Addison.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.09.05 06:09:14
  5. Script Purpose :
  6. :
  7. --]]
  8. require("SpawnScripts/Generic/GenericVoiceOvers")
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. GenericHail(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. local choice = MakeRandomInt(1, 2)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "", "Hello, friend. Welcome to my shop.", "", 1689589577, 4560189, Spawn)
  17. elseif choice == 2 then
  18. PlayFlavor(NPC, "", "If I know you adventuring types, you'll need one of these.", "", 1689589577, 4560189, Spawn)
  19. elseif choice == 3 then
  20. PlayFlavor(NPC, "", "Good day, adventurer. Care to take a look at my merchandise?", "", 1689589577, 4560189, Spawn)
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end