Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
Vicus_Nonad.lua - Quest File
General Info
Quest File
-- items: 17012, 18009, 13181 function event_spawn(e) eq.set_timer("cough",350000); end function event_timer(e) if(e.timer == "cough") then e.self:Emote("coughs and wheezes."); end end function event_say(e) if(e.message:findi("hail")) then e.self:Say(string.format("Greetings, %s. My name is Vicus Nonad.
I am the official tax collector for the fine city of Qeynos.
I serve the will of Antonius Bayle, our glorious leader.
Please excuse my [cough].
",e.other:GetName())); elseif(e.message:findi("cough")) then e.self:Say("Oh,
I am sorry, but it seems I have fallen a bit ill. I was caught out in the rain the other day and my chills have gotten the best of me.
If only someone would [help] me with today's [collections]..
"); elseif(e.message:findi("help")) then e.self:Say("Oh thank
you so
much
.. Here is the official collection box. Please collect from each merchant on the
[list]. Then bring me back the combined total of all your collections."); e.other:SummonItem(17012); -- Item: Tax Collection Box eq.set_global("tax_collection","0",5,"F"); elseif(e.message:findi("list")) then e.self:Say("Oh.
I am sorry.. I forgot to give it to you. Here you go. Be sure to give that back when your job is finished.
"); e.other:SummonItem(18009); -- Item: List of Debtors end end function event_trade(e) local item_lib = require("items"); if(item_lib.check_turn_in(e.trade, {item1 = 13181,item2 = 18009})) then e.self:Say("
Great! Thank you so much. Here is a small gratuity for a job well done. Thank you again.
Antonius Bayle and the People of Qeynos appreciate all yo have done."); eq.delete_global("tax_collection"); e.other:Ding(); e.other:Faction(219,10,0); -- Faction: Antonius Bayle e.other:Faction(262,10,0); -- Faction: Guards of Qeynos e.other:Faction(304,-15,0); -- Faction: Ring of Scale e.other:Faction(273,-15,0); -- Faction: Kane Bayle e.other:Faction(291,10,0); -- Faction: Merchants of Qeynos e.other:AddEXP(500); e.other:GiveCash(0,1,2,0); elseif(item_lib.check_turn_in(e.trade, {item1 = 13181})) then e.self:Say("Very good
work. But I need both the full tax collection box and the list of debtors. You did get the [list] from me before you left, right?
"); e.other:SummonItem(13181); -- Item: Full Tax Collection Box elseif(item_lib.check_turn_in(e.trade, {item1 = 18009})) then e.self:Say("Very good
work. But I need both the full tax collection box and the list of debtors. You did get the [list] from me before you left, right?
"); end item_lib.return_items(e.self, e.other, e.trade) end
Source: 17 Jan 2022
Quest Source: 28 May 2022