9
3

Kadek.lua 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/Kadek.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.03.14 05:03:05
  5. Script Purpose :
  6. :
  7. --]]
  8. local QUEST = 406 -- Filling the Coffers quest
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. if GetQuestStep(Spawn, QUEST) == 2 and HasQuest(Spawn, QUEST) then
  14. PlayFlavor(NPC, "", "Don't hurts! Money in mailbox outside.", "", 1689589577, 4560189, Spawn)
  15. else
  16. local choice = MakeRandomInt(1, 3)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "", "The taxes here are much harsher than they should be.", "", 1689589577, 4560189, Spawn)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "", "What do the kerrans contribute to Freeport? Nothing!", "", 1689589577, 4560189, Spawn)
  21. elseif choice == 3 then
  22. PlayFlavor(NPC, "", "The kerrans would make convenient scapegoats for our situation, except that they live the same way we do... still.", "", 1689589577, 4560189, Spawn)
  23. end
  24. end
  25. end
  26. function respawn(NPC)
  27. spawn(NPC)
  28. end