9
3

aSapswillvillager133771752.lua 656 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/aSapswillvillager133771752.lua
  3. Script Purpose : Spawn script for a drunk Sapswill villager.
  4. Script Author : Scatman
  5. Script Date : 2009.01.11
  6. Script Notes :
  7. --]]
  8. local ADiplomaticMission = 166
  9. function spawn(NPC)
  10. SpawnSet(NPC, "visual_state", 11769)
  11. -- SpawnSet(NPC, "visual_state", 228)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. if HasQuest(Spawn, ADiplomaticMission) and not QuestStepIsComplete(Spawn, ADiplomaticMission, 2) then
  18. SetStepComplete(Spawn, ADiplomaticMission, 2)
  19. end
  20. -- FaceTarget(NPC, Spawn)
  21. Say(NPC, "...")
  22. end