GoblinAttackPlan.lua 1.2 KB

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : ItemScripts/GoblinAttackPlan.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.20 02:09:29
  5. Script Purpose :
  6. :
  7. --]]
  8. local saboteur = 5748
  9. function examined(Item, Player)
  10. conversation = CreateConversation()
  11. if not HasQuest(Player, saboteur) and not HasCompletedQuest(Player,saboteur) then
  12. AddConversationOption(conversation, "[Read the scribbles on the note]", "QuestStart")
  13. end
  14. AddConversationOption(conversation, "[Put the parchment away]", "CloseItemConversation")
  15. StartDialogConversation(conversation, 2, Item, Player, "The note is tattered and wrinkled with dirt smudges here and there. There are crude scrawlings and scribbles all over the page. You may be able to make some of it out.")
  16. end
  17. function QuestStart(Item,Player)
  18. OfferQuest(nil,Player,saboteur)
  19. conversation = CreateConversation()
  20. AddConversationOption(conversation, "[Put the parchment away]", "CloseItemConversation")
  21. StartDialogConversation(conversation, 2, Item, Player, "\"Bossy say to break floaties. Go hide down at beach on goblin side. Smash and bash next floaty that come. Use hot stickies to burn down floaty. No let more big peoples come here.\"")
  22. end