mmp = mmp or {}
mmp.remapPath = function()
if mmp.settings.duanathar == false and mmp.settings.duanatharan == false then return end -- no wings, no point
if #mmp.speedWalkPath > 0 then -- there is a destination
local destination = mmp.speedWalkPath[#mmp.speedWalkPath]
mmp.echo(string.format("Remapping path to %d (%s)",destination, getRoomName(destination)))
mmp.gotoRoom(destination, gallop)
end
end
mmp.createTrigger = function()
if seaLionCoveTrigger then killTrigger(seaLionCoveTrigger) seaLionCoveTrigger = nil end
seaLionCoveTrigger = tempExactMatchTrigger("As your fingertips break through the swirling mist of a shimmering portal, you are tugged through to the distant Sea Lion Cove.", [[mmp.remapPath()]])
end
mmp.createTrigger() --would prefer to use an event, but can't find an appropriate one