<screen>
	<name>TreasureScreen</name>
	<layer>1</layer>
	<rootcomponent>
		<name>treasureform</name>
		<event>
			<name>create</name>
			<node>
				<mesh>
					<width>800</width>
					<height>600</height>
				</mesh>
				<texture>/texture/gui/screen/bg04.png</texture>
			</node>
		</event>
		<event>
			<name>destroy</name>
			<node>
				<lifetime>500</lifetime>
			</node>
		</event>

		<component><name>treasures</name>
			<font>1</font>
			<caption>$hierarchy.Screen.Treasury.Treasury</caption>
			<captioncolor>0xFF101010</captioncolor>
			<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
			<captionscale>1.5</captionscale>
			<align>left</align>
			<verticalalign>top</verticalalign>
			<event><name>create</name>
				<node>
					<position><x>-390</x><y>-290</y><z>-1</z></position>
				</node>
			</event>
		</component>

		<component>
			<name>quitbutton</name>
			<hotkey>KEY_ESCAPE</hotkey>
			<caption>$hierarchy.Screen.Treasury.Quit</caption>
			<captioncolor>0xFF000000</captioncolor>
			<captionscale>0.85</captionscale>
			<width>170</width>
			<height>50</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
					<position>
						<x>0</x>
						<y>270</y>
						<z>-200</z>
					</position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-highlight.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
				</node>
			</event>

		</component>

		<component>
			<name>arts</name>
			<event>
				<name>create</name>
				<node>
					<position>
						<x>-400</x>
						<y>-300</y>
						<z>-3</z>
					</position>
				</node>
			</event>
		</component>

		<component>
			<name>shadows</name>
			<event>
				<name>create</name>
				<node>
					<position>
						<x>-400</x>
						<y>-300</y>
						<z>-2</z>
					</position>
				</node>
			</event>
		</component>

		<component>
			<name>stats</name>
			<event>
				<name>create</name>
				<node>
					<position>
						<x>0</x>
						<y>-210</y>
						<z>-100</z>
					</position>
		        </node>
			</event>

          <component><name>stats_back</name>
            <event><name>create</name>
	            <node>
					<mesh>
						<width>800</width>
						<height>600</height>
						<color>0xA0000000</color>
					</mesh>
					<position><x>0</x><y>210</y><z>1</z></position>
				</node>
            </event>
          </component>

          <component><name>stats_caption</name>
            <align>center</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Caption</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>0</x><y>0</y></position></node>
            </event>
          </component>
          <component><name>stats_pop</name>
            <align>left</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Population</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>-200</x><y>60</y></position></node>
            </event>
          </component>
          <component><name>stats_pop_value</name>
            <align>right</align>
            <caption>10000</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>200</x><y>60</y></position></node>
            </event>
          </component>
          <component><name>stats_con</name>
            <align>left</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Construction</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>-200</x><y>100</y></position></node>
            </event>
          </component>
          <component><name>stats_con_value</name>
            <align>right</align>
            <caption>5000</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>200</x><y>100</y></position></node>
            </event>
          </component>
          <component><name>stats_exp</name>
            <align>left</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Exploring</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>-200</x><y>140</y></position></node>
            </event>
          </component>
          <component><name>stats_exp_value</name>
            <align>right</align>
            <caption>99%</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>200</x><y>140</y></position></node>
            </event>
          </component>
          <component><name>stats_gem</name>
            <align>left</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Gems</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>-200</x><y>180</y></position></node>
            </event>
          </component>
          <component><name>stats_gem_value</name>
            <align>right</align>
            <caption>222 of 441</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>200</x><y>180</y></position></node>
            </event>
          </component>
          <component><name>stats_qst</name>
            <align>left</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Quests</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>-200</x><y>220</y></position></node>
            </event>
          </component>
          <component><name>stats_qst_value</name>
            <align>right</align>
            <caption>99 of 100</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>200</x><y>220</y></position></node>
            </event>
          </component>
          <component><name>stats_time</name>
            <align>left</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Time</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>-200</x><y>260</y></position></node>
            </event>
          </component>
          <component><name>stats_time_value</name>
            <align>right</align>
            <caption>10h 15m</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>200</x><y>260</y></position></node>
            </event>
          </component>
          <component><name>stats_rank</name>
            <align>left</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Rank</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>-150</x><y>320</y></position></node>
            </event>
          </component>
          <component><name>stats_rank_value</name>
            <align>right</align>
            <caption>88%</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>150</x><y>320</y></position></node>
            </event>
          </component>
          <component><name>stats_grats</name>
            <align>center</align>
            <caption>$hierarchy.Screen.Treasury.Stats.Final</caption>
			<captionshadowcolor>0xFF000000</captionshadowcolor>
            <event><name>create</name>
              <node><position><x>0</x><y>380</y></position></node>
            </event>
          </component>

		</component>

  
  </rootcomponent>
</screen>