9
3

finalnotice.lua 943 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : ItemScripts/finalnotice.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.07.01 06:07:12
  5. Script Purpose :
  6. :
  7. --]]
  8. local CrazyIsAsCrazyDoes = 567
  9. local ItemID = 7239
  10. function examined(Item, Player)
  11. if not HasQuest(Player, CrazyIsAsCrazyDoes) and not HasCompletedQuest(Player, CrazyIsAsCrazyDoes) then
  12. OfferQuest(nil, Player, CrazyIsAsCrazyDoes)
  13. end
  14. conversation = CreateConversation()
  15. AddConversationOption(conversation, "Put note away")
  16. StartDialogConversation(conversation, 2, Item, Player, "I gave a sprocket and he took a cog! What was I thinking? That Crazy Peepers, he's not one of us, just for that I want his non-tinkering over sized non-spec head dead!")
  17. end
  18. function obtained(Player, CrazyIsAsCrazyDoes)
  19. if HasQuest(Player, CrazyIsAsCrazyDoes) or HasCompletedQuest(Player, CrazyIsAsCrazyDoes) then
  20. RemoveItem(Player, ItemID)
  21. end
  22. end