RennyParvat.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/DagbartFalkren.lua
  3. Script Purpose : Dagbart Falkren <Collector>
  4. Script Author : theFoof
  5. Script Date : 2013.10.30
  6. Script Notes :
  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. conversation = CreateConversation()
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1046.mp3", "", "hello", 0, 0, Spawn)
  17. if HasCollectionsToHandIn(Spawn) then
  18. AddConversationOption(conversation, "I have a collection for you.", "TurnInColls")
  19. end
  20. AddConversationOption(conversation, "What collections?", "whatcollections")
  21. AddConversationOption(conversation, "Goodbye!")
  22. StartConversation(conversation, NPC, Spawn, "What are you looking at? Stay away from me, and keep your hands off my collections, you scumbag!")
  23. end
  24. function TurnInColls(NPC, Spawn)
  25. HandInCollections(Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. AddConversationOption(conversation, "All right, thanks!")
  29. StartConversation(conversation, NPC, Spawn, "This is a magnificent find! Here, take this for all your hard work.")
  30. end
  31. function whatcollections(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. conversation = CreateConversation()
  34. AddConversationOption(conversation, "I'll just be on my way.")
  35. StartConversation(conversation, NPC, Spawn, "What collections? What do you mean, ''What collections?'' My collections, you fool! If you think you're going to get them from me, you're wrong! But if you have something to donate, then maybe we can talk.")
  36. end