9
3

EntertainerFaeadaen.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/Castleview/EntertainerFaeadaen.lua
  3. Script Purpose : Entertainer Faeadaen
  4. Script Author : Scatman
  5. Script Date : 2009.10.03
  6. Script Notes :
  7. --]]
  8. local Quest = 238
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, Quest)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. PlayFlavor(NPC, "voiceover/english/entertainer_faeadaen/qey_village04/100_entertainer_faeadaen_multhail2_2d3351bb.mp3", "Step up and watch as I make lights dance and coins disappear into thin air!", "flirt", 3189499038, 1784304503)
  18. local con = CreateConversation()
  19. AddConversationOption(con, "I want a quest", "GiveQuest")
  20. AddConversationOption(con, "Nothing, goodbye.")
  21. StartConversation(con, NPC, Spawn, "Hello, what can I do for you today?")
  22. end
  23. function GiveQuest(NPC, Spawn)
  24. OfferQuest(NPC, Spawn, Quest)
  25. end
  26. function AcceptedQuest(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. local con = CreateConversation()
  29. AddConversationOption(con, "You won't.")
  30. StartConversation(con, NPC, Spawn, "I hope I won't regret this.")
  31. end