EQ2EMu/server/ItemScripts/GoblinAttackPlan.lua
2022-10-16 17:40:14 +00:00

26 lines
No EOL
1.2 KiB
Lua
Executable file

--[[
Script Name : ItemScripts/GoblinAttackPlan.lua
Script Author : Dorbin
Script Date : 2022.09.20 02:09:29
Script Purpose :
:
--]]
local saboteur = 5748
function examined(Item, Player)
conversation = CreateConversation()
if not HasQuest(Player, saboteur) and not HasCompletedQuest(Player,saboteur) then
AddConversationOption(conversation, "[Read the scribbles on the note]", "QuestStart")
end
AddConversationOption(conversation, "[Put the parchment away]", "CloseItemConversation")
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.")
end
function QuestStart(Item,Player)
OfferQuest(nil,Player,saboteur)
conversation = CreateConversation()
AddConversationOption(conversation, "[Put the parchment away]", "CloseItemConversation")
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.\"")
end