NathanIronforge.lua 709 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/FrostfellWonderlandVillage/NathanIronforge.lua
  3. Script Purpose : Nathan Ironforge
  4. Script Author : Cynnar
  5. Script Date : 2019.10.29
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. local choice = math.random(1,2)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "", "Coulth you gef me some hop wawer?", "", 1689589577, 4560189, Spawn)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "", "mmmnnthm mthmmnnn!!", "", 1689589577, 4560189, Spawn)
  21. else
  22. end
  23. end