AcommemorativeQeynosCoin.lua 1.1 KB

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : ItemScripts/AcommemorativeQeynosCoin.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.05.30 08:05:12
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function examined(Item, Player)
  10. if HasCompletedQuest(Player,164) then
  11. conversation = CreateConversation()
  12. PlayFlavor(Player,"voiceover/english/tullia_domna/fprt_hood04/quests/tulladomna/tulla_x1_initial.mp3","","",309451026,621524268,Player)
  13. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  14. StartDialogConversation(conversation, 2, Item, Player, "As you clutch the coin in your hand, you hear a voice magically speaking in your mind.")
  15. else
  16. conversation = CreateConversation()
  17. AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
  18. StartDialogConversation(conversation, 2, Item, Player, "The coin is cold and unresponsive. You feel a slight twinge of guilt, as if the coin knows you didn't obtain it appropriately.")
  19. end
  20. end
  21. function CloseConvo(Item,Player)
  22. CloseItemConversation(Item,Player)
  23. end