Frrin.lua 741 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/TheLostVillageofKugup/Frrin.lua
  3. Script Purpose : Frrin
  4. Script Author : neatz09
  5. Script Date : 2023.05.06
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,2)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "", "Hrumph... Well, I've got plenty more anyways...", "", 0, 0, Spawn, 0) --quest
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "", "Hey! What do you think you're doing? That's mine! Give it back!", "curse", 0, 0, Spawn, 0) --quest
  23. end
  24. end