<?xml version="1.0" encoding="utf-8"?><waypoints>
-- Time For Spice Daily quest by NoobBotter
-- version 1.0
--
-- Sample of how to use the DailyQuestCheck userfunction.
--
-- This waypoint does require the speed() userfunction by Rock5.

<onLoad>
	__WPL:setForcedWaypointType("TRAVEL");
	obj = player:findNearestNameOrId(123806)
	if obj and 200 > distance(player,obj) then
		speed()
		__WPL:setWaypointIndex(__WPL:findWaypointTag("startquest"))
	else	
		speed()
		__WPL:setWaypointIndex(__WPL:findWaypointTag("wp1"))
	end
</onLoad>
	<!-- #  1 --><waypoint x="-12985" z="-14194" y="191" tag="wp1">	</waypoint>
	<!-- #  2 --><waypoint x="-13108" z="-13985" y="191">	</waypoint>
	<!-- #  3 --><waypoint x="-13398" z="-13697" y="195">	</waypoint>
	<!-- #  4 --><waypoint x="-13536" z="-13368" y="223">	</waypoint>
	<!-- #  5 --><waypoint x="-13553" z="-13060" y="259">	</waypoint>
	<!-- #  6 --><waypoint x="-13542" z="-12913" y="263">	</waypoint>
	<!-- #  7 --><waypoint x="-13599" z="-12367" y="245">	</waypoint>
	<!-- #  8 --><waypoint x="-13535" z="-12251" y="258">	</waypoint>
	<!-- #  9 --><waypoint x="-13397" z="-12207" y="278">	</waypoint>
	<!-- # 10 --><waypoint x="-13285" z="-12198" y="283">	</waypoint>
	<!-- # 11 --><waypoint x="-13228" z="-12093" y="287">	</waypoint>
	<!-- # 12 --><waypoint x="-13168" z="-11844" y="281">	</waypoint>
	<!-- # 13 --><waypoint x="-13279" z="-11738" y="283">	</waypoint>
	<!-- # 14 --><waypoint x="-13348" z="-11709" y="284">	</waypoint>
	<!-- #  1 --><waypoint x="-13350" z="-11717" y="283" tag="startquest">
			player:target_NPC(123806) -- Felory
			AcceptQuestByName(427221) -- Soft and Cozy
	</waypoint>
	<!-- #  2 --><waypoint x="-13350" z="-11718" y="285">	</waypoint>
	<!-- #  3 --><waypoint x="-13350" z="-11717" y="283">	</waypoint>
	<!-- #  4 --><waypoint x="-13180" z="-11865" y="281">	</waypoint>
	<!-- #  5 --><waypoint x="-13181" z="-11944" y="284">	</waypoint>
	<!-- #  6 --><waypoint x="-13144" z="-12126" y="291">
			repeat
				local myitem = player:findNearestNameOrId(123807)
				if myitem then
					player:moveTo(myitem, true);
					player:target_Object(123807) -- Cultivated Silver Cinnamon
				end
				yrest(2000)
			until inventory:itemTotalCount(203726) >= 10
			speed()
	</waypoint>
	<!-- #  7 --><waypoint x="-13187" z="-11874" y="271">	</waypoint>
	<!-- #  8 --><waypoint x="-13206" z="-11820" y="271">	</waypoint>
	<!-- #  9 --><waypoint x="-13353" z="-11714" y="272">	
			player:target_NPC(123806) -- Felory
			CompleteQuestByName(427221) -- Soft and Cozy
			DQC_DailyQuestCheck("startquest","endwp",true,10)
	</waypoint>
	<!-- #  10 --><waypoint x="-13353" z="-11714" y="272" tag="endwp">	
			error("All done with dailies.")
	</waypoint>
</waypoints>