﻿<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="300,300" MaximumSize="140,140" MinimumSize="140,70" Name="Harvesting" OnHide="OpenState=Visible DoResetAddWin.Visible=true" OnHoverIn="DoResetAddWin.Visible=true" OnShow="OpenState=Visible Init.Visible=true" OpenState="false" ScrollExtent="140,140" Size="140,140" UserMovable="true" UserResizable="true" DarqUI="3.005" Visible="false">
	<include>POI/darquiv3_harvesting.xml</include>
	<Page Name="Vars">
		<Data Name="0" Tag="Speed" Value="50" />
	</Page>
	<Page Name="S0" />
	<Text Name="CharName" LastChar="CharName" OnTextChanged="COND1=(Text=='CharName')&#xD;&#xA;COND2=(Text==LastChar)&#xD;&#xA;COND3=(Text=='')&#xD;&#xA;COND=(COND1 || COND2 || COND3)&#xD;&#xA;Parent.Init.Visible=COND ? false : true&#xD;&#xA;LastChar=Text" />
	<Text DynamicData="/GameData.Self.Name" Name="SelfName" OnTextChanged="Parent.CharName.Text=LocalText">CharName</Text>
	<Page Name="Init" OnShow="
		Parent.Ret.Params=('Parent.Parent.Parent.MainHUD.WindowManager.DarqUI.')##(Parent.Name)##('.')##(Parent.CharName.Text)&#xD;&#xA;Parent.Ret.OnShow=('Value=')##(Parent.Ret.Params)&#xD;&#xA;Parent.Ret.Visible=true&#xD;&#xA;Parent.Ret.Visible=false&#xD;&#xA;COND=(Parent.Ret.Value==true)&#xD;&#xA;Parent.LoadDefaults.Visible=COND ? false : true&#xD;&#xA;
		Parent.LoadFromReg.Visible=true
		Parent.SetSpeed.Visible=true
		Parent.SaveIcon.Visible=false
		Visible=false" Visible="false" />
	<Page Name="Ret" Value=" " Params=" " Visible="false" />
	<Page Name="M" OnShow=" " Visible="false" />
	<Page Blank=" " Name="LoadDefaults" OnShow="
		Parent.Ret.Params=('Parent.POI.')##(Parent.CharName.Text)##('_0.0.PoiDescription')&#xD;&#xA;Parent.Ret.OnShow=('Value=')##(Parent.Ret.Params)&#xD;&#xA;Parent.Ret.Visible=true&#xD;&#xA;Parent.Ret.Visible=false&#xD;&#xA;COND=(Parent.Ret.Value==Parent.Ret.Params)&#xD;&#xA;M0=COND ? Parent.Vars.0.Value : Parent.Ret.Value&#xD;&#xA;Parent.M.OnShow=('Parent.Parent.Parent.MainHUD.WindowManager.DarqUI.')##(Parent.Name)##('.0.')##(Parent.CharName.Text)##('=&quot;')##(M0)##('&quot;')&#xD;&#xA;Parent.M.Visible=true&#xD;&#xA;Parent.M.Visible=false&#xD;&#xA;
		Parent.Ret.Params=('Parent.Parent.Parent.MainHUD.WindowManager.DarqUI.')##(Parent.Name)##('.')##(Parent.CharName.Text)##('=true')&#xD;&#xA;Parent.Ret.OnShow=(Parent.Ret.Params)&#xD;&#xA;Parent.Ret.Visible=true&#xD;&#xA;Parent.Ret.Visible=false&#xD;&#xA;
		Visible=false" Visible="false" />
	<Page Name="LoadFromReg" OnShow="
		Parent.Ret.OnShow=('Parent.S0.0=')##('Parent.Parent.Parent.MainHUD.WindowManager.DarqUI.')##(Parent.Name)##('.0.')##(Parent.CharName.Text)&#xD;&#xA;Parent.Ret.Visible=true&#xD;&#xA;Parent.Ret.Visible=false&#xD;&#xA;
		Visible=false" Visible="false" />
	<Page Name="SetSpeed" OnShow="
		Parent.Speed.Value=Parent.S0.0
		Visible=false" Visible="false" />
	<Page Name="DoResetAddWin" OnShow="
		Parent.ResetAddWin.Visible=true
		" Visible="false" />
	<Page Name="Toggle" OnShow="Parent.OpenState=&apos;!&apos;Parent.OpenState&#xD;&#xA;Parent.CloseMe.Visible=Parent.OpenState ? false : true&#xD;&#xA;Parent.Visible=Parent.OpenState&#xD;&#xA;Visible=false" Visible="false" />
	<Page Name="CloseMe" OnShow="window_close Custom Harvesting&#xD;&#xA;Visible=false" Visible="false" />
	<Page Location="5,130" Name="Sizer" PackLocation="left,bottom" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="130,10" Size="130,10" />
	<Button Location="116,9" Name="Close" OnPress="window_close Custom Harvesting" ScrollExtent="18,18" Size="18,18" Style="/WindowElements.WindowFrame.data.close.style" Tooltip="Close" UserMovable="true" />
	<Image DynamicData="/GameData.Self.IsHated" Location="110,39" Name="IsHated" OnHide="Parent.HelpIcon.Visible=true" OnShow="Parent.TogHarvest.Visible=Parent.Timer.Bar.Visible Parent.HelpIcon.Visible=false" ScrollExtent="19,19" Size="19,19" SourceRect="272,125,291,144" SourceResource="images/window_elements_specific.dds" Visible="false" />
	<Page BackgroundColor="#333333" BackgroundOpacity="1.000" Location="10,10" Name="Timer" ScrollExtent="100,15" Size="100,15">
		<LocationEffector Name="Countdown" Speed="25,0" TargetLocation="-100,0" />
		<Page Name="RestartCheck" Old="true" OnShow="CUR_VAL=(Parent.Bar.Width + Parent.Bar.Left)&#xD;&#xA;COND=(CUR_VAL &lt; 1)&#xD;&#xA;&#xD;&#xA;Parent.Bar.Left=COND ? 0 : Parent.Bar.Left&#xD;&#xA;&#xD;&#xA;Parent.DoHarvest.Visible=(COND &amp;&amp; Old)&#xD;&#xA;Visible=false" Visible="false" />
		<Page Name="DoShiny" OnShow="useability 2820547139&#xD;&#xA;Visible=false" Visible="false" />
		<Page Name="DoHarvest" OnShow="target_nearest_npc&#xD;&#xA;use&#xD;&#xA;Parent.DoShiny.Visible=Parent.Parent.TogShiny.Checked&#xD;&#xA;Parent.Parent.Counter.Text=(Parent.Parent.Counter.Text + 1)&#xA;Visible=false" Visible="false" />
		<Page BackgroundColor="#4488AA" BackgroundOpacity="0.800" Name="Bar" OnHide="Left=0" OnMove="Parent.RestartCheck.Visible=true" OnShowEffector="Countdown" PackSize="f,a" ScrollExtent="100,15" Size="100,15" Visible="false" />
	</Page>
	<Page Name="TogHarvest" OnShow="Parent.Btn.Press=true Visible=false" Visible="false" />
	<Checkbox BackgroundOpacity="1.000" BackgroundColor="#FFFFFF" Location="13,40" Name="TogShiny" OnHoverIn="Tooltip=Checked ? TTChecked : TTUnChecked" OnSet="Tooltip=TTChecked" OnUnSet="Tooltip=TTUnChecked" ScrollExtent="15,15" Size="15,15" Style="cb.pccheck" TTChecked="Include shiny collecting&#xD;&#xA;Currently ON" TTUnChecked="Include shiny collecting&#xD;&#xA;Currently OFF" />
	<Button Location="29,32" Name="Btn" OnPress="Parent.Counter.Text=0&#xD;&#xA;Parent.Timer.Bar.Visible=&apos;!&apos;Parent.Timer.Bar.Visible&#xD;&#xA;Text=Parent.Timer.Bar.Visible ? StopText : StartText" ScrollExtent="80,32" Size="80,32" StartText="Start" StopText="Stop" Style="/CommonElements.PushButton.data.style">Start</Button>
	<Icon IconStyle="/MainHUD.WindowManager.helpicon" Location="112,41" Name="HelpIcon" ScrollExtent="14,14" Size="14,14" Tooltip="To use the harvesting helper, click Start and approach a harvestable tradeskill resource node.  The helper window will target the nearest NPC (the nearby harvestable node) and attempt to harvest from it.&#xD;&#xA;&#xD;&#xA;As you move from node to node, the helper will continuously attempt to harvest, making it unnecessary to click the correct harvesting ability button or repeatedly double-click the node.  This behavior will continue until you click Stop or close the window.&#xD;&#xA;&#xD;&#xA;If you become hated, the harvesting helper will suspend until you manually restart it." />
	<Sliderbar Location="10,70" LowerLimit="50" Name="Speed" OnChange="Parent.Timer.Bar.Width=(150 - Value)&#xD;&#xA;Parent.SliderValue.Text=Value&#xD;&#xA;Parent.S0.0=Value&#xD;&#xA;Parent.Ret.OnShow=('Parent.Parent.Parent.MainHUD.WindowManager.DarqUI.')##(Parent.Name)##('.')##('0')##('.')##(Parent.CharName.Text)##('=')##('&quot;')##(Value)##('&quot;')&#xD;&#xA;Parent.Ret.Visible=true&#xD;&#xA;Parent.Ret.Visible=false&#xD;&#xA;Parent.SaveIcon.Visible=true&#xD;&#xA;Parent.DoResetAddWin.Visible=false" ScrollExtent="100,26" Size="100,26" Style="/CommonElements.Slider.data.style" Tooltip="Speed" UpperLimit="125" Value="50" />
	<Text AbsorbsInput="false" Font="/TextStyles.Normal.NormalStyle" Location="108,70" MaxLines="1" Name="SliderValue" ScrollExtent="22,26" ShadowStyle="/ShadowStylesNew.Outline.style" Size="22,26" TextAlignment="Center" TextAlignmentVertical="Center" TruncateElipsis="false">50</Text>
	<Icon IconRect="483,36,503,54" IconResource="/images/window_elements_generic.dds" Location="110,73" Name="SaveIcon" OnPress="Parent.S0.0=Parent.Speed.Value&#xD;&#xA;Parent.SaveVar.Which=0&#xD;&#xA;Parent.SaveVar.Val=Parent.Speed.Value&#xD;&#xA;Parent.SaveVar.Visible=true&#xD;&#xA;Visible=false" Opacity="0.500" ScrollExtent="20,19" Size="20,19" Tooltip="Click to save speed setting" TreatAsButton="true" Visible="false" />
	<Button Location="6,103" Name="Btn1" OnPress="browser URL" ScrollExtent="65,26" Size="65,26" Style="/CommonElements.SmallPushButton.data.style" Tooltip="EQ2 Traders Corner" URL="http://eq2.eqtraders.com/articles/article_page.php?article=g5&amp;menustr=040000000000">EQ2TC</Button>
	<Button Location="67,103" Name="Btn2" OnPress="browser URL" ScrollExtent="65,26" Size="65,26" Style="/CommonElements.SmallPushButton.data.style" Tooltip="Wikia Harvesting Guide" URL="http://eq2.wikia.com/wiki/Harvesting">Wikia</Button>
	<Text DynamicData="/GameData.Self.Location" Font="/TextStyles.Normal.NormalStyle" Loc="0" Location="10,140" Name="Loc" Old="0" OnTextChanged="Old=Loc&#xD;&#xA;Loc=Parent.Loc.Text&#xD;&#xA;COND=(Old==Loc)&#xD;&#xA;Parent.Counter.Text=COND ? Parent.Counter.Text : 0" ScrollExtent="180,26" ShadowStyle="/ShadowStylesNew.Outline.style" Size="180,26" Visible="false" />
	<Text Font="/TextStyles.Normal.NormalStyle" Location="10,170" Name="Counter" OnTextChanged="Parent.Timer.RestartCheck.Old=(Text &lt; 20)" ScrollExtent="180,26" ShadowStyle="/ShadowStylesNew.Outline.style" Size="180,26" Visible="false">0</Text>
	<Page AbsorbsInput="false" Name="WindowFrame" PackSize="a,a" ScrollExtent="140,140" Size="140,140">
		<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackLocation="left,top" PackSize="a,a" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="140,140" Size="140,140" />
		<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="2,2" Name="Bkg" PackLocation="left,top" PackSize="a,a" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="135,135" Size="135,135" />
	</Page>
	<Page Blank=" " Name="DelVar" Which=" " Var="x" OnShow="
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		pagename=(Parent.CharName.LocalText)##('_0')&#xD;&#xA;
		iconname=Which&#xD;&#xA;
		map2_delete_poi iconname pagename&#xD;&#xA;
		Parent.Ret.OnShow=('Parent.Parent.Parent.MainHUD.WindowManager.DarqUI.')##(Parent.Name)##('.')##(Which)##('.')##(Parent.CharName.Text)##('=')##('&quot; &quot;')
		Parent.Ret.Visible=true
		Parent.Ret.Visible=false
		Visible=false" Visible="false" />
	<Page Name="SaveVar" OnShow="
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		Parent.SaveFav.Which=Which
		Parent.SaveFav.Val=Val
		Parent.SaveFav.Visible=true
		Parent.Ret.OnShow=('Parent.Parent.Parent.MainHUD.WindowManager.DarqUI.')##(Parent.Name)##('.')##(Which)##('.')##(Parent.CharName.Text)##('=')##('&quot;')##(Val)##('&quot;')
		Parent.Ret.Visible=true
		Parent.Ret.Visible=false
		Visible=false" Val=" " Visible="false" Which=" " />
	<Page Name="DelFav" Comment="Use DelVar above to delete a var directly. This routine is for SaveFav only" Which=" " WhichPage=" " OnShow="
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		pagename=WhichPage
		iconname=Which
		map2_delete_poi iconname pagename
		Visible=false" Visible="false" />
	<Page Blank=" " CR="&#xD;&#xA;" Name="SaveFav" Which=" " WhichPage=" " Val=" " OnShow="
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		WhichPage=(Parent.CharName.Text)##('_0')
		Parent.DelFav.Which=Which
		Parent.DelFav.WhichPage=WhichPage
		Parent.DelFav.Visible=true
		Parent.Parent.Parent.Parent.Parent.HUD.Choice.OnShow='Visible=false'
		pagename=WhichPage
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		map2_custom_poi_filename=(darquiv3_harvesting.xml)&#xD;&#xA;
		map2_add_poi pagename 0 0 0
		Parent.Parent.Parent.Popup.AddPoi.Visible=false
		Parent.Parent.Parent.Popup.AddPoi.PoiNameTextbox.Text=Which
		Parent.Parent.Parent.Popup.AddPoi.PoiDesc.Text=Val
		Parent.Parent.Parent.Popup.AddPoi.PoiNameLabel.Visible=false
		Parent.Parent.Parent.Popup.AddPoi.PoiNameTextbox.Visible=false
		Parent.Parent.Parent.Popup.AddPoi.PoiTypeLabel.Visible=false
		Parent.Parent.Parent.Popup.AddPoi.PoiTypeDropdownbox.Visible=false
		Parent.Parent.Parent.Popup.AddPoi.DialogFrame.Height=Height
		Parent.Parent.Parent.Popup.AddPoi.Height=Height
		Parent.Parent.Parent.Popup.AddPoi.ButtonOK.Location='160,60'
		Parent.Parent.Parent.Popup.AddPoi.ButtonCancel.Visible=false
		Left=(Parent.Width - Parent.Parent.Parent.Popup.AddPoi.Width)
		Left=(Left / 2)
		Left=(Parent.Left + Left)
		Top=(Parent.Height / 2)
		Top=(Parent.Top + Top - 65)
		IS_FS=cl_fullscreen
		MY_SCRHEIGHT=IS_FS ? cl_screenheight : cl_screenheight_windowed
		MY_BOTTOM=(Top + 130)
		COND=(MY_BOTTOM &gt; MY_SCRHEIGHT)
		MY_DIFF=(MY_BOTTOM - MY_SCRHEIGHT)
		NewTop=(Top - MY_DIFF)
		Top=COND ? NewTop : Top
		MY_SCRWIDTH=IS_FS ? cl_screenwidth : cl_screenwidth_windowed
		MY_RIGHT=(Left + 370)
		COND=(MY_RIGHT &gt; MY_SCRWIDTH)
		MY_DIFF=(MY_RIGHT - MY_SCRWIDTH)
		NewLeft=(Left - MY_DIFF)
		Left=COND ? NewLeft : Left
		COND=(Left &lt; 0)
		LEFT=COND ? 10 : Left
		STR_=('Location=')##(Location)##(CR)##('Size=')##(Size)
		Parent.Parent.Parent.Popup.AddPoi.OnShow=STR_
		Parent.Parent.Parent.Popup.AddPoi.TitleLabel.Text='Setting Saved!'
		Parent.Parent.Parent.HUD.Choice.OnShow=Blank&#xD;&#xA;Visible=false" PoiLoc="640,320" ScrollExtent="370,130" Size="370,130" Visible="false" />
	<Page Blank=" " MapLoc="24,359" MyOnHide="OnShow=&quot; &quot;" Name="ResetAddWin" NonMapLoc="100,360" OldTL=":7fb74109b7946e8b:Point of Interest" OnShow="
		map2_custom_poi_filename=(custom_poi.xml)&#xD;&#xA;
		map2_custom_poi_filename=(custom_poi.xml)&#xD;&#xA;
		Parent.Parent.Parent.Popup.AddPoi.PoiNameLabel.Visible=true
		Parent.Parent.Parent.Popup.AddPoi.PoiNameTextbox.Visible=true
		Parent.Parent.Parent.Popup.AddPoi.PoiNameTextbox.Text=&quot;&quot;
		Parent.Parent.Parent.Popup.AddPoi.PoiTypeLabel.Visible=true
		Parent.Parent.Parent.Popup.AddPoi.PoiTypeDropdownbox.Visible=true
		Parent.Parent.Parent.Popup.AddPoi.PoiDesc.Text=&quot;&quot;
		Parent.Parent.Parent.Popup.AddPoi.DialogFrame.Height=Height
		Parent.Parent.Parent.Popup.AddPoi.Size=Size
		COND=(Parent.Parent.Parent.Popup.AddPoi.ButtonSubmitPOI.Text=='Submit to EQ2MAP')
		Parent.Parent.Parent.Popup.AddPoi.ButtonOK.Location=COND ? MapLoc : NonMapLoc
		Parent.Parent.Parent.Popup.AddPoi.ButtonCancel.Visible=true
		Parent.Parent.Parent.Popup.AddPoi.TitleLabel.Text=OldTL
		Parent.Parent.Parent.Popup.AddPoi.OnShow=Blank
		Parent.Parent.Parent.Popup.AddPoi.OnHide=MyOnHide
		Visible=false" ScrollExtent="370,430" Size="370,430" Visible="false" />
	<Namespace Name="cb">
		<CheckboxStyle Name="pccheck" RStyleActivated="pcchecked.rect" RStyleDefault="pcunchecked.rect" RStyleMouseOver=" " />
		<Namespace Name="pcchecked">
			<ImageStyle Name="center">
				<ImageFrame Source="/images/icons/icon_ss24.dds" SourceRect="216,216,248,248" />
			</ImageStyle>
			<RectangleStyle Center="center" CenterShrinkH="true" CenterShrinkV="true" Name="rect" Color="#BBCCFF" Opacity="1.000" />
		</Namespace>
		<Namespace Name="pcunchecked">
			<ImageStyle Name="center">
				<ImageFrame Source="/images/icons/icon_ss24.dds" SourceRect="216,216,248,248" />
			</ImageStyle>
			<RectangleStyle Center="center" CenterShrinkH="true" CenterShrinkV="true" Name="rect" Color="#446688" Opacity="0.900" />
		</Namespace>
	</Namespace>
</Page>
