Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
#Master_Stonespiritist_Okkanu.lua - Quest File
General Info
Quest File
function event_say(e) local qglobals = eq.get_qglobals(e.other) local has_tipt_access = (qglobals.god_tipt_access and qglobals.god_tipt_access == "1") local has_kodtaz_access = (qglobals.god_kodtaz_access and qglobals.god_kodtaz_access == "1") local tipt_flag_key = string.format("%s-god_tipt", e.other:CharacterID()) if e.message:findi("hail") then -- this expedition gets locked so no need to track flagged count if has_kodtaz_access then e.other:Message(MT.NPCQuestSay, "Okkanu tells you, 'I'm afraid that I have already aided as many as I can, I do not have the strength to assist you further.") else -- live gives the same message whether it's a temporary or permanent flag e.other:Message(MT.NPCQuestSay, "Okkanu tells you, 'I'm sorry, I can do nothing for you my friend. Your bravery is notable, but I'm sure you can understand that we just can't trust anyone with our ancient magic. It would be far too dangerous for my people.'") e.other:Message(15, "You have gained a temporary character flag! Seek the High Priest's Scribe to find out more information.") if has_tipt_access then eq.set_data(tipt_flag_key, "1") eq.set_global("god_kodtaz_access", "1", 5, "F") -- make permanent else eq.set_data(tipt_flag_key, "T") end end end end
Source: 17 Jan 2022
Quest Source: 28 May 2022