aFrostfellfaun.lua 853 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/FrostfellWonderlandVillage/aFrostfellfaun.lua
  3. Script Purpose : a Frostfell faun
  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. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. local choice = math.random(1,4)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "", "Baaaaahhh!", "", 1689589577, 4560189, Spawn)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "", "You can leave your fauns behind!", "", 1689589577, 4560189, Spawn)
  20. elseif choice == 3 then
  21. PlayFlavor(NPC, "", "You can dance if you want to!", "", 1689589577, 4560189, Spawn)
  22. elseif choice == 4 then
  23. PlayFlavor(NPC, "", "Happy Frostfell!", "", 1689589577, 4560189, Spawn)
  24. else
  25. end
  26. end