<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
version 1.0
-- starts at portal in ruins.   
changeProfileOption("MAX_TARGET_DIST", 1)

function dothedaily()
	local dqCount = RoMScript("Daily_count()")
	print ("dailys =",dqCount)
	if RoMScript("Daily_count()") ~= 10 and inventory:itemTotalCount(209436) >= 10 then
		print ( "Sweet Demon Bloom Honey = ",inventory:itemTotalCount(209436)) 
		if  inventory:itemTotalCount(209436) >= 10 then  -- Sweet Demon Bloom Honey
			travelTo("RuinsResearch")
			__WPL:setForcedWaypointType("TRAVEL");		
			player:moveTo(CWaypoint(996, 13375, 343),true)
			player:moveTo(CWaypoint(1098, 13301, 332),true)
			player:moveTo(CWaypoint(1768, 13271, 333),true)
			player:moveTo(CWaypoint(3924, 13184, 222),true)
			player:moveTo(CWaypoint(5708, 12789, 161),true)
			player:moveTo(CWaypoint(7420, 12227),true)
			player:moveTo(CWaypoint(-23163, 4520),true)
			player:moveTo(CWaypoint(7420, 12227),true)
			player:moveTo(CWaypoint(7414, 12340, -60),true)
			while inventory:itemTotalCount(209436) >= 10 and RoMScript("Daily_count()") ~= 10 do  --Sweet Demon Bloom Honey
				yrest(300);
				player:target_NPC(117776); -- Chef Fhil
				AcceptQuestByName(424161) -- Crucial Ingredient for a Legendary Recipe
					yrest(100);
				player:target_NPC(117776); -- Chef Fhil
				CompleteQuestByName(424161) -- Crucial Ingredient for a Legendary Recipe
					yrest(100);
				local dqCount, dqPerDay = RoMScript("Daily_count()");
			end
			player:moveTo(CWaypoint(7414, 12340, -60),true)
			player:moveTo(CWaypoint(7420, 12227),true)
			player:moveTo(CWaypoint(5708, 12789, 161),true)
			player:moveTo(CWaypoint(3924, 13184, 222),true)
			player:moveTo(CWaypoint(1768, 13271, 333),true)
			player:moveTo(CWaypoint(1098, 13301, 332),true)
			player:moveTo(CWaypoint(996, 13375, 343),true)
		end
	end
end
dothedaily()
error("finished")
</onload>
</waypoints>


