mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
32 lines
No EOL
1.1 KiB
Lua
Executable file
32 lines
No EOL
1.1 KiB
Lua
Executable file
--[[
|
|
Script Name : ItemScripts/LargeVerminNotice.lua
|
|
Script Purpose : Offers quest "Big Pests"
|
|
Script Author : premierio015
|
|
Script Date : 20.06.2020
|
|
Script Notes :
|
|
--]]
|
|
|
|
local quest = 571 -- Big Pests Quest ID
|
|
|
|
function examined(Item, Player)
|
|
if not HasQuest(Player, quest) then
|
|
conversation = CreateConversation()
|
|
AddConversationOption(conversation, "Read On", "Rats")
|
|
AddConversationOption(conversation, "Put note away.", "CloseItemConversation")
|
|
StartDialogConversation(conversation, 2, Item, Player, "There are reports of a real threat deep within the Vermin's Snye....")
|
|
elseif HasQuest(Player, quest) then
|
|
RemoveItem(Player, 8789)
|
|
end
|
|
end
|
|
|
|
function Rats(Item, Player)
|
|
conversation = CreateConversation()
|
|
|
|
AddConversationOption(conversation, "Very well", "QuestOffer")
|
|
AddConversationOption(conversation, "No thanks", "CloseItemConversation")
|
|
StartDialogConversation(conversation, 2, Item, Player, "...of large tomb vermin spreading diseases! They must hereby be dealt with accordingly. Termination on sight.")
|
|
end
|
|
|
|
function QuestOffer(Item, Player)
|
|
OfferQuest(nil, Player, quest)
|
|
end |