<windows>
	<window name="HUDLeftStatBars" anchor="LeftBottom">
		<rect name="hud" pos="9,156" rows="2" cols="1" width="168" side="right">
		<!-- <grid name="hud" pos="9,52" rows="3" cols="1" width="171" cell_width="168" cell_height="47" repeat_content="false" side="left" pivot="BottomLeft"> -->
			<rect width="171" height="46" controller="HUDStatBar" stat_type="Stealth" visible="{statvisible}">
				<sprite depth="1" name="border" color="0,0,0,150" height="46" type="sliced"/>
				<sprite depth="2" name="background" color="0,0,0,140" type="sliced"/>

				<filledsprite depth="3" name="background" color="110,110,110,128" type="filled" fill="1"/>

				<filledsprite depth="4" name="BarContent" color="{stealthcolor}" type="filled" fill="{statfill}"/>
				<sprite depth="5" name="Icon" atlas="{staticonatlas|once}" sprite="{staticon|once}" size="35,35" pos="26,-24" pivot="center" foregroundlayer="true"/>
				<label depth="6" name="TextContent" pos="44,-23" font_size="32" color="[white]" justify="center" pivot="left" text="{statcurrent}" width="125" height="35"/>

				<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
				<filledsprite depth="8" name="background" color="0,0,0,255" width="171" fillcenter="false" type="filled" fill="1"/>
				<filledsprite depth="3" name="background" color="0,0,0,255" width="170" fillcenter="false" type="filled" fill="1"/>
			</rect>

			<!-- Stamina -->
			<rect width="171" height="30" pos="0,-54" controller="HUDStatBar" stat_type="Stamina" visible="{statvisible}">
				<sprite depth="1" name="border" color="0,0,0,128" type="sliced"/>
				<sprite depth="2" name="background" color="0,0,0,160" type="sliced"/>

				<filledsprite depth="3" name="background" color="110,110,110,160" width="169" type="filled" fill="{statmodifiedmax}"/>

				<filledsprite depth="5" name="BarContent" color="0,54,255,160" width="169" type="filled" fill="{statfill}"/>
				<sprite depth="6" name="Icon" atlas="{staticonatlas|once}" sprite="ui_game_symbol_agility" size="26,26" pos="16,-15" pivot="center" foregroundlayer="true"/>
				<label depth="7" name="TextContent" pos="44,-17" font_size="26" color="[white]" justify="center" pivot="left" text="{statcurrentwithmax}" width="125" height="26"/>

				<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
				<filledsprite depth="8" name="background" color="0,0,0,255" width="171" fillcenter="false" type="filled" fill="{statmodifiedmax}"/>
				<filledsprite depth="3" name="background" color="0,0,0,255" width="170" fillcenter="false" type="filled" fill="{statmodifiedmax}"/>

				<sprite depth="8" visible="{sprintactive}" name="sprint" atlas="{uiatlas}" sprite="server_z_always_run" size="48,48" pos="170,-23" pivot="left"/>
			</rect>

			<!-- Health -->
			<rect width="171" height="30" pos="0,-87" controller="HUDStatBar" stat_type="Health" visible="{statvisible}">
				<sprite depth="1" name="border" color="0,0,0,128" type="sliced"/>
				<sprite depth="2" name="background" color="0,0,0,160" type="sliced"/>

				<filledsprite depth="3" name="background" color="110,110,110,160" width="169" type="filled" fill="{statmodifiedmax}"/>

				<filledsprite depth="5" name="BarContent" color="255,0,0,160" width="169" type="filled" fill="{statfill}"/>
				<sprite depth="6" name="Icon" atlas="{staticonatlas|once}" sprite="{staticon|once}" size="26,26" pos="16,-15" pivot="center" foregroundlayer="true"/>
				<label depth="7" name="TextContent" pos="44,-17" font_size="26" color="[white]" justify="center" pivot="left" text="{statcurrentwithmax}" width="125" height="26"/>

				<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
				<filledsprite depth="8" name="background" color="0,0,0,255" width="171" fillcenter="false" type="filled" fill="{statmodifiedmax}"/>
				<filledsprite depth="3" name="background" color="0,0,0,255" width="170" fillcenter="false" type="filled" fill="{statmodifiedmax}"/>
			</rect>

			<!-- Food -->
			<rect width="83" height="30" pos="0,-120" controller="HUDStatBar" stat_type="Food" visible="{statvisible}">
				<sprite depth="1" name="border" color="0,0,0,128" type="sliced"/>
				<sprite depth="2" name="background" color="0,0,0,160" type="sliced"/>

				<filledsprite depth="3" name="background" color="110,110,110,160" width="83" type="filled" fill="{statmodifiedmax}"/>

				<filledsprite depth="5" name="BarContent" color="0,255,54,160" width="82" type="filled" fill="{statfill}"/>
				<sprite depth="6" name="Icon" atlas="{staticonatlas|once}" sprite="{staticon|once}" size="26,26" pos="16,-15" pivot="center" foregroundlayer="true"/>
				<label depth="7" name="TextContent" pos="35,-15" font_size="20" color="[white]" justify="center" pivot="left" text="{statcurrentwithmax}" width="45" height="26"/>

				<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
				<filledsprite depth="8" name="background" color="0,0,0,255" width="83" fillcenter="false" type="filled" fill="{statmodifiedmax}"/>
				<filledsprite depth="3" name="background" color="0,0,0,255" width="84" fillcenter="false" type="filled" fill="{statmodifiedmax}"/>
			</rect>

			<!-- Water -->
			<rect width="83" height="30" pos="87,-120" controller="HUDStatBar" stat_type="Water" visible="{statvisible}">
				<sprite depth="1" name="border" color="0,0,0,128" type="sliced"/>
				<sprite depth="2" name="background" color="0,0,0,160" type="sliced"/>

				<filledsprite depth="3" name="background" color="110,110,110,160" width="83" type="filled" fill="{statmodifiedmax}"/>

				<filledsprite depth="5" name="BarContent" color="51,204,255,160" width="83" type="filled" fill="{statfill}"/>
				<sprite depth="6" name="Icon" atlas="{staticonatlas|once}" sprite="{staticon|once}" size="26,26" pos="16,-15" pivot="center" foregroundlayer="true"/>
				<label depth="7" name="TextContent" pos="35,-15" font_size="20" color="[white]" justify="center" pivot="left" text="{statcurrentwithmax}" width="45" height="26"/>

				<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
				<filledsprite depth="8" name="background" color="0,0,0,255" width="83" fillcenter="false" type="filled" fill="{statmodifiedmax}"/>
				<filledsprite depth="3" name="background" color="0,0,0,255" width="84" fillcenter="false" type="filled" fill="{statmodifiedmax}"/>
			</rect>
		</rect>

		<rect name="hud" pos="90,132" side="left" controller="BuffPopoutList" pivot="BottomLeft" >
			<panel width="168" height="46" name="item" visible="false" pivot="right" disableautobackground="true" pos="70, 0" style="press" sound="[recipe_click]" on_hover="true" >
				<sprite depth="3" pos="0,0"  name="Background" sprite="ui_game_popup" height="46" width="162" pivot="center" flip="Horizontally" color="[transparent]" />
				<sprite depth="4" name="Icon" size="40,40" pos="-54,0" pivot="center" color="[transparent]"/>
				<label depth="6" name="TextContent" pos="-37,0" font_size="28" color="[white]" justify="center" width="118" height="40" pivot="left"/>
			</panel>
		</rect>
	</window>

	<window name="windowTargetBar" controller="TargetBar" anchor="CenterTop" visibility="godmode"> <!-- never,godmode,always -->
		<rect pos="-200,-85" width="400" height="36" visible="{isnotboss}" >
			<sprite depth="1" name="border" color="0,0,0,100" type="sliced" width="400" globalopacity="false"/>
			<filledsprite depth="2" name="BarContent" type="filled" color="200,0,0,180" width="400" fill="{fill}" globalopacity="false"/>
			<label depth="3" name="TextContent" pos="9,-4" font_size="28" color="[white]" justify="left" pivot="topleft" text="{name}:{currentwithmax}" height="30"/>
		</rect>
		
		<rect pos="-267,-85" width="725" height="25" visible="{isboss}" >
			<!-- <sprite depth="1" name="border" color="0,0,0,180" type="sliced" width="400" globalopacity="false"/> -->
			<sprite pos="60,-45" width="448" depth="1" name="border" color="0,0,0,255" type="sliced"  globalopacity="false"/>
			<filledsprite pos="60,-45" width="448" depth="2" name="BarContent" type="filled" fill="{fill}" globalopacity="false" sprite="ui_game_symbol_twitch_boss_bar_HP" />
			<sprite depth="3" name="Icon" size="84,84" pos="45,-42" pivot="center" sprite="{boss_sprite}" globalopacity="false" />
			<sprite depth="4" name="overlay" width="517" height="84" type="sliced" globalopacity="false" sprite="ui_game_symbol_twitch_boss_bar" />
			
			<label depth="5" name="TextContent" pos="100,-13" font_size="30" color="[white]" justify="left" pivot="topleft" text="{name}" height="30" effect="Outline8" effect_color="0,0,0,255" effect_distance="2,2"/>
			<label depth="5" name="MinionCount" pos="482,-13" font_size="30" color="[white]" justify="left" pivot="topleft" text="x{minioncount}" height="30" effect="Outline8" effect_color="0,0,0,255" effect_distance="2,2" />
		</rect>
	</window>
	
	<window name="windowEntering" controller="EnteringArea" anchor="CenterTop" difficulty_color="[red]" biome_color="[green]" inactive_color="[lightGrey]" difficulty_icon="ui_game_symbol_skull" biome_icon="ui_game_symbol_foliage" > 
		<rect pos="-170,-85" width="340" height="100" >
			<!--sprite depth="1" name="background" sprite="menu_empty3px" color="65,65,65,150" type="sliced" /-->
			<label depth="3" name="TextContent" pos="5,-3" font_size="42" color="[white]" style="outline" pivot="topleft" text="{locationname}" justify="center" width="330" height="60" />
			<label depth="3" name="MessageContent" pos="0,-3" font_size="28" color="[white]" style="outline" pivot="topleft" text="{messagename}" justify="center" width="340" height="98" />

			<!-- No longer used. Keep for modding. -->
			<!-- <sprite depth="2" pos="5, -60" name="windowicon" style="icon32px" sprite="ui_game_loot_stage_bad" visible="{visible_loot_max}"/> -->

			<grid padding="8,10" pos="170, -78" pivot="center" cols="8" cell_width="34" cell_height="32">
				<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" color="{color1}" visible="{visible1}"/>
				<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" color="{color2}" visible="{visible2}"/>
				<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" color="{color3}" visible="{visible3}"/>
				<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" color="{color4}" visible="{visible4}"/>
				<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" color="{color5}" visible="{visible5}"/>
				<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" color="{color6}" visible="{visible6}"/>
				<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" color="{color7}" visible="{visible7}"/>
				
				<rect width="32" height="32" visible="{visible_half}">
					<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" type="filled" fill="0.5" color="255,128,0"/>
					<sprite depth="2" name="windowicon" style="icon32px" sprite="ui_game_symbol_skull" type="filled" fill="0.5" fillinvert="true" color="[lightGrey]"/>
				</rect>
			</grid>
		</rect>
	</window>

	<window name="windowDeathBar" controller="DeathBar" anchor="CenterBottom"> <!-- never,godmode,always -->
		<rect pos="0,145" width="1200" height="86" visible="{visible}">
			<sprite name="backgroundMain" sprite="death_message_twitch" width="1440" height="374" pivot="center" />
			
			<label depth="3" name="TextContent" pos="0,-2" font_size="50" color="[white]" justify="center" pivot="center" text="{death_text}" height="80"/>
		</rect>
	</window>

	<window name="windowGroupBars" controller="PartyWindow" anchor="LeftTop" depth="-20">

		<sprite depth="8" name="voiceStatus" style="icon32px" pos="25,-68" sprite="ui_game_symbol_mic" visible="{voicevisible}" pivot="center" color="{# voiceactive ? '255,255,255,255' : '128,128,128,255' }" />

		<grid name="hud" pos="9,-88" rows="7" cols="1" width="168" cell_width="168" cell_height="40" side="left" repeat_content="true" controller="PartyEntryList" >
			<party_entry />
		</grid>

		<grid name="hud" pos="9,-88" rows="7" cols="1" width="168" cell_width="168" cell_height="40" side="left" repeat_content="true" controller="CompanionEntryList" >
			<companion_entry />
		</grid>
	  
	</window>

	<window name="HUDRightStatBars" anchor="RightBottom">

		<rect name="hud" pos="-90,32" side="right" controller="CollectedItemList" pivot="BottomLeft">
			<panel width="168" height="46" name="item" visible="false" pivot="right" disableautobackground="true" pos="70, 0" >
				<sprite depth="3" pos="0,0"  name="Background" sprite="ui_game_popup" height="44" width="162" pivot="center" />
				<sprite depth="4" name="Icon" atlas="ItemIconAtlas"  size="38,38" pos="50,0" pivot="center" foregroundlayer="true"/>
				<label depth="6" pos="12,0" name="TextContent" font_size="30" color="[white]" justify="right" height="32" pivot="right"/>
				<sprite depth="6" pos="0,16" width="36" height="36" name="Negative" sprite="ui_game_symbol_x" color="[red]" />
			</panel>

			 <!-- <rect width="168" height="43" controller="CollectedItem">
				<sprite depth="3" pos="3,0"  name="Background" sprite="{itembackground}" height="43" width="162" color="{itembackgroundcolor}" />
				<sprite depth="4" name="Icon" atlas="ItemIconAtlas" sprite="{itemicon}" size="32,32" pos="130,-6" color="{itemiconcolor}" />
				<label depth="6" name="TextContent" pos="15,-10" font_size="28" color="[white]" justify="center" text="{itemcount}" height="30"/>
			</rect> -->
		</rect>

		<grid name="hud" pos="-194,55" rows="2" cols="1" width="168" cell_width="168" cell_height="46" repeat_content="false" side="right">
			<rect width="188" height="46" controller="HUDStatBar" stat_type="ActiveItem" visible="{statvisible}">
				<sprite depth="3" pos="3,0"  name="BarContent" sprite="{statimage|once}" height="46" width="182" />
				<sprite depth="4" name="Icon" atlas="{staticonatlas|once}" sprite="{staticon}" size="39,35" pos="130,-6" color="{staticoncolor}" foregroundlayer="true" />
				<label depth="6" name="TextContent" pos="115,-26" font_size="28" color="[white]" justify="right" pivot="right" text="{statcurrentwithmax}" width="250" height="30" />
			</rect>
		</grid>
		<rect name="hud" pos="-177,106" rows="2" cols="1" width="168" side="right">
			<rect width="168" height="46" controller="HUDStatBar" stat_type="VehicleFuel" visible="{statvisible}">
				<sprite depth="1" name="border" color="0,0,0,128" type="sliced"/>
				<sprite depth="2" name="background" color="0,0,0,140" type="sliced" />
				<sprite depth="2" pos="3,-3"  name="background" height="40" width="162" color="64,64,64,100" type="sliced" />
				<filledsprite depth="5" name="BarContent" color="0,54,255,128" width="169" type="filled" fill="{statfill}" flip="Horizontally" />
				<sprite depth="4" name="Icon" atlas="{staticonatlas|once}" sprite="{staticon|once}" size="35,35" pos="148,-24" pivot="center" foregroundlayer="true" />
				<label depth="6" name="TextContent" pos="125,-24" font_size="32" color="[white]" justify="center" pivot="right" text="{statcurrentwithmax}" width="120" height="35"/>
				<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
			</rect>
			<rect width="168" height="46" pos="0,-50" controller="HUDStatBar" stat_type="VehicleHealth" visible="{statvisible}">
				<sprite depth="1" name="border" color="0,0,0,128" type="sliced"/>
				<sprite depth="2" name="background" color="0,0,0,140" type="sliced" />
				<sprite depth="2" pos="3,-3"  name="background" height="40" width="162" color="64,64,64,100" type="sliced" />

				<filledsprite depth="5" name="BarContent" color="255,0,0,128" width="169" type="filled" fill="{statfill}" flip="Horizontally" />
				<sprite depth="4" name="Icon" atlas="{staticonatlas|once}" sprite="{staticon|once}" size="35,35" pos="148,-24" pivot="center" foregroundlayer="true" />
				<label depth="6" name="TextContent" pos="125,-24" font_size="28" color="[white]" justify="center" pivot="right" text="{statcurrentwithmax}" width="120" height="35"/>
				<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
			</rect>
		</rect>

	</window>

	<window name="interactionPrompt" anchor="CenterCenter" pos="0,55" width="2000" height="70" controller="InteractionPrompt" fade_delay="0.02">
		<label name="lblText" font_size="34" effect="outline" effect_distance="1,1" effect_color="0,0,0,150" justify="center" pivot="center" text="{text}" parse_actions="true" actions_default_format="( ### )" />
	</window>

	<window name="focusedBlockHealth" anchor="CenterCenter" pos="0,-40" width="160" height="50" controller="FocusedBlockHealth" fade_window="false">
		<sprite depth="1" pos="-77,0" width="154" height="12" pivot="left" name="background" sprite="menu_empty" type="sliced" color="[black]" />
		<filledsprite depth="2" pos="-75,0" width="150" height="8" pivot="left" name="bar" color="[disabledColor]" fill="{fill}" filldirection="horizontal" foregroundlayer="true" />
		<label name="lblText" pos="0,-10" height="30" font_size="30" effect="outline" effect_distance="1,1" effect_color="0,0,0,150" justify="center" pivot="top" text="{text}" />
	</window>

	<window name="windowPagingHeader" controller="WindowSelector" anchor="CenterTop" style="paging.window" cursor_area="true">
		<sprite style="paging.window.background.border"/>
		<sprite style="paging.window.background"/>
		<sprite style="paging.window.name.background"/>
		<sprite style="paging.window.name.foreground"/>
		<label style="paging.window.name"/>

		<button pos="31,-21"  name="Crafting"  sprite="ui_game_symbol_hammer"    tooltip_key="xuiCrafting"  style="press, hover, paging.window.icon" />
		<button pos="76,-21"  name="Character" sprite="ui_game_symbol_character" tooltip_key="xuiCharacter" style="press, hover, paging.window.icon" />
		<button pos="126,-21" name="Map"       sprite="ui_game_symbol_map"       tooltip_key="xuiMap"       style="press, hover, paging.window.icon" />

		<button pos="171,-21" name="Skills"     sprite="ui_game_symbol_skills"    tooltip_key="xuiSkills"     style="press, hover, paging.window.icon" />
		<button pos="426,-21" name="Quests"     sprite="ui_game_symbol_quest"     tooltip_key="xuiQuests"     style="press, hover, paging.window.icon" />
		<button pos="476,-21" name="Challenges" sprite="ui_game_symbol_challenge" tooltip_key="xuiChallenges" style="press, hover, paging.window.icon" />
		<button pos="526,-21" name="Players"    sprite="ui_game_symbol_players"   tooltip_key="xuiPlayers"    style="press, hover, paging.window.icon" />
		<button pos="576,-21" name="Creative"   sprite="ui_game_symbol_lightbulb" tooltip_key="xuiCreative"   style="press, hover, paging.window.icon" visible="{is_creative}" />

		<gamepad_icon depth="1" name="LB_Icon" size="35,35" pos="-8,-20" pivot="Right" action="GUI Window Paging Up" />
		<gamepad_icon depth="1" name="RB_Icon" size="35,35" pos="608,-20" pivot="Left" action="GUI Window Paging Down" />
	</window>

	<window name="windowNonPagingHeader" controller="WindowNonPagingHeader" style="nonpaging.window">
		<sprite style="paging.window.background.border"/>
		<sprite style="nonpaging.window.background"/>
		<sprite style="nonpaging.window.name.background"/>
		<sprite style="nonpaging.window.name.foreground"/>
		<label style="nonpaging.window.name"/>
	</window>
	
	<window name="windowTwitchPagingHeader" controller="TwitchWindowSelector" anchor="CenterTop" style="twitch.paging.window" cursor_area="true">
		<sprite style="paging.window.background.border"/>
		<sprite style="twitch.paging.window.background"/>
		<sprite style="twitch.paging.window.name.background"/>
		<sprite style="twitch.paging.window.name.foreground"/>
		<label style="twitch.paging.window.name"/>

		<button pos="31,-21"  name="Actions" sprite="ui_game_symbol_twitch_actions" tooltip_key="TwitchInfo_Actions" style="press, hover, paging.window.icon" />
		<button pos="76,-21"  name="Votes" sprite="ui_game_symbol_twitch_vote" tooltip_key="TwitchInfo_Votes" style="press, hover, paging.window.icon" />
		<button pos="376,-21" name="ActionHistory" sprite="ui_game_symbol_twitch_history" tooltip_key="TwitchInfo_ActionHistory" style="press, hover, paging.window.icon" />
		<button pos="426,-21" name="Leaderboard" sprite="ui_game_symbol_twitch_leaderboard_1" tooltip_key="TwitchInfo_Leaderboard" style="press, hover, paging.window.icon" />

		<gamepad_icon depth="1" name="LB_Icon" size="35,35" pos="-8,-20" pivot="Right" action="GUI Window Paging Up" />
		<gamepad_icon depth="1" name="RB_Icon" size="35,35" pos="608,-20" pivot="Left" action="GUI Window Paging Down" />
	</window>

	<window name="windowCompass" anchor="CenterTop" pos="-240,-9" width="480" height="43" controller="CompassWindow">
		<sprite depth="0" sprite="ui_game_header_fill" pos="47,0" width="386" height="43" type="sliced" color="150,150,150,150" />
		<sprite depth="1" sprite="ui_game_header_fill" pos="50,-3" width="380" height="37" type="sliced" color="50,50,50,220" />

		<!--<texture depth="8" texture="Textures/UI/ui_game_compass" pos="50, -15" width="380" height="23" color="[iconColor]" name="compassTexture" rect_size="0.25,1" rect_offset=".8,0" />-->
		
		<texture depth="8" texture="@:Textures/UI/Compass/overlay-{compass_language}.png" pos="50, -12" width="380" height="27" color="[iconColor]" name="compassTexture3" rect_size="0.25,1" rect_offset="{#compass_rotation / 360 + 0.0625 - 0.125},0" />

		<sprite pos="240,-60" sprite="" color="255,255,255,255" globalopacitymod="1.8" visible="{showtime}">
			<label depth="2" width="300" height="30" text="{daytitle}: [{daycolor}]{day}[-]     {timetitle}: {time}     [{outsidetempcolor}]{outsidetemp}[-]" font_size="28" pivot="center" style="outline" upper_case="true" justify="center"/>
		</sprite>
	</window>

	<window name="windowCraftingList"  width="397" height="688" controller="CraftingListInfo" panel="Left" cursor_area="true" >

		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="Craft_Icon_Basics"/>
			<label style="header.name" text="basics" text_key="xuiBasics" />

			<!-- <label pos="387, -6" depth="2" name="unlockedCount" width="64" height="32" text="0/65" font_size="32" color="[lightGrey]" justify="right" pivot="topright"/> -->
			<!-- <sprite pos="328, -5" depth="2" name="unlockedIcon" style="icon32px" sprite="ui_game_symbol_book" color="[lightGrey]" pivot="topright"/> -->
		</panel>

		<panel name="content" width="100%" height="650" depth="1" pos="0,-43" on_scroll="true" disableautobackground="true">

			<rect depth="2" name="categorySelector" width="390" height="44" pos="3,-6">
				<sprite name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="396" height="49" color="[black]" type="sliced" fillcenter="false" />
				<sprite color="[mediumGrey]" type="sliced" />
				<grid name="categories" pos="23,-21" rows="1" cols="9" width="390" height="43" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
					<category_icon />
				</grid>
			</rect>

			<rect depth="3" name="searchControls" width="390" height="44" pos="3,-52">
				<sprite name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="396" height="49" color="[black]" type="sliced" fillcenter="false" />
				<sprite color="[darkGrey]" type="sliced" />
				<button depth="4" name="favorites" style="icon30px, press" pos="18,-22" sprite="server_favorite" pivot="center" sound="[paging_click]" tooltip="Favorites" tooltip_key="lblFavorites" collider_scale="1.5" />

				<panel pos="104,0" width="200" disableautobackground="true">
					<sprite depth="4" name="searchIcon" style="icon30px" pos="0,-22" sprite="ui_game_symbol_search" pivot="center"/>
					<textfield depth="5" name="searchInput" pos="22,-7" width="140" height="30" virtual_keyboard_prompt="vkPromptSearchTerm" search_field="true" close_group_on_tab="true" clear_button="true" />
				</panel>

				<panel pos="286,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6" contents_parent="content"/>
				</panel>
			</rect>

			<grid name="recipes" rows="12" cols="1" pos="3,-98" width="390" height="552" cell_width="390" cell_height="46" controller="RecipeList" repeat_content="true" arrangement="vertical" >
				<recipe_entry name="0"/>
			</grid>
		</panel>
	</window>

	<window name="windowCraftingQueue" width="397" height="78" panel="Left" cursor_area="true" >
		<rect depth="0" pos="96,0" width="303" controller="CraftingQueue">
			<!-- <sprite name="background" color="[black]" type="sliced" pos="0,-10" /> -->
			<grid name="queue" rows="1" cols="4" pos="3,-13" cell_width="75" cell_height="75" repeat_content="true">
				<recipe_stack name="0"/>
			</grid>
		</rect>
	</window>

	<window name="windowLooting" width="{windowWidth}" height="378" controller="LootWindow" panel="Left" anchor_side="bottomright" visible="false" cursor_area="true" >
		<panel name="header" height="43" depth="0" disableautobackground="true" anchor_left="queue,0,-3" anchor_right="queue,1,0" >
			<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header" anchor_left="queue,0,-3" anchor_right="queue,1,0" />
			<sprite depth="3" name="windowIcon" style="icon32px" pivot="center" pos="21,-21" sprite="ui_game_symbol_loot_sack" />
			<label depth="2" name="lootName" pos="39,-6" width="172" height="32" text="{lootcontainer_name}" font_size="32" anchor_left="queue,0,39" anchor_right="queue,1,-230" />
			
			<rect anchor_left="queue,1,-300" anchor_right="queue,1,0" pivot="topleft" pos="0,0" controller="ContainerStandardControls" createuiwidget="true" visible="{buttons_visible}">
				<button   depth="3" name="btnToggleLockMode"          sprite="ui_game_symbol_lock"     tooltip_key="xuiStashLockModeToggle"             pos="154, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" selected="{userlockmode}" visible="{hasslotlocks}" />

				<button   depth="3" name="btnSort"             sprite="ui_game_symbol_sort"          tooltip_key="lblSortContainer"        pos="194, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
				<button   depth="3" name="btnMoveAll"          sprite="ui_game_symbol_store_all_up"     tooltip="{take_all_tooltip}"          pos="274, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
				<button   depth="3" name="btnMoveFillAndSmart" sprite="ui_game_symbol_store_similar_up" tooltip_key="xuiLootTakeFillAndSmart" pos="234, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
<!--				
				<rect pos="0,30">
					<button   depth="3" name="btnMoveFillStacks"   sprite="ui_game_symbol_drop"          tooltip_key="xuiLootTakeFillStacks"   pos="6, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
					<button   depth="3" name="btnMoveSmart"        sprite="ui_game_symbol_drop"          tooltip_key="xuiLootTakeSmart"        pos="46, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
					
					<combobox depth="3" name="cbxLockedSlots" pos="70,-7" width="100" height="30" tooltip_key="xuiStashLockedSlots" type="ComboBoxInt" value_min="0" value_max="{container_slots}" value_wrap="true" value_increment="1" />
				</rect>
-->
			</rect>
		</panel>
		<rect name="content" pos="3,-49" >
			<sprite depth="0" name="bg" color="255,255,255,1" type="sliced" sprite="menu_empty" anchor_left="queue,0,-3" anchor_bottom="queue,0,0" anchor_right="queue,1,0" anchor_top="queue,1,49" />
			<grid depth="12" name="queue" rows="10" cols="9" cell_width="75" cell_height="75" repeat_content="true" controller="LootContainer">
				<item_stack name="0"/>
			</grid>
		</rect>
	</window>

	<window name="windowCreative2" width="629" height="805" panel="Left" anchor_side="bottomright" normal_color="[iconColor]" cursor_area="true" controller="Creative2Window" >
		<rect pos="0,-0" name="content">
			<panel name="header" height="43" depth="0" disableautobackground="true">
				<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header"/>
				<sprite depth="2" name="windowicon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_lightbulb"/>
				<label style="header.name" text="{filter_crumb}" width="400" />
				<label depth="2" width="130" height="32" text="{#format(localization('lblTotalItems'), int(result_count))}" font_size="32"
					justify="right" anchor_side="right" pivot="right" anchor_run_once="false" anchor_offset="-10,0"/>
			</panel>

			<rect depth="2" name="searchControls" width="522" height="43" pos="101,-49">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="-1,0" width="524" height="49" />
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="528" height="52" color="[black]" type="sliced" fillcenter="false"  />

				<grid name="categoryButtons" depth="10" pos="25,-22" rows="1" cols="4" cell_width="50" arrangement="horizontal" repeat_content="false">
					<button depth="4" name="simplepickup" style="icon30px, press, hover" sprite="ui_game_symbol_hand" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="lblSimpleClick" sound="[paging_click]" />
					<button depth="4" name="devblocks" style="icon30px, press, hover" sprite="ui_game_symbol_computer" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="lblDevBlocks" sound="[paging_click]" visible="{allow_dev}" />
					<button depth="4" name="favorites" style="icon30px, press" sprite="server_favorite" pivot="center" sound="[paging_click]" tooltip_key="lblFavorites" collider_scale="1.5" />
					<button depth="4" name="hideshapes" style="icon30px, press" sprite="ui_game_symbol_sight" pivot="center" sound="[paging_click]" tooltip_key="lblHideShapes" collider_scale="1.5" />
				</grid>

				<panel pos="220,0" width="200" disableautobackground="true">
					<sprite depth="4" name="searchIcon" style="icon30px" pos="0,-22" sprite="ui_game_symbol_search" pivot="center"/>
					<textfield depth="5" pos="22,-7" width="140" height="30" name="searchInput" focus_on_open="true" search_field="true" close_group_on_tab="true" clear_button="true" />
				</panel>

				<panel pos="405,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6"  contents_parent="content"/>
				</panel>
			</rect>

			<rect depth="2" name="categoryBar" width="43" height="718" pos="3,-49">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="-1,0" width="48" height="722" />
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="52" height="727" color="[black]" type="sliced" fillcenter="false"  />

				<grid depth="10" name="categories" pos="24,-22" rows="16" cols="1" width="43" height="675" cell_width="43" cell_height="43" arrangement="vertical" repeat_content="false" controller="CategoryList" allow_unselect="true">
					<!-- Shapes -->
					<category_icon_creative_filter filtertype="autoshapes" filtertext="woodShapes" spritename="ui_game_symbol_wood" />
					<category_icon_creative_filter filtertype="autoshapes" filtertext="brickShapes" spritename="ui_game_symbol_brick" />
					<category_icon_creative_filter filtertype="autoshapes" filtertext="corrugatedMetalShapes" spritename="ui_game_symbol_forge" />
					<category_icon_creative_filter filtertype="autoshapes" filtertext="concreteShapes" spritename="ui_game_symbol_cement" />
					<category_icon_creative_filter filtertype="autoshapes" filtertext="steelShapes" spritename="ui_game_symbol_ibeam" />
					<category_icon_creative_filter filtertype="autoshapes" filtertext="awningShapes" spritename="ui_game_symbol_map_campsite" />
					<category_icon_creative_filter filtertype="autoshapes" filtertext="bulletproofShapes" spritename="ui_game_symbol_windows" />
					<category_icon_creative_filter filtertype="autoshapes" filtertext="$other" spritename="ui_game_symbol_all_blocks" displayname_key="xuiShapesOther" />
					<!-- Non Shapes --><sprite sprite="ui_game_symbol_subtract" style="icon32px" pivot="center" width="50" height="8" color="0,0,0,255"/>
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="A21_NEW" categoryname="New" spritename="ui_game_symbol_coin" displayname_key="xuiPropsNew" /> -->
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="MC_building" categoryname="Building" spritename="ui_game_symbol_chair" displayname_key="xuiPropsBuilding" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="MC_outdoor" categoryname="Outdoor" spritename="ui_game_symbol_tree" displayname_key="xuiPropsOutdoor" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="MC_helpers" categoryname="LevelDesign" spritename="ui_game_symbol_tool_smithing" displayname_key="xuiHelpers" />
					<!-- Player Blocks --><sprite sprite="ui_game_symbol_subtract" style="icon32px" pivot="center" width="50" height="8" color="0,0,0,255"/>
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="MC_playerBlocks" categoryname="PlayerBlocks" spritename="ui_game_symbol_player" displayname_key="xuiPlayerBlocks" />
					<!-- Items --><!-- <sprite sprite="ui_game_symbol_subtract" style="icon32px" pivot="center" width="50" height="8" color="0,0,0,255"/> -->
					<category_icon_creative_filter filtertype="itemgroups" filtertext="" categoryname="Items" spritename="ui_game_symbol_backpack" displayname_key="xuiItems"/>
				</grid>
			</rect>

			<rect depth="2" name="categoryBar2" width="43" height="718" pos="52,-49">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="-1,0" width="48" height="722" />
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="52" height="727" color="[black]" type="sliced" fillcenter="false"  />

				<grid depth="10" name="subCategoriesShapes" visible="{main_category_is_shapes}" pos="24,-22" rows="16" cols="1" width="43" height="675" cell_width="43" cell_height="43" arrangement="vertical" repeat_content="true" controller="CategoryList" allow_unselect="true" allow_key_paging="false">
					<category_icon />
				</grid>
				<grid depth="10" name="subCategoriesProps" visible="{#main_category_name == 'Building'}" pos="24,-22" rows="16" cols="1" width="43" height="675" cell_width="43" cell_height="43" arrangement="vertical" controller="CategoryList" allow_unselect="true" allow_key_paging="false">
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_construction" spritename="ui_game_symbol_resource" displayname_key="xuifConstruction" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_destruction" spritename="ui_game_symbol_destruction" displayname_key="xuifDestruction" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_electrical" spritename="ui_game_symbol_electric_plugin" displayname_key="xuifElectrical" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_lighting" spritename="ui_game_symbol_lightbulb" displayname_key="xuifLighting" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_decor" spritename="ui_game_symbol_chair" displayname_key="xuifDecor" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_industrial" spritename="ui_game_symbol_shape_factory" displayname_key="xuifIndustrial" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_commercial" spritename="ui_game_symbol_map_trader" displayname_key="xuifCommercial" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_residential" spritename="ui_game_symbol_map_house" displayname_key="xuifResidential" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_loot" spritename="ui_game_symbol_loot_sack" displayname_key="xuifLoot" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_automotive" spritename="ui_game_symbol_service" displayname_key="xuifAutomotive" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_plumbing" spritename="ui_game_symbol_wrench" displayname_key="xuifPlumbing" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_doors" spritename="ui_game_symbol_door" displayname_key="xuifDoors" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_windows" spritename="ui_game_symbol_windows" displayname_key="xuifWindows" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_traps" spritename="ui_game_symbol_traps" displayname_key="xuifTraps" />
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
				</grid>
				<grid depth="10" name="subCategoriesProps" visible="{#main_category_name == 'Outdoor'}" pos="24,-22" rows="16" cols="1" width="43" height="675" cell_width="43" cell_height="43" arrangement="vertical" controller="CategoryList" allow_unselect="true" allow_key_paging="false">
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_decor" spritename="ui_game_symbol_chair" displayname_key="xuifDecor" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_fences" spritename="ui_game_symbol_shape_outdoor_props" displayname_key="xuifFences" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_trees" spritename="ui_game_symbol_tree" displayname_key="xuifTrees" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_shrubbery" spritename="ui_game_symbol_foliage" displayname_key="xuifFoliage" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_crops" spritename="ui_game_symbol_crops" displayname_key="xuifCrops" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_terrain" spritename="ui_game_symbol_map_cave" displayname_key="xuifTerrain" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_signs" spritename="ui_game_symbol_signs" displayname_key="xuifSigns" />
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
				</grid>
				<grid depth="10" name="subCategoriesLevelDesign" visible="{#main_category_name == 'LevelDesign'}" pos="24,-22" rows="16" cols="1" width="43" height="675" cell_width="43" cell_height="43" arrangement="vertical" controller="CategoryList" allow_unselect="true" allow_key_paging="false">
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_helperIndustrial" spritename="ui_game_symbol_shape_factory" displayname_key="xuifIndustrialHelpers" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_helperCommercial" spritename="ui_game_symbol_map_trader" displayname_key="xuifCommercialHelpers" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_helperResidential" spritename="ui_game_symbol_map_house" displayname_key="xuifResidentialHelpers" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_helperOutdoor" spritename="ui_game_symbol_tree" displayname_key="xuifOutdoorHelpers" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_helperElectrical" spritename="ui_game_symbol_electric_plugin" displayname_key="xuifElectricalHelpers" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_helperSleeper" spritename="ui_game_symbol_zombie" displayname_key="xuifSleeperHelpers" />
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_helperTerrain" spritename="ui_game_symbol_map_cave" displayname_key="xuifTerrainHelpers" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_design" spritename="ui_game_symbol_other" displayname_key="xuifDesign" /> -->
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_loot" spritename="ui_game_symbol_loot_sack" displayname_key="xuifLoot" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_treasureRoom" spritename="ui_game_symbol_treasure" displayname_key="xuifLootRoom" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_questblocks" spritename="ui_game_symbol_quest" displayname_key="xuifQuestBlocks" />
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
				</grid>
				<grid depth="10" name="subCategoriesProps" visible="{#main_category_name == 'PlayerBlocks'}" pos="24,-22" rows="16" cols="1" width="43" height="675" cell_width="43" cell_height="43" arrangement="vertical" controller="CategoryList" allow_unselect="true" allow_key_paging="false">
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_electrical" spritename="ui_game_symbol_electric_plugin" displayname_key="xuifElectrical" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_traps" spritename="ui_game_symbol_traps" displayname_key="xuifTraps" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_decor" spritename="ui_game_symbol_chair" displayname_key="xuifDecor" />
					<category_icon_creative_filter filtertype="blockfiltertags" filtertext="SC_playerHelpers" spritename="ui_game_symbol_pack_mule" displayname_key="xuifPlayerHelpers" />
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
					<!-- <category_icon_creative_filter filtertype="blockfiltertags" filtertext="" spritename="ui_game_symbol_other" displayname_key="BLANK" /> -->
				</grid>
				<grid depth="10" name="subCategoriesItems" visible="{#main_category_name == 'Items'}" pos="24,-22" rows="16" cols="1" width="43" height="675" cell_width="43" cell_height="43" arrangement="vertical" controller="CategoryList" allow_unselect="true" allow_key_paging="false">
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Resources" spritename="ui_game_symbol_resource" displayname_key="lblCategoryResources" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Tools/Traps" spritename="ui_game_symbol_tool" displayname_key="lblCategoryTools" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Melee Weapons" spritename="ui_game_symbol_knife" displayname_key="lblCategoryMeleeWeapons" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Ranged Weapons" spritename="ui_game_symbol_rifle" displayname_key="lblCategoryRangeWeapons" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Tool/Weapon Mods" spritename="ui_game_symbol_assemble" displayname_key="lblCategoryToolWeaponMods" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Robotics" spritename="ui_game_symbol_junk_turret" displayname_key="lblCategoryRobotics" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Ammo" spritename="ui_game_symbol_shape_ammo" displayname_key="lblCategoryAmmo" />
					<!-- <category_icon_creative_filter filtertype="itemgroups" filtertext="Clothing" spritename="ui_game_symbol_armor_iron" displayname_key="lblCategoryClothing" /> -->
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Armor" spritename="ui_game_symbol_armor_iron" displayname_key="lblCategoryArmor" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Food/Cooking" spritename="ui_game_symbol_fork" displayname_key="lblCategoryFoodCooking" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Science" spritename="ui_game_symbol_science" displayname_key="lblCategoryScience" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="BooksOnly" spritename="ui_game_symbol_book" displayname_key="lblCategoryBooksOnly" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="SchematicsOnly" spritename="ui_game_symbol_shape_schematics" displayname_key="lblCategorySchematicsOnly" />
					<category_icon_creative_filter filtertype="itemgroups" filtertext="Special Items" spritename="ui_game_symbol_quest" displayname_key="lblCategorySpecialItems" />
				</grid>

			</rect>

			<grid depth="10" name="queue" rows="9" cols="7" pos="101,-97" cell_width="75" cell_height="75" repeat_content="true" controller="Creative2StackGrid" >
				<item_stack name="0" controller="Creative2Stack" on_scroll="true" allow_dropping="false" prefix_id="true" show_favorites="true" />
			</grid>

			<sprite depth="8" name="backgroundMain" pos="98,-97" width="528" height="675" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" on_press="true" gamepad_selectable="false" />
		</rect>
	</window>



	<window name="windowShapeBlocks" controller="ShapesWindow" width="955" height="730" panel="Left" anchor_side="bottomright" normal_color="[iconColor]" cursor_area="true" >
		<rect pos="0,-25">
			<panel name="header" height="43" depth="0" disableautobackground="true">
				<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header"/>
				<sprite depth="2" name="windowicon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_lightbulb"/>
				<label style="header.name" text="SHAPES" text_key="xuiShapes" width="400" />
				<label depth="2" name="resultCount" width="100" height="32" text="" font_size="32"
					justify="right" anchor_side="right" pivot="right" anchor_run_once="false" anchor_offset="-10,0"/>
			</panel>

			<rect depth="2" name="searchControls" width="897" height="43" pos="52,-49">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="-1,0" width="899" height="49" />
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="903" height="52" color="[black]" type="sliced" fillcenter="false"  />

				<button depth="4" name="favorites" style="icon30px, press" pos="22,-22" sprite="server_favorite" pivot="center" sound="[paging_click]" tooltip_key="lblFavorites" collider_scale="1.5" />
				<label depth="4" name="toggleFavorite" pos="60,-23" pivot="left" width="200" height="32" text_key="xuiShapeFavorite" font_size="32" parse_actions="true" visible="{keyboardonly}" />

				<panel pos="605,0" width="200" disableautobackground="true">
					<sprite depth="4" name="searchIcon" style="icon30px" pos="0,-22" sprite="ui_game_symbol_search" pivot="center"/>
					<textfield depth="5" pos="22,-7" width="140" height="30" name="searchInput" search_field="true" close_group_on_tab="true" clear_button="true" />
				</panel>

				<panel pos="780,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6"  contents_parent="windowShapeBlocks"/>
				</panel>
			</rect>

			<rect depth="2" name="categoryBar" width="43" height="643" pos="3,-49">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="-1,0" width="48" height="647" />
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="52" height="652" color="[black]" type="sliced" fillcenter="false"  />

				<grid depth="10" name="categories" pos="24,-22" rows="15" cols="1" width="43" height="600" cell_width="43" cell_height="43" arrangement="vertical" repeat_content="true" controller="CategoryList">
					<category_icon />
				</grid>
			</rect>



			<grid depth="10" name="shapes" rows="8" cols="12" pos="52,-97" cell_width="75" cell_height="75" repeat_content="true" controller="ShapeStackGrid" >
				<shape_stack name="0"/>
			</grid>
			<sprite depth="8" name="backgroundMain" pos="49,-97" width="903" height="600" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" on_press="true"  gamepad_selectable="false"/>
		</rect>
	</window>

	<window name="windowShapeInfo" controller="ShapeInfoWindow" width="350" height="390" panel="Center" normal_color="[iconColor]" cursor_area="true">
		<rect pos="0,-25">
			<panel name="header" height="43" depth="0" disableautobackground="true" >
				<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header"/>
				<sprite depth="2" name="windowicon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_paint_bucket"/>
				<label style="header.name" text="{blockname}" /> <!-- text_key="xuiCreative"  -->
			</panel>

			<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="2,-49" width="100" height="150" />
			<sprite depth="1" name="background" color="[mediumGrey]" type="sliced" pos="100,-49" width="148" height="150" />
			<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="250,-49" width="100" height="150" />
			<sprite depth="8" name="backgroundMain" pos="100,-47" width="150" height="155" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

			<sprite depth="9" name="itemPreview" pos="103, -50" width="144" height="144" atlas="ItemIconAtlas" sprite="{blockicon}" color="{blockicontint}" foregroundlayer="true" />
			<sprite depth="8" name="backgroundMain" pos="0,-47" width="350" height="155" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="false" />
		</rect>
		
		<rect name="contentInfo" height="159" depth="1" pos="0,-225" >
			<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="162" color="[black]" type="sliced" fillcenter="false" />
			<rect depth="3" width="350">
				<rect pos="0,0" height="35">
					<sprite depth="8" sprite="menu_empty3px" height="35" color="[black]" type="sliced" fillcenter="false" />
					<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="34" type="sliced" />
					<label depth="3" pos="10,-3" width="330" font_size="26" text="{itemstattitle1}" justify="left" color="[white]" />
					<label depth="3" pos="10,-3" width="330" font_size="26" text="{itemstat1}" justify="right" color="[selectedColor]" />
				</rect>
				<rect pos="0,-33" height="35">
					<sprite depth="8" sprite="menu_empty3px" height="34"  color="[black]" type="sliced" fillcenter="false" />
					<sprite depth="1" color="[darkGrey]" type="sliced" />
					<label depth="3" pos="10,-3" width="330" font_size="26" text="{itemstattitle2}" justify="left" color="[white]" />
					<label depth="3" pos="10,-3" width="330" font_size="26" text="{itemstat2}" justify="right" color="[selectedColor]" />
				</rect>
				<rect pos="0,-64" height="35">
					<sprite depth="8" sprite="menu_empty3px" height="34" color="[black]" type="sliced" fillcenter="false" />
					<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="33" type="sliced" />
					<label depth="3" pos="10,-3" width="330" font_size="26" text="{itemstattitle3}" justify="left" color="[white]" />
					<label depth="3" pos="10,-3" width="330" font_size="26" text="{itemstat3}" justify="right" color="[selectedColor]" />
				</rect>
				<rect pos="0,-94" height="35">
					<sprite depth="8" sprite="menu_empty3px" height="36"  color="[black]" type="sliced" fillcenter="false" />
					<sprite depth="1" color="[darkGrey]" type="sliced" />
					<label depth="3" pos="10,-4" width="330" font_size="26" text="{itemstattitle4}" justify="left" color="[white]" />
					<label depth="3" pos="10,-4" width="330" font_size="26" text="{itemstat4}" justify="right" color="[selectedColor]" />
				</rect>
				<rect pos="0,-127" height="35">
					<sprite depth="8" sprite="menu_empty3px" height="35" color="[black]" type="sliced" fillcenter="false" />
					<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="34" type="sliced" />
					<label depth="3" pos="10,-4" width="330" font_size="26" text="{itemstattitle5}" justify="left" color="[white]" />
					<label depth="3" pos="10,-4" width="330" font_size="26" text="{itemstat5}" justify="right" color="[selectedColor]" />
				</rect>
			</rect>
		</rect>
	</window>

	<window name="windowShapeMaterial" controller="ShapeMaterialInfoWindow" width="350" height="205" panel="Center" normal_color="[iconColor]" cursor_area="true">
		<rect pos="0,-25" visible="{hasmaterial}">
			<panel name="header" height="43" depth="0" disableautobackground="true" >
				<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header"/>
				<sprite depth="2" name="windowicon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_paint_bucket"/>
				<label style="header.name" text="{materialname}" /> <!-- text_key="xuiCreative"  -->
			</panel>

			<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="2,-49" width="100" height="150" />
			<sprite depth="1" name="background" color="[mediumGrey]" type="sliced" pos="100,-49" width="148" height="150" />
			<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="250,-49" width="100" height="150" />
			<sprite depth="8" name="backgroundMain" pos="100,-47" width="150" height="155" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

			<texture depth="9" name="backgroundTexture" material="Materials/Transparent Colored" pos="103, -50" size="144,144" globalopacity="true"/>
			<sprite depth="8" name="backgroundMain" pos="0,-47" width="350" height="155" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="false" />

			<rect depth="2" name="materialControls" height="48" pos="0,-200" visible="{#always(false)}"> <!-- is_creative and (has_downgrade or has_upgrade) -->
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced" />
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<button depth="3" style="press, hover" name="btnDowngrade" tooltip_key="{#has_downgrade ? format(localization('xuiShapeMaterialDowngrade'), downgrade_material) : ''}" sprite="ui_game_symbol_block_damage" enabled="{has_downgrade}" disabledcolor="[lightGrey]" sound="[paging_click]" pos="145, -24" width="32" height="32" hoverscale="1.25" pivot="center"  collider_scale="1.5"/>
				<button depth="3" style="press, hover" name="btnUpgrade" tooltip_key="{#has_upgrade ? format(localization('xuiShapeMaterialUpgrade'), upgrade_material) : ''}" sprite="ui_game_symbol_block_repair" enabled="{has_upgrade}" disabledcolor="[lightGrey]" sound="[paging_click]" pos="205, -24" width="32" height="32" hoverscale="1.25" pivot="center"  collider_scale="1.5"/>
			</rect>
		</rect>
	</window>

	<window name="craftingInfoPanel" width="603" height="392" controller="CraftingInfoWindow" style="crafting.info.window" panel="Center" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="{itemgroupicon}"/>
			<label style="header.name" text="{itemname}" />

			<rect pos="350,0" name="requiredToolOverlay">
				<sprite size="24,24" depth="2" name="requiredToolCheckmark" pos="0,-8" sprite="ui_game_symbol_check" color="[red]"/>
				<label depth="2" pos="35,-8" name="requiredToolText" width="200" height="32" text="Required" text_key="xuiRequired" font_size="32" upper_case="true" justify="left"/>
			</rect>
		</panel>

		<rect name="contentCraftingInfo" height="381" depth="1" pos="0,-46">
			<sprite depth="5" name="backgroundMain" sprite="menu_empty3px" width="604" height="348" color="[black]" type="sliced" fillcenter="false" />
			<rect depth="1" pos="3,-3" name="preview" width="147" height="169">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="153" height="175" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" />
				<sprite depth="12" name="itemPreview" width="110" height="110" atlas="ItemIconAtlas" sprite="{itemicon}" color="{itemicontint}" pos="74,-58" pivot="center" foregroundlayer="true"/>
				<sprite depth="8" name="itemtypeicon" width="32" height="32" sprite="ui_game_symbol_{itemtypeicon}" pos="2,-2" foregroundlayer="true" visible="{hasitemtypeicon}" color="{itemtypeicontint}" />
				<sprite depth="3" name="durabilityBackground" height="20" width="85" color="48,48,48,255" type="sliced" pos="31, -113" visible="{hasdurability}"/>
				<filledsprite depth="4" name="durabilityBar" height="20" width="85" color="{durabilitycolor}" type="filled" pos="31, -113" fill="{durabilityfill}" visible="{hasdurability}" />
				<label depth="12" name="durabilityValue" pos="0,-104" width="145" height="32" text="{durabilitytext}" font_size="30" justify="{durabilityjustify}" effect="outline" visible="false"/>

				<sprite depth="3" name="clockIcon" size="24,24" sprite="ui_game_symbol_clock" pos="25, -142" type="sliced" color="[iconColor]" foregroundlayer="true" />
				<!-- <label depth="3" name="TimeLabel" style="icon30px" pos="53, -119" text="TIME" text_key="xuiTime" font_size="22" /> -->
				<label depth="3" name="craftingTime" width="100" height="32" pos="55, -143" text="{craftingtime}" font_size="26" color="[beige]"/>
				<button depth="12" name="addQualityButton" style="icon22px, press" pos="132,-123" sprite="ui_game_symbol_arrow_menu" flip="Horizontally" pivot="center" sound="[paging_click]" visible="{hasdurability}" disabledcolor="[lightGrey]" enabled="{enableaddquality}" />
				<button depth="12" name="subtractQualityButton" style="icon22px, press" pos="14,-123" sprite="ui_game_symbol_arrow_menu" pivot="center" sound="[paging_click]" visible="{hasdurability}" disabledcolor="[lightGrey]" enabled="{enablesubtractquality}" />
			</rect>

			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,-174" width="153" height="173" color="[black]" type="sliced" fillcenter="false" />
			<grid name="itemActions" rows="4" cols="1" pos="3,-176" width="148" cell_width="147" cell_height="42" controller="ItemActionList">
				<rect depth="1" name="actions" width="147" height="225">
					<sprite color="[mediumGrey]" type="sliced" height="45" />
					<rect name="recipeCraftCountControl" width="120" height="210" pos="27,0" controller="RecipeCraftCount">
						<button depth="2" name="countDown" style="icon30px, press, held" pos="-10,-20" sprite="ui_game_symbol_arrow_left" pivot="center" sound="[paging_click]" disabledcolor="[lightGrey]" enabled="{enablecountdown}"/>
						<textfield name="count_input" depth="2" pos="7,-6" width="40" height="28" character_limit="4" validation="integer" virtual_keyboard_prompt="vkPromptCount" />
						<button depth="2" name="countUp" style="icon30px, press, held" pos="64,-20" sprite="ui_game_symbol_arrow_right" pivot="center" sound="[paging_click]" disabledcolor="[lightGrey]" enabled="{enablecountup}"/>
						<button depth="2" name="countMax" style="icon30px, press" pos="96,-20" sprite="ui_game_symbol_arrow_max" pivot="center" sound="[paging_click]" disabledcolor="[lightGrey]" enabled="{enablecountup}"/>
					</rect>
				</rect>
				<item_action_entry />
				<item_action_entry />
				<item_action_entry />
				<!-- <sprite depth="3" name="fillerBackground" height="22" color="[mediumGrey]" type="sliced"/> -->
			</grid>

			<rect depth="2" name="searchControls" width="449" height="43" pos="152,0">
				<sprite depth="1" color="[mediumGrey]" type="sliced" globalopacity="true" />
				<button depth="4" name="ingredientsButton" style="icon30px, press" pos="22,-22" sprite="ui_game_symbol_resource" pivot="center" tooltip_key="ingredient" sound="[paging_click]" selected="true" />
				<button depth="4" name="descriptionButton" style="icon30px, press" pos="65,-22" sprite="ui_game_symbol_book" pivot="center" tooltip_key="lblBookDesc" sound="[paging_click]" />
				<button depth="4" name="showunlocksButton" style="icon30px, press" pos="108,-22" sprite="ui_game_symbol_unlock" pivot="center" tooltip_key="xuiSkillUnlocks" sound="[paging_click]" visible="{showunlockedbytab}" />
			</rect>


			<rect depth="1" pos="153,-43" name="description" width="447" height="328" visible="{showdescription}">

				<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="453" height="303" color="[black]" type="sliced" fillcenter="false" />

				<rect visible="true">
					<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" height="301" />
					<label depth="3" name="descriptionText" pos="6,-5" text="{itemdescription}"  width="440" height="294" parse_actions="true" />
				</rect>

			</rect>

			<rect depth="1" pos="153,-45" name="ingredients" width="447" height="264" visible="{showingredients}">
				<grid rows="6" width="447" height="231" cell_height="50" cell_width="447" controller="IngredientList" arrangement="vertical">
					<ingredient_header name="0"/>
					<ingredient_row name="1"/>
					<ingredient_row name="2"/>
					<ingredient_row name="3"/>
					<ingredient_row name="4"/>
					<ingredient_row name="5"/>
				</grid>
			</rect>

			<rect depth="1" pos="153,-45" name="unlockedBy" width="447" height="264" visible="{showunlockedby}">
				<grid rows="6" width="447" height="231" cell_height="50" cell_width="447" controller="UnlockByList" arrangement="vertical">
					<unlocked_by_header name="0"/>
					<unlocked_by_row name="1"/>
					<unlocked_by_row name="2"/>
					<unlocked_by_row name="3"/>
					<unlocked_by_row name="4"/>
					<unlocked_by_row name="5"/>
				</grid>
			</rect>
		</rect>
	</window>

	<window name="emptyInfoPanel" width="603" height="392" panel="Center" controller="EmptyInfoWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_search"/>
			<label style="header.name" text="INSPECT" text_key="xuiInspect" />
		</panel>

		<rect name="contentCraftingInfo" height="346" depth="1" pos="0,-46" >
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="603" height="346" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[mediumGrey]" type="sliced" />
			<label pos="30,-173" depth="3" name="descriptionText" width="565" height="340" text_key="xuiEmptyInfoPanelText"  justify="left" font_size="28" pivot="left" spacing_y="10" />
		</rect>
	</window>

	<window name="itemInfoPanel" width="606" height="392" controller="ItemInfoWindow" panel="Center" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="{itemgroupicon}"/>
			<label depth="2" name="windowName" pos="39,-6" width="340" height="32" text="{itemname}" font_size="32" />
			<label depth="2" pos="575,-8" width="200" height="28" text="{pricelabel} {itemcost}{markup}" pivot="topright" justify="right" />
			<sprite depth="4" name="costIcon" sprite="ui_game_symbol_coin" size="24,24" pos="577,-10" color="[white]" foregroundlayer="true" />
		</panel>

		<rect name="contentInfo" height="346" depth="1" pos="0,-46" >
			<sprite depth="5" name="backgroundMain" sprite="menu_empty3px" width="603" height="347" color="[black]" type="sliced" fillcenter="false" />
			<rect depth="1" pos="3,0" name="preview" width="147" height="130">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="153" height="133" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" color="[darkGrey]" pos="0,0" type="sliced" globalopacity="true" />
				<sprite depth="7" name="itemPreview" width="110" height="110" atlas="ItemIconAtlas" sprite="{itemicon}" color="{itemicontint}" pos="74,-58" pivot="center" foregroundlayer="true"/>
				<sprite depth="12" name="itemtypeicon" width="32" height="32" sprite="ui_game_symbol_{itemtypeicon}" pos="4,-8" foregroundlayer="true" visible="{hasitemtypeicon}" color="{itemtypeicontint}" />
				<sprite depth="4" name="durabilityBackground" height="20" width="145" color="48,48,48,255" type="sliced" pos="1, -107" visible="{hasdurability}"/>
				<filledsprite depth="5" name="durabilityBar" height="20" width="145" color="{durabilitycolor}" type="filled" pos="1, -107" fill="{durabilityfill}" visible="{hasdurability}" />
				<label depth="12" name="durabilityValue" pos="0,-98" width="145" height="32" text="{durabilitytext}" font_size="30" justify="{durabilityjustify}" effect="outline" visible="false"/>
			</rect>

			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,-130" width="153" height="216" color="[black]" type="sliced" fillcenter="false" />
			<rect pos="3,-133" width="147" height="100%" visible="{shownormaloptions}" >
				<grid name="itemActions" rows="5" cols="1" pos="0,0" width="147" height="100%" cell_width="147" cell_height="42" controller="ItemActionList"
					repeat_content="true" visible="false">
					<item_action_entry />
				</grid>
			</rect>

			<rect pos="3,-132" width="147" height="100%" visible="{showtraderoptions}" >
				<sprite color="[mediumGrey]" type="sliced" height="44" />
				<rect name="counterControl" width="120" height="42" pos="27,0" controller="Counter">
					<button depth="2" name="countDown" style="icon30px, press, held" pos="-10,-20" sprite="ui_game_symbol_arrow_left" pivot="center" sound="[paging_click]"/>
					<textfield name="count_input" depth="2" pos="7,-6" width="40" height="28" character_limit="4" validation="integer" virtual_keyboard_prompt="vkPromptCount" />
					<button depth="2" name="countUp" style="icon30px, press, held" pos="64,-20" sprite="ui_game_symbol_arrow_right" pivot="center" sound="[paging_click]"/>
					<button depth="2" name="countMax" style="icon30px, press" pos="96,-20" sprite="ui_game_symbol_arrow_max" pivot="center" sound="[paging_click]"/>
				</rect>
				<grid name="vendorItemActions" rows="4" cols="1" pos="0,-43" width="147" height="100%" cell_width="147" cell_height="42" controller="ItemActionList"
					repeat_content="true" visible="false">
					<item_action_entry />
				</grid>
			</rect>

			<!-- <sprite depth="3" name="fillerBackground" pos="3,-343" height="15" width="147" color="[mediumGrey]" type="sliced"/> -->

		<rect depth="2" name="searchControls" width="448" height="43" pos="152,0" visible="{showstatanddescription}">
			<sprite depth="1" color="[mediumGrey]" type="sliced" globalopacity="true" width="449" height="44" />
			<button depth="4" name="statButton" style="icon30px, press" pos="22,-22" sprite="ui_game_symbol_ping" pivot="center" tooltip="Stats" tooltip_key="lblStats" sound="[paging_click]" selected="true" />
			<button depth="4" name="descriptionButton" style="icon30px, press" pos="65,-22" sprite="ui_game_symbol_book" pivot="center" tooltip="Description" tooltip_key="lblDescription" sound="[paging_click]" />
		</rect>

			<rect depth="1" pos="153,0" name="description" width="447" height="271" visible="{showonlydescription}">
				<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" />
				<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="453" height="272" color="[black]" type="sliced" fillcenter="false" />

				<label depth="3" name="descriptionText" pos="6,-5" text="{itemdescription}"  width="440" parse_actions="true" />

				<!--label depth="3" name="statText" pos="6,-2" width="254" height="100%" text="{itemstats1}" />
				<label depth="3" name="statText2" pos="227,-2" width="220" height="100%" text="{itemstats2}" /> -->
			</rect>

			<rect depth="1" pos="153,-43" name="description" width="447" height="228" visible="{showstatanddescription}">

				<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="453" height="229" color="[black]" type="sliced" fillcenter="false" />
				<rect depth="3" visible="{showstats}" width="453">
					<rect pos="-3,0" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="35" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="34" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle1}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat1}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-33" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="34"  color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkGrey]" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle2}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat2}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-64" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="34" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="33" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle3}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat3}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-94" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="36"  color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkGrey]" type="sliced" />
						<label depth="3" pos="10,-4" width="430" font_size="26" text="{itemstattitle4}" justify="left" color="[white]" />
						<label depth="3" pos="10,-4" width="430" font_size="26" text="{itemstat4}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-127" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="35" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="34" type="sliced" />
						<label depth="3" pos="10,-4" width="430" font_size="26" text="{itemstattitle5}" justify="left" color="[white]" />
						<label depth="3" pos="10,-4" width="430" font_size="26" text="{itemstat5}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-159" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="36"  color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkGrey]" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle6}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat6}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-192" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="36" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="35" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle7}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat7}" justify="right" color="[selectedColor]" />
					</rect>
				</rect>

				<rect visible="{showdescription}">
					<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" />
					<label depth="3" name="descriptionText" pos="6,-5" text="{itemdescription}"  width="440" parse_actions="true" />
				</rect>
				<!--label depth="3" name="statText" pos="6,-2" width="254" height="100%" text="{itemstats1}" />
				<label depth="3" name="statText2" pos="227,-2" width="220" height="100%" text="{itemstats2}" /> -->
			</rect>

			<grid name="parts" rows="1" cols="6" pos="153,-271" cell_width="75" cell_height="75" repeat_content="true" controller="PartList" visible="{isnotcomparing}">
				<item_stack name="0"/>
			</grid>
			<rect visible="{iscomparing}" pos="153,-271" width="450" height="75">
				<sprite depth="1" color="[mediumGrey]" type="sliced" globalopacity="true" />
				<label depth="3" name="descriptionText" pos="6,-20" text_key="xuiCompareNoModded" justify="center" color="[selectedColor]" />
			</rect>
		</rect>
	</window>

	<popupMenu name="popupMenu" />
	
	<window name="windowBackpack" width="606" height="349" panel="Center" controller="BackpackWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="3" name="windowIcon" style="icon32px" pivot="center" pos="21,-21" sprite="ui_game_symbol_backpack" />
			<label depth="3" name="windowName" pos="42,-6" width="180" height="32" text="INVENTORY" text_key="xuiInventory" font_size="32" />


			<rect pos="320,0" width="300" controller="ContainerStandardControls" move_start_bottom_left="true">
				<button depth="3" name="btnClearInventory" sprite="ui_game_symbol_trash" tooltip_key="lblClearInventory" pos="-45, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" visible="{creativewindowopen}" defaultcolor="[iconColor]" hovercolor="[hoverColor]" selectedcolor="[selectedColor]" />

				<button   depth="3" name="btnToggleLockMode"          sprite="ui_game_symbol_lock"     tooltip_key="xuiStashLockModeToggle"             pos="0, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" selected="{userlockmode}" />

				<button depth="3" name="btnSort"           sprite="ui_game_symbol_sort"  tooltip_key="lblSortContainer"  pos="50, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
				
				<rect pos="0, 0" visible="{lootingorvehiclestorage}">
					<button   depth="3" name="btnMoveFillAndSmart" sprite="ui_game_symbol_store_similar_down" tooltip_key="lblStashFillAndSmart" pos="100, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
					<button   depth="3" name="btnMoveAll"          sprite="ui_game_symbol_store_all_down"     tooltip_key="lblStashAll"             pos="150, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />

<!--
					<rect pos="0,30">
						<button   depth="3" name="btnMoveFillStacks"   sprite="ui_game_symbol_drop"          tooltip_key="lblStashFillStacks"   pos="6, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
						<button   depth="3" name="btnMoveSmart"        sprite="ui_game_symbol_drop"          tooltip_key="lblStashSmart"        pos="46, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
					</rect>
-->
				</rect>
			</rect>

			<label depth="2" pos="492,-8" width="80" height="28" text="{currencyamount}" justify="right" />
			<sprite depth="4" name="costIcon" sprite="ui_game_symbol_coin" size="24,24" pos="577,-10" color="[white]" foregroundlayer="true" />
		</panel>

		<panel name="content" width="100%" height="303" depth="0" pos="0,-46" disableautobackground="true">
				<!-- <sprite name="background" color="[black]" type="sliced" globalopacity="true"/> -->
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="606" height="336" color="[black]" type="sliced" fillcenter="false" on_press="true"  gamepad_selectable="false"/>
				<grid depth="10" name="inventory" rows="5" cols="9" pos="3,-3" cell_width="67" cell_height="67" controller="Backpack" repeat_content="true" >
					<backpack_item_stack name="0"/>
				</grid>
		</panel>
	</window>

	<window name="windowToolsForge" width="228" height="121" panel="Right" cursor_area="true" >
		<panel style="header.panel">
			<sprite style="header.icon" sprite="ui_game_symbol_wrench"/>
			<label style="header.name.shrink" text="TOOLS" text_key="xuiTools" />
		</panel>

		<rect name="content" depth="0" pos="0,-46" height="75" disablefallthrough="true">

			<grid name="inventory" rows="1" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationToolGrid" repeat_content="true"
			required_tools="toolBellows,toolAnvil,toolForgeCrucible" required_tools_only="true">
				<item_stack controller="RequiredItemStack" name="0"/>
			</grid>
		</rect>

	</window>

	<window name="windowToolsCampfire" width="228" height="121" panel="Right" cursor_area="true" >
		<panel style="header.panel">
			<sprite style="header.icon" sprite="ui_game_symbol_cookware"/>
			<label style="header.name.shrink" text="TOOLS" text_key="xuiTools" />
		</panel>

		<rect name="content" depth="0" pos="0,-46" height="75" disablefallthrough="true">

			<grid name="inventory" rows="1" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationToolGrid" repeat_content="true" required_tools="toolCookingPot,toolCookingGrill,toolBeaker" required_tools_only="true">
				<item_stack controller="RequiredItemStack" name="0"/>
			</grid>
		</rect>
	</window>

	<window name="windowFuel" width="228" height="166" panel="Right" cursor_area="true">
		<panel style="header.panel">
			<sprite style="header.icon" sprite="ui_game_symbol_fire"/>
			<label style="header.name.iconright" text="FUEL" text_key="xuiFuel" />
			<label style="header.timer"/>
		</panel>

		<rect name="content" depth="0" pos="0,-46" height="79" >
			<rect disablefallthrough="true">
				<grid rows="1" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationFuelGrid" repeat_content="true">
					<item_stack name="0"/>
				</grid>
			</rect>
			<grid name="slot_preview" depth="1" rows="1" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="SlotPreview">
				<rect>
					<sprite name="slot" depth="2" width="64" height="64" sprite="resourceWood" atlas="ItemIconAtlasGreyscale" pos="35,-35" pivot="center" foregroundlayer="true"/>
				</rect>
				<rect>
					<sprite name="slot" depth="2" width="64" height="64" sprite="resourceWood" atlas="ItemIconAtlasGreyscale" pos="35,-35" pivot="center" foregroundlayer="true"/>
				</rect>
				<rect>
					<sprite name="slot" depth="2" width="64" height="64" sprite="resourceWood" atlas="ItemIconAtlasGreyscale" pos="35,-35" pivot="center" foregroundlayer="true"/>
				</rect>
			</grid>
		</rect>

		<panel name="buttonContent" depth="5" pos="0, -121" height="40" backgroundcolor="[black]" bordercolor="[black]">
			<sprite depth="5" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<rect depth="1" pos="3,-3" width="225" height="34">
				<button name="button" sprite="menu_empty" defaultcolor="[mediumGrey]" disabledcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" width="222"  hoverscale="1.0" />
				<sprite depth="2" name="flameIcon" style="icon32px" pos="5,0" sprite="ui_game_symbol_fire" />
				<label depth="2" name="onoff" pos="0,-6" justify="center" text="TURN ON" text_key="xuiTurnOn" font_size="26" />
			</rect>
		</panel>
	</window>

	<window name="windowForgeInput" width="228" height="204" panel="Right"
		controller="WorkstationMaterialInputWindow" materials_accepted="iron,brass,lead,glass,stone,clay" valid_materials_color="[green]" invalid_materials_color="[red]" cursor_area="true" >
		<panel style="header.panel">
			<sprite style="header.icon" sprite="ui_game_symbol_forge"/>
			<label style="header.name.shrink" text="INPUT" text_key="xuiSmelting" />
		</panel>

		<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="0,-46" height="153" color="[black]" type="sliced" fillcenter="false" />
		<rect name="content" depth="1" pos="0,-46" height="153">

			<grid depth="7" rows="2" cols="1" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationMaterialInputGrid" repeat_content="true">
				<item_stack name="0"/>
			</grid>

		</rect>

		<rect name="content2" depth="0" pos="78, -49" width="147" height="148">
			<sprite depth="1" color="[mediumGrey]" type="sliced"/>
			<grid rows="6" cols="1" pos="3,-3" cell_width="147" cell_height="24"  repeat_content="true">
				<forge_material name="0"/>
			</grid>
		</rect>
	</window>

	<window name="windowOutput" width="228" height="198" anchor="CenterTop" panel="Right" cursor_area="true" controller="WorkstationOutputWindow" >
		<panel style="header.panel">
			<sprite style="header.icon" sprite="ui_game_symbol_loot_sack"/>
			<label style="header.name.iconright" text="OUTPUT" text_key="xuiOutput" />
			
			<rect pivot="topleft" pos="0,0" controller="ContainerStandardControls" createuiwidget="true" visible="{buttons_visible}">
				<button   depth="3" name="btnMoveAll"          sprite="ui_game_symbol_store_all_up"     tooltip="{take_all_tooltip}"          pos="203, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
			</rect>
		</panel>


		<rect name="content" depth="0" pos="0,-46" height="150" disablefallthrough="true">
			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" height="150" color="[black]" type="sliced" fillcenter="false" />
				<grid depth="10" name="inventory" rows="2" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationOutputGrid" repeat_content="true">
					<item_stack name="0"/>
				</grid>
		</rect>
	</window>


	<!-- <window name="windowCombine" width="228" height="224" panel="Right" cursor_area="true" > -->
		<!-- <panel style="header.panel"> -->
			<!-- <sprite style="header.icon" sprite="ui_game_symbol_add"/> -->
			<!-- <label style="header.name" text="COMBINE" text_key="xuiCombine"/> -->
		<!-- </panel> -->


		<!-- <rect pos="0, -46" height="230" width="228" controller="CombineGrid"> -->
			<!-- <sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="0,1" width="228" height="230" color="[black]" type="sliced" fillcenter="false" /> -->
			<!-- <sprite name="background" color="[darkGrey]" pos="0,1" type="sliced"/> -->

			<!-- <grid name="parts" rows="3" cols="1" pos="3,-2" cell_width="150" cell_height="76" repeat_content="true" > -->
				<!-- <item_stack controller="RequiredItemStack" /> -->
			<!-- </grid> -->

			<!-- <label depth="3" pos="90,-25" text="Item A" text_key="xuiCombineItemA" /> -->
			<!-- <label depth="3" pos="90,-100" text="Item B" text_key="xuiCombineItemB"/> -->
			<!-- <label depth="3" pos="90,-175" text="Result" text_key="xuiResult"/> -->

		<!-- </rect> -->
	<!-- </window> -->

	<window name="dragAndDropItemStack" width="86" height="86" depth="300" controller="DragAndDropWindow"  gamepad_selectable="false">
		<grid>
			<rect>
				<drag_item_stack />
			</rect>
		</grid>
	</window>

	<window name="toolTip" width="100" height="25" depth="310" controller="ToolTip" >
		<rect>
			<sprite depth="0" name="sprBackgroundBorder" sprite="ui_game_header_fill" type="sliced" color="[black]" />
			<sprite depth="1" name="sprBackground" sprite="ui_game_header_fill" type="sliced" pos="3,-3" color="[lightGrey]"/>
			<label depth="3" name="lblText" text="" pos="10,-6" font_size="25" overflow="resizefreely" parse_actions="true" />
		</rect>
	</window>

	<window name="toolTipPopups" width="100" height="25" depth="100" anchor="CenterBottom" pos="0,100" controller="PopupToolTip" >
		<label depth="3" pos="0,{yoffset_secondrow}" update_position="true" name="lblText" text="{text}" color="255,255,255,{textalpha}" font_size="32" overflow="resizefreely" upper_case="true" parse_actions="true" pivot="bottom" justify="center" effect="outline" effect_distance="1,1" effect_color="[black]" />
	</window>

	<window name="onScreenIcons" width="2080" height="1024" anchor="CenterCenter" controller="OnScreenIcons" cursor_area="false" depth="-300" >
		<rect>
			<!-- <sprite depth="1" name="sprBackground" sprite="ui_game_header_fill" type="sliced" pos="3,-3" color="[lightGrey]"/> -->
		</rect>
	</window>

	<window name="windowToolbelt" width="753" height="78" depth="5" anchor="CenterBottom" pos="-376, 84" backgroundcolor="[black]" controller="ToolbeltWindow" cursor_area="true" xp_fill_speed="2.5" >
		<rect>
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" on_press="true"  gamepad_selectable="false"/>
			
			<rect pos="3,-3" controller="Toolbelt">
				<grid depth="10" name="inventory" rows="1" cols="10" pos="0,0" cell_width="75" cell_height="75" repeat_content="true">
					<item_stack name="0"/>
				</grid>
				<button depth="3" name="btnClearInventory1" sprite="ui_game_symbol_trash" tooltip_key="lblClearInventory" pos="800, -32" style="icon32px, press, hover" pivot="center" sound="[paging_click]" visible="{creativewindowopen}" />
				<grid depth="10" name="inventory2" rows="1" cols="10" pos="0,82" cell_width="75" cell_height="75" repeat_content="true" visible="{secondrow}">
					<item_stack name="0"/>
				</grid>
				<button depth="3" name="btnClearInventory2" sprite="ui_game_symbol_trash" tooltip_key="lblClearInventory" pos="800, 50" style="icon32px, press, hover" pivot="center" sound="[paging_click]" visible="{# creativewindowopen and secondrow}" />
			</rect>

			<sprite depth="1" pos="0,8" height="10" color="[mediumGrey]" sprite="menu_empty2px" globalopacity="false" type="sliced" />
			<sprite depth="9" pos="0,8" height="10" color="[black]" sprite="menu_empty2px" globalopacity="false" type="sliced" fillcenter="false" />
			<sprite depth="4" pos="0,8" height="10" width="750" color="{xpcolor}" globalopacity="false" type="filled" fill="{xp}" />

			<!-- <rect pos="0,-77" width="378" height="8" controller="HUDStatBar" stat_type="Food" visible="{statvisible}"> -->
				<!-- <sprite depth="1" color="[mediumGrey]" sprite="menu_empty2px" globalopacity="false" type="sliced" /> -->
				<!-- <sprite depth="9" color="[black]" sprite="menu_empty2px" globalopacity="false" type="sliced" fillcenter="false" /> -->

				<!-- <filledsprite depth="5" pos="1,0" width="376" name="BarContent" color="0,255,54,128" globalopacity="false" type="filled" fill="0"  /> -->
			<!-- </rect> -->

			<!-- <rect pos="376,-77" width="377" height="8" controller="HUDStatBar" stat_type="Water" visible="{statvisible}"> -->
				<!-- <sprite depth="1" color="[mediumGrey]" sprite="menu_empty2px" globalopacity="false" type="sliced" /> -->
				<!-- <sprite depth="9" color="[black]" sprite="menu_empty2px" globalopacity="false" type="sliced" fillcenter="false" /> -->

				<!-- <filledsprite depth="5" pos="1,0" width="376" name="BarContent" color="0,54,255,160" globalopacity="false" type="filled" fill="0"  /> -->
			<!-- </rect> -->
		</rect>
	</window>

	<window name="CharacterFrameWindow" width="327" height="704" panel="Left" controller="CharacterFrameWindow" defaultcolor="[white]" hoveredcolor="[selectedColor]" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_character"/>
			<label depth="2" name="characterName" pos="42,-6" width="150" height="32" text="" font_size="32" />
			<sprite depth="2" name="windowIcon" width="26" height="26" pos="200,-8" sprite="ui_game_symbol_trophy" />
			<label depth="2" name="levelNumber" pos="240,-10" width="80" height="28" text="" />
		</panel>


		<rect name="tabs" controller="TabSelector" pos="0,-46" width="327" height="704" select_tab_contents_on_open="true" use_page_buttons="true">
			<rect name="tabsHeader" height="43" depth="0">
				<boxbg backcolor="[mediumGrey]" />
				
				<rect pos="0,-22">
					<rect controller="TabSelectorButton" pos="22,0">
						<button depth="2" pos="0,0" style="icon30px, press" sprite="{tab_sprite}" pivot="center" tooltip="{tab_name_localized}" sound="[paging_click]" selected="{tab_selected}" />
					</rect>
					<rect controller="TabSelectorButton" pos="62,0">
						<button depth="2" pos="0,0" style="icon30px, press" sprite="{tab_sprite}" pivot="center" tooltip="{tab_name_localized}" sound="[paging_click]" selected="{tab_selected}" />
					</rect>
					<rect controller="TabSelectorButton" pos="102,0">
						<button depth="2" pos="0,0" style="icon30px, press" sprite="{tab_sprite}" pivot="center" tooltip="{tab_name_localized}" sound="[paging_click]" selected="{tab_selected}" />
					</rect>
					
					<rect controller="TabSelectorButton" pos="162,0">
						<button depth="2" pos="0,0" style="icon30px, press" sprite="{tab_sprite}" pivot="center" tooltip="{tab_name_localized}" sound="[paging_click]" selected="{tab_selected}" />
					</rect>
					<rect controller="TabSelectorButton" pos="202,0">
						<button depth="2" pos="0,0" style="icon30px, press" sprite="{tab_sprite}" pivot="center" tooltip="{tab_name_localized}" sound="[paging_click]" selected="{tab_selected}" />
					</rect>

					<button depth="4" name="coreStatsMovementModeToggle" style="icon30px, press" pos="242,0" pivot="center" sound="[paging_click]" controller="SimpleButton"
							sprite="{# movementmode=='Idle' ? 'ui_game_symbol_player' : (movementmode=='Walking' ? 'server_z_never_run' : 'server_z_always_run' ) }"
							tooltip_key="{# movementmode=='Idle' ? 'lblCharacterStatsMovementIdle' : (movementmode=='Walking' ? 'lblCharacterStatsMovementWalking' : 'lblCharacterStatsMovementRunning' ) }"
							visible="{# selected_tab == 'stats2'}" />

					<rect name="btnCosmetics" depth="24" pos="327,0" width="43" height="43" controller="SimpleButton">
						<sprite depth="2" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" foregroundlayer="true" pivot="right" />	
						<button depth="1" name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" disabledcolor="[darkGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" foregroundlayer="true" type="sliced" hoverscale="1.0" pivot="right" tooltip_key="xuiCosmetics" sound_play_on_hover="[default_hover]" sound="[paging_click]" /> 
						<sprite depth="3" name="btnLabel" style="icon30px" pos="-7,0" sprite="ui_game_symbol_wardrobe" pivot="right" color="[white]"  />
					</rect>
				</rect>
			</rect>

			<rect name="tabsContents" depth="8" pos="0,-41" height="561">
				<rect controller="TabSelectorTab" tab_key="armor" tab_caption_key="lblCategoryArmor" tab_sprite="ui_game_symbol_armor_iron">
					<panel name="equipment" height="70" disableautobackground="true" >
						<grid name="inventory" rows="1" cols="4" cell_width="81" cell_height="70" controller="EquipmentStackGrid">
							<equipment_stack_sdcs slot="Head" empty_sprite="armorRogueHelmet" empty_tooltip="lblHeadgear" />
							<equipment_stack_sdcs slot="Chest" empty_sprite="armorRogueOutfit" empty_tooltip="lblChestArmor" />
							<equipment_stack_sdcs slot="Hands" empty_sprite="armorRogueGloves" empty_tooltip="lblGloves" />
							<equipment_stack_sdcs slot="Feet" empty_sprite="armorRogueBoots" empty_tooltip="lblFootwear" />
						</grid>
					</panel>
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="clothing" tab_caption_key="lblCategoryClothing" tab_sprite="ui_game_symbol_shirt">
					<rect>
						<grid name="clothingSlots" rows="1" cols="4" cell_width="81" cell_height="41">
							<equipment_stack_sdcs slot="ClothingHead" empty_sprite="clothingHeadT2" empty_tooltip="lblClothingHead" />
							<equipment_stack_sdcs slot="ClothingChest" empty_sprite="clothingOutfitT2" empty_tooltip="lblClothingChest" />
							<equipment_stack_sdcs slot="ClothingHands" empty_sprite="clothingHandsT2" empty_tooltip="lblClothingHand" />
							<equipment_stack_sdcs slot="ClothingFeet" empty_sprite="clothingFeetT2" empty_tooltip="lblClothingFeet" />
						</grid>
					</rect>
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="gear" tab_caption_key="lblCategoryGear" tab_sprite="ui_game_symbol_radiation">
					<rect>
						<grid name="badgeSlots" rows="1" cols="4" cell_width="81" cell_height="41">
							<equipment_stack_sdcs slot="BiomeBadge" empty_sprite="biomeWeatherItem1" empty_tooltip="biomeWeatherItem1" />
							<equipment_stack_sdcs slot="BiomeBadge2" empty_sprite="biomeWeatherItem2" empty_tooltip="biomeWeatherItem2" />
							<equipment_stack_sdcs slot="BiomeBadge3" empty_sprite="biomeWeatherItem3" empty_tooltip="biomeWeatherItem3" />
							<equipment_stack_sdcs slot="BiomeBadge4" empty_sprite="biomeWeatherItem4" empty_tooltip="biomeWeatherItem4" />
						</grid>
					</rect>
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="stats1" tab_caption_key="lblCharacterStats1" tab_sprite="ui_game_symbol_ping">
					<grid depth="0" pos="0,0" width="327" cols="1" cell_height="30" repeat_content="false" arrangement="vertical">
						<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{playerhealthtitle|once}" valuecontent="{playerhealth}/{playermaxhealth}" />
						<player_stats_entry backgroundcolor="[darkGrey]"    textcontent="{playerstaminatitle|once}" valuecontent="{playerstamina}/{playermaxstamina}" />
						<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{playerfoodtitle|once}" valuecontent="{playermodifiedcurrentfood}/{playerfoodmax}" />
						<player_stats_entry backgroundcolor="[darkGrey]"    textcontent="{playerwatertitle|once}" valuecontent="{playermodifiedcurrentwater}/{playerwatermax}" />
						<!-- <player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{playercoretemptitle|once}" valuecontent="{playercoretemp}" /> -->
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="{playerzombiekillstitle|once}" valuecontent="{playerzombiekills}" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="{playerpvpkillstitle|once}" valuecontent="{playerpvpkills}" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="{playerdeathstitle|once}" valuecontent="{playerdeaths}" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="{playertravelledtitle|once}" valuecontent="{playertravelled}" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="{playeritemscraftedtitle|once}" valuecontent="{playeritemscrafted}" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="{playerlongestlifetitle|once}" valuecontent="{playerlongestlife}" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="{playercurrentlifetitle|once}" valuecontent="{playercurrentlife}" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="{playerxptonextleveltitle|once}" valuecontent="{playerxptonextlevel}" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="{playergamestagetitle|once}" valuecontent="{playergamestage}" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="{playerlootstagetitle|once}" valuecontent="{playerlootstage}" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="" valuecontent="" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="" valuecontent="" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="" valuecontent="" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="" valuecontent="" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="" valuecontent="" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="" valuecontent="" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="" valuecontent="" />
						<player_stats_entry backgroundcolor="[darkGrey]" textcontent="" valuecontent="" />
						<player_stats_entry backgroundcolor="[darkestGrey]"    textcontent="" valuecontent="" />
					</grid>
				</rect>
			
				<rect controller="TabSelectorTab" tab_key="stats2" tab_caption_key="lblCharacterStats2" tab_sprite="ui_game_symbol_trophy">
					<grid depth="0" pos="0,0" width="327" cols="1" rows="23" cell_height="30" repeat_content="true" arrangement="vertical">
						<player_stats_generic_entry backgroundcolor="${ repeat_i % 2 == 0 ? '[darkestGrey]' : '[darkGrey]' }" index="${1 + repeat_i}" />
					</grid>
				</rect>
			</rect>
			
			<panel name="previewFrameSDCS" depth="0" pos="0,-121" width="327" height="624" on_press="true" on_hover="true" disableautobackground="true" gamepad_selectable="true" snap="false" visible="{# selected_tab == 'armor' or selected_tab == 'clothing' or selected_tab == 'gear' }">
				<rect>
					<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="327" height="624" color="[black]" type="sliced" fillcenter="false" snap="false" />
					<sprite depth="1" color="[darkGrey]" type="sliced" width="327" height="624"/>
					<!-- <sprite depth="1" color="[lightGrey]" type="sliced" pos="3,-3" width="381" height="739" />
					<sprite depth="1" color="[darkGrey]" type="sliced" width="304" height="697" pos="6,-5"/> -->
					<texture depth="2" name="playerPreviewSDCS" material="Materials/Transparent Colored" size="327,622" globalopacity="false"/>
				</rect>
			</panel>
			
			
		</rect>

	</window>

	<window name="ActiveBuffsWindow" width="320" height="725" panel="Right" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_medical"/>
			<label depth="2" name="characterName" pos="42,-6" width="250" height="32" text="STATUS EFFECTS" text_key="xuiStatusEffects" font_size="32"/>
		</panel>

		<panel name="content" depth="0" pos="0,-46" disableautobackground="true">
			<rect height="43">
				<sprite depth="8" name="backgroundMain" pos="0,0" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite color="[mediumGrey]" type="sliced" />
				<panel pos="215,0" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6"  contents_parent="content"/>
				</panel>
			</rect>
			<grid depth="10" name="buffs" rows="15" cols="1" pos="3,-43" cell_width="314" cell_height="45" repeat_content="true" controller="ActiveBuffList">
				<active_buff_entry />
			</grid>
		</panel>
	</window>

	<window name="buffInfoPanel" width="603" height="392" controller="BuffInfoWindow" anchor="CenterTop" panel="Center">
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="{bufficon|once}"/>
			<label style="header.name" text="{buffname|once}" width="595" />
			<label depth="2" name="status" pos="0,-10" width="595" height="28" justify="right" text="{buffstatus|once}" />
		</panel>

		<rect name="contentBuffInfo" height="346" depth="1" pos="0,-46">
			<rect>
				<sprite depth="5" name="backgroundMain" sprite="menu_empty3px" width="603" height="346" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" name="background" color="[black]" type="sliced" visible="false" sprite="menu_empty3px" fillcenter="false" />
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="153" height="153" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" pos="2,-3" name="preview" width="150" height="148" color="[darkGrey]" type="sliced"/>
				<sprite depth="3" name="itemPreview" width="100" height="100" sprite="{bufficon|once}" color="{buffcolor}" pos="27,-27" foregroundlayer="true"/>

				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,-150" width="153" height="196" color="[black]" type="sliced" fillcenter="false" />
				<grid depth="10" name="itemActions" rows="4" cols="1" pos="3,-153" width="148" height="100%" cell_width="147" cell_height="42" controller="ItemActionList" repeat_content="true">
					<item_action_entry />
				</grid>

				<sprite depth="3" name="fillerBackground" pos="3,-321" height="22" width="147" color="[mediumGrey]" type="sliced"/>

				<rect depth="1" pos="153,0" name="description" width="448" height="346">
					<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" />
					<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="453" height="346" color="[black]" type="sliced" fillcenter="false" />

					<rect>
						<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" />
						<label depth="3" name="descriptionText" pos="6,-5" text="{buffdescription}"  width="440" height="338" />
					</rect>
					<!--label depth="3" name="statText" pos="6,-2" width="254" height="100%" text="{itemstats1}" />
					<label depth="3" name="statText2" pos="227,-2" width="220" height="100%" text="{itemstats2}" /> -->
				</rect>

			</rect>
		</rect>
	</window>
	
	<window name="CharacterCosmeticWindow" width="326" height="704" panel="Left" controller="CharacterCosmeticWindow" defaultcolor="[white]" hoveredcolor="[selectedColor]" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_character"/>
			<label depth="2" name="characterName" pos="42,-6" width="150" height="32" text="" font_size="32" />
			<!-- <sprite depth="2" name="windowIcon" width="26" height="26" pos="200,-8" sprite="ui_game_symbol_trophy" /> -->
			<!-- <label depth="2" name="levelNumber" pos="240,-10" width="80" height="28" text="" /> -->
		</panel>

		<!-- <rect depth="2" name="searchControls" width="327" height="43" pos="0,-46"> -->
		<!-- <sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="327" height="43" color="[black]" type="sliced" fillcenter="false" /> -->
			<!-- <sprite depth="1" color="[mediumGrey]" type="sliced" globalopacity="true" /> -->
			<!-- <button depth="4" name="characterButton" style="icon30px, press" pos="22,-22" sprite="ui_game_symbol_character" pivot="center" tooltip="Description" tooltip_key="lblWornEquipment" sound="[paging_click]" selected="true" /> -->
			<!-- <button depth="4" name="statButton" style="icon30px, press" pos="65,-22" sprite="ui_game_symbol_ping" pivot="center" tooltip="Stats" sound="[paging_click]" tooltip_key="lblCharacterStats1" /> -->
			<!-- <button depth="4" name="coreStatButton" style="icon30px, press" pos="108,-22" sprite="ui_game_symbol_trophy" pivot="center" tooltip="Stats" sound="[paging_click]" tooltip_key="lblCharacterStats2" /> -->
		<!-- </rect> -->
		
		<rect visible="{showcharactersdcs}">
			<panel name="previewFrameSDCS" depth="0" pos="0,-46" width="326" height="649" on_press="true" on_hover="true" disableautobackground="true" gamepad_selectable="false">
				<rect>
					<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="326" height="649" color="[black]" type="sliced" fillcenter="false"/>
					<sprite depth="1" color="[darkGrey]" type="sliced" width="326" height="649"/>
					<!-- <sprite depth="1" color="[lightGrey]" type="sliced" pos="3,-3" width="381" height="739" />
					<sprite depth="1" color="[darkGrey]" type="sliced" width="304" height="697" pos="6,-5"/> -->
					<texture depth="2" name="playerPreviewSDCS" material="Materials/Transparent Colored" size="340,650" globalopacity="false"/>
				</rect>
			</panel>

			<!-- <panel name="equipment" depth="10" pos="3, -695" width="292" height="70" disableautobackground="true" visible="false" > -->
				<!-- <grid name="inventory" rows="1" cols="4" cell_width="81" cell_height="70" controller="EquipmentStackGrid" repeat_content="true"> -->
					<!-- <equipment_stack_sdcs name="0"/> -->
				<!-- </grid> -->
			<!-- </panel> -->
		</rect>

	</window>
	
	<window name="windowCharacterCosmeticsList" width="606" height="704" panel="Center" controller="CharacterCosmeticsListWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="3" name="windowIcon" style="icon32px" pivot="center" pos="21,-21" sprite="ui_game_symbol_backpack" />
			<label depth="3" name="windowName" pos="42,-6" width="180" height="32" text="INVENTORY" text_key="{cosmeticname}" font_size="32" />
		</panel>
		
		<rect name="categoryHeader" pos="3,-46" width="604" height="43">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="606" height="46" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" name="background"  color="[darkGrey]" type="sliced"/>

				<panel depth="1" pos="3,-3" width="410" height="37" disableautobackground="true">
					<grid name="categories" pos="18,-20" rows="1" cols="8" width="663" height="34" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
						<category_icon />
					</grid>
				</panel>

				<panel depth="1" pos="394,0" width="200" disableautobackground="true" console_enabled="false">
					<sprite depth="1" name="searchIcon" style="icon30px" pos="0,-22" sprite="ui_game_symbol_search" pivot="center"/>
					<textfield depth="2" pos="22,-7" width="120" height="30" name="searchInput" search_field="true" close_group_on_tab="true" clear_button="true" />
				</panel>

				<!-- <panel depth="2" pos="540,0" width="104" height="43" disableautobackground="true" visible="{paging_visible}"> -->
					<!-- <pager name="pager" pos="4,-6" contents_parent="windowSkillList"/> -->
				<!-- </panel> -->
			</rect>

		<panel name="content" width="100%" height="303" depth="0" pos="0,-89" disableautobackground="true">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="606" height="336" color="[black]" type="sliced" fillcenter="false" on_press="true"  gamepad_selectable="false"/>
			<grid depth="10" name="inventory" rows="9" cols="9" pos="3,-3" cell_width="67" cell_height="67" controller="CharacterCosmeticList" repeat_content="true" >
				<cosmetic_item_stack name="0"/>
			</grid>
		</panel>
		
		<simplebutton name="btnApply" depth="3" pos="0,-694" width="303" height="36" font_size="24" caption_key="{applyTextKey}" parse_actions="true" enabled="{enableApply}" />
		<simplebutton name="btnApplySet" depth="3" pos="303,-694" width="303" height="36" font_size="24" caption_key="xuiCosmeticsApplySet" parse_actions="true" enabled="{enableApplySet}"/>
	</window>


	<window name="mapArea" width="718" height="770" panel="Center" controller="MapArea" cursor_area="true" >
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_map"/>
			<label style="header.name" text="MAP" text_key="xuiMap" />
			<button depth="1" name="switchStaticMap" style="icon32px, press, hover" pivot="center" pos="690, -21" sprite="ui_game_symbol_electric_switch" tooltip_key="lblSwitchStaticMap" sound="[paging_click]" />
			<combobox name="cbxStaticMapType" type="ComboBoxEnum`1[XUiC_MapArea+EStaticMapOverlay]" value_wrap="true" localization_prefix="xuiStaticMapType" pos="460,-6" width="210" height="30" />
		</panel>

		<panel name="content" depth="0" pos="0,-43" height="770" disableautobackground="true"> <!-- backgroundcolor="[mediumGrey]" bordercolor="[black]" borderthickness="3" -->
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="3,-3" width="718" height="761" color="[black]" type="sliced" fillcenter="false" />
			<rect depth="1" name="toolbar" width="712" height="43" pos="6,-6">
				<sprite color="[lightGrey]" type="sliced" />
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,2" width="718" height="47" color="[black]" type="sliced" fillcenter="false" />
				<button depth="1" name="playerIcon" style="icon32px, press, hover" pivot="center" pos="20,-21" sprite="ui_game_symbol_map_player_arrow" tooltip="Center on Player" tooltip_key="lblCenterOnPlayer" sound="[paging_click]" />
				<label depth="1" name="playerPos" pos="40,-12" width="150" height="28" text="110 S 769 W" font_size="26"/>

				<button depth="1" name="bedrollIcon" style="icon32px, press, hover" pivot="center" pos="216,-21" sprite="ui_game_symbol_map_bed" tooltip="Center on Sleeping Bag" tooltip_key="lblCenterOnSleepingBag" sound="[paging_click]" />
				<label depth="1" name="bedrollPos" pos="236,-12" width="150" height="28" text="300 N 832 W" font_size="26"/>

				<sprite depth="1" name="cursorIcon" style="icon32px, press, hover" pos="390,-5" sprite="ui_game_symbol_map_cursor" tooltip="Cursor Position" tooltip_key="lblCursorPosition" sound="[paging_click]"/>
				<label depth="1" name="cursorPos" pos="428,-12" width="130" height="28" text="300 N 832 W" font_size="26"/>

				<button depth="1" name="waypointIcon" style="icon32px, hover" pivot="center" on_press="true" pos="578,-21" sprite="ui_game_symbol_map_waypoint_remove" tooltip="Remove Quick Waypoint" tooltip_key="lblRemoveQuickWaypoint" />
				<label depth="1" name="waypointDistance" pos="586,-12" width="122" height="28" text="0.2 KILOMETERS" font_size="26"/>
			</rect>

			<panel name="mapView" depth="1" width="712" height="712" pos="6,-49" disableautobackground="true" on_drag="true" style="press, scroll, hover" snap="false"> <!-- backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="0" -->
				<sprite depth="1" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="true" globalopacity="false" />
				<texture depth="2" name="mapViewTexture" width="712" height="712" pos="0,0" material="Materials/MaskableMainmap"/>
				<sprite depth="3" width="64" height="64" pos="356,-356" pivot="center" name="crosshair" sprite="ui_game_symbol_map_cursor" color="255,255,255,160" globalopacity="false" foregroundlayer="true" />
				<panel name="clippingPanel" depth="4" width="712" height="712" pos="0,0" disableautobackground="true" createuipanel="true" clipping="SoftClip" clippingsoftness="4,4" clippingsize="712,712" clippingcenter="356,-356" />

				<rect name="content" depth="5" pos="0,-565" height="239" controller="MapStats">

					<sprite depth="2" name="dayTimeIcon" width="24" height="24" pos="10,-80" sprite="ui_game_symbol_clock" color="[iconColor]" foregroundlayer="true" visible="{showtime}"/>
					<label depth="2" name="dayTimeLabel" pos="40,-82" width="250" height="28" text="{mapdaytimetitle}: [DECEA3]{mapdaytime}[-]" font_size="26" visible="{showtime}"/>

					<!-- <sprite depth="2" name="tempIcon" width="24" height="24" pos="10,-48" sprite="ui_game_symbol_temperature" color="[iconColor]" foregroundlayer="true"/> -->
					<!-- <label depth="2" name="tempLabel" pos="40,-50" width="250" height="28" text="{playercoretemptitle}: [DECEA3]{playercoretemp}[-]" font_size="26"/> -->

					<!-- <sprite depth="2" name="windIcon" width="24" height="24" pos="10,-80" sprite="ui_game_symbol_wind" color="[iconColor]" foregroundlayer="true"/> -->
					<!-- <label depth="2" name="windLabel" pos="40,-82" width="250" height="28" text="{mapwindtitle}: [DECEA3]{mapwind} MPH[-]" font_size="26"/> -->

					<sprite depth="2" name="elevIcon" width="24" height="24" pos="10,-112" sprite="ui_game_symbol_climb" color="[iconColor]" foregroundlayer="true"/>
					<label depth="2" name="elevLabel" pos="40,-114" width="250" height="28" text="{mapelevationtitle}: [DECEA3]{mapelevation} M[-]" font_size="26"/>

				</rect>
			</panel>
		</panel>
	</window>

	<window name="mapAreaSetWaypoint" depth="7" pos="200,-200" width="200" height="98" cursor_area="true" >
		<panel name="content" depth="0" pos="0,0" height="98" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<grid name="list" rows="2" cols="1" pos="6,-6" width="188" height="92" cell_width="390" cell_height="43" repeat_content="false" arrangement="vertical" controller="MapPopupList">
				<rect name="opt1" depth="3" width="100%" height="43" style="press" on_hover="true" on_scroll="false" disabled_font_color="148,148,148,255" controller="MapPopupEntry" sound="[craft_click]" sound_play_on_hover="[default_hover]">
					<sprite name="background" color="[darkGrey]" />
					<sprite depth="4" name="Icon" sprite="ui_game_symbol_map_waypoint_set" style="icon32px" pos="8,-3"/>
					<label depth="4" name="Name" pos="112,-20" width="150" height="28" text="QUICK WAYPOINT" text_key="xuiQuickWaypoint" font_size="28" justify="center" pivot="center" />
				</rect>
				<rect name="opt2" depth="3" width="100%" height="43" style="press" on_hover="true" on_scroll="false" disabled_font_color="148,148,148,255" controller="MapPopupEntry" sound="[craft_click]" sound_play_on_hover="[default_hover]">
					<sprite name="background" color="[darkGrey]" />
					<sprite depth="4" name="Icon" sprite="ui_game_symbol_pen" style="icon32px" pos="8,-3"/>
					<label depth="4" name="Name" pos="112,-20" width="150" height="28" text="SAVE WAYPOINT" text_key="xuiSaveWaypoint" font_size="28" justify="center" pivot="center"/>
				</rect>
			</grid>
		</panel>
	</window>

	<window name="mapAreaChooseWaypoint" depth="7" pos="200,-200" width="104" height="436" cursor_area="true" >
		<panel name="content" depth="0" pos="0,0" height="436" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<grid name="list" rows="10" cols="2" pos="3,-3" width="46" height="430" cell_width="52" cell_height="43" repeat_content="true" arrangement="vertical" controller="MapSubPopupList">
				<map_popup_sub_line name="0"/>
			</grid>
		</panel>
	</window>

	<window name="mapAreaEnterWaypointName" depth="8" pos="200,-200" width="160" height="50" cursor_area="true">
		<panel name="content" depth="0" pos="0,0" height="46" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" controller="MapEnterWaypoint">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<panel pos="10,-8" depth="1" width="160" disableautobackground="true">
				<textfield depth="1" name="waypointInput" pos="0,0" width="140" height="30" character_limit="30" virtual_keyboard_prompt="vkPromptWaypointName" />
			</panel>
		</panel>
	</window>

	<window name="mapTracking" width="354" height="513" panel="Left" controller="MapWaypoint" cursor_area="true" >
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_map_waypoint_set"/>
			<label style="header.name" text="WAYPOINTS" text_key="xuiWaypoints" />
		</panel>

		<rect name="mapTrackingContent" depth="0" pos="0,-43" height="464">
			<rect depth="1" name="toolbar" width="348" height="43" pos="6,-6">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="354" height="49" color="[black]" type="sliced" fillcenter="false" />
				<sprite color="[mediumGrey]" type="sliced" width="350" height="44" pos="-1,0" />
				<button depth="1" name="trackBtn" style="icon32px, press, hover" pivot="center" pos="30,-21" sprite="ui_game_symbol_compass" tooltip="Track Waypoint" tooltip_key="lblTrackWaypoint" sound="[paging_click]" />
				<button depth="1" name="showOnMapBtn" style="icon32px, press, hover" pivot="center" pos="118,-21" sprite="ui_game_symbol_map" tooltip="Show on Map" tooltip_key="lblShowOnMap" sound="[paging_click]" />
				<button depth="1" name="waypointRemoveBtn" style="icon32px, hover" on_press="true" pivot="center" pos="223,-21" sprite="ui_game_symbol_map_waypoint_remove" tooltip="Remove Waypoint" tooltip_key="lblRemoveWaypoint"  />
				<button depth="1" name="inviteBtn" style="icon32px, press, hover" pivot="center" pos="316,-21" sprite="ui_game_symbol_players" tooltip="Share Waypoint" tooltip_key="lblShareWaypoint" sound="[paging_click]" />
			</rect>

			<rect depth="3" name="searchControls" width="348" height="43" pos="6,-52">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="354" height="46" color="[black]" type="sliced" fillcenter="false" />
				<sprite color="[darkGrey]" type="sliced" width="350" pos="-1,0" />
				<sprite depth="4" name="searchIcon" style="icon30px" pos="120,-20" sprite="ui_game_symbol_search" pivot="center" console_enabled="false"/>

				<panel pos="143,-6" depth="1" width="120" disableautobackground="true" console_enabled="false">
					<textfield depth="1" pos="0,0" width="100" height="30" name="searchInput" virtual_keyboard_prompt="vkPromptSearchTerm" search_field="true" close_group_on_tab="true" clear_button="true" />
				</panel>

				<panel pos="248,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6"  contents_parent="mapTrackingContent"/>
				</panel>
			</rect>

			<grid name="waypointList" rows="8" cols="1" pos="6,-95" width="348" height="368" cell_width="390" cell_height="46" controller="MapWaypointList" repeat_content="true" arrangement="vertical" normal_color="[iconColor]" disabled_color="[iconColor]" >
				<waypoint_entry name="0" />
			</grid>
		</rect>
	</window>

	<window name="mapTrackingPopup" depth="10" pos="-250,365" width="200" height="98" cursor_area="true" >
		<panel name="content" depth="0" pos="0,0" height="98" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<grid name="list" rows="2" cols="1" pos="6,-6" width="188" height="92" cell_width="390" cell_height="43" repeat_content="false" arrangement="vertical">
				<rect width="100%" height="43" name="inviteFriends" depth="3" style="press, hover" on_scroll="false" disabled_font_color="148,148,148,255" controller="MapPopupEntry" sound_play_on_hover="[default_hover]">
					<sprite name="background" color="[darkGrey]" />
					<sprite depth="4" name="Icon" sprite="ui_game_symbol_allies" style="icon32px" pos="8,-3"/>
					<label depth="4" name="Name" pos="112,-22" width="250" height="28" text="ALLIES" text_key="xuiAllies" font_size="24" justify="center" pivot="center"/>
				</rect>
				<rect width="100%" height="43" name="inviteEveryone" depth="3" style="press, hover" on_scroll="false" disabled_font_color="148,148,148,255" controller="MapPopupEntry" sound_play_on_hover="[default_hover]">
					<sprite name="background" color="[darkGrey]" />
					<sprite depth="4" name="Icon" sprite="ui_game_symbol_players" style="icon32px" pos="8,-3"/>
					<label depth="4" name="Name" pos="112,-22" width="250" height="28" text="EVERYONE" text_key="xuiEveryone" font_size="24" justify="center" pivot="center"/>
				</rect>
			</grid>
		</panel>
	</window>

	<window name="mapInvites" width="354" height="282" panel="Left" cursor_area="true" >
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">

			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_map_waypoint_set"/>
			<label style="header.name" text="SHARED WAYPOINTS" text_key="xuiSharedWaypoints" />
		</panel>

		<rect depth="1" name="toolbar" width="348" height="43" pos="6,-49">
			<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="354" height="49" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[mediumGrey]" type="sliced" width="350" height="44" pos="-1,0" />
			<button depth="1" name="waypointSetBtn" style="icon32px, press, hover" pivot="center" pos="30,-21" sprite="ui_game_symbol_map_waypoint_set" tooltip="Save Waypoint" tooltip_key="lblSaveWaypoint" sound="[paging_click]" />
			<button depth="1" name="showOnMapBtn" style="icon32px, press, hover" pivot="center" pos="118,-21" sprite="ui_game_symbol_map" tooltip="Show on Map" tooltip_key="lblShowOnMap" sound="[paging_click]" />
			<button depth="1" name="waypointRemoveBtn" style="icon32px, hover" on_press="true" pivot="center" pos="223,-21" sprite="ui_game_symbol_map_waypoint_remove" tooltip="Remove Waypoint" tooltip_key="lblRemoveWaypoint" />
			<button depth="1" name="waypointReportBtn" style="icon32px, hover" on_press="true" pivot="center" pos="316,-21" sprite="ui_game_symbol_report" tooltip="Report Waypoint" tooltip_key="lblReportWaypoint" />
		</rect>

		<rect name="content" depth="0" pos="0,-43" height="239">
			<grid name="invitesList" rows="4" cols="1" pos="6,-52" width="348" height="206" cell_width="248" cell_height="46" controller="MapInvitesList" repeat_content="true" arrangement="vertical" normal_color="[iconColor]" disabled_color="[iconColor]">
				<invites_entry name="0"/>
			</grid>
		</rect>
	</window>

	<window name="players" width="1320" height="860" panel="Center" cursor_area="true" controller="MultiplayerWindows" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header" >
			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_players"/>
			<label style="header.name" text="PLAYERS" text_key="xuiMultiplayer" visible="{is_multiplayer}" />
		</panel>

		<rect name="tabs" controller="TabSelector" pos="0,-50" height="650" select_tab_contents_on_open="true">
			<rect name="tabsHeader" height="39" depth="0">
				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="4" cell_width="210" cell_height="36" repeat_content="true" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[black]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
					</rect>
				</grid>
			</rect>
			
			<rect name="tabsContents" depth="2" pos="0,-37" height="730">
				<rect controller="TabSelectorTab" tab_key="xuiPlayers">
					<rect name="players" controller="PlayersList">
						<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
							<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_players"/>
							<label style="header.name" text="PLAYERS" text_key="xuiPlayers" />
							<label depth="1" name="numberOfPlayers" pos="1260,-12" width="60" height="28" text="1/1" font_size="22" />
						</panel>

						<players_header pos="0,-43" /> <!-- height is 50 -->

						<grid name="playerList" rows="13" cols="1" pos="0,-93" width="1320" height="598" cell_height="46" repeat_content="true" arrangement="vertical">
							<players_entry name="0"/>
						</grid>

						<rect depth="3" width="1320" height="49" pos="0,-691">
							<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="1320" height="49" color="[black]" type="sliced" fillcenter="false" />

							<sprite name="pagingControls" color="[mediumGrey]" type="sliced" />
							<panel pos="1206,0" width="104" height="49" disableautobackground="true">
								<pager name="playerPager" pos="-16,-6" contents_parent="players"/>
							</panel>
						</rect>
					</rect>
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="xuiBlockedPlayers" tab_visible="{# is_multiplayer and blocked_players_available }">
					<blocked_players_list name="blockedPlayers"/>
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="xuiMpTabDiscord" pos="0,-5" tab_visible="{discord_ready}">
					<rect name="controls" pos="000,0" width="420">
						<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
							<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_players"/>
							<label style="header.name" text="PLAYERS" text_key="xuiDiscordActions" />
						</panel>

						<rect pos="0,-43" height="687" padding="6" controller="DiscordVoiceControls">
							<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" ignoreparentpadding="true" />
							<sprite depth="1" name="backgroundMainX" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" ignoreparentpadding="true" />
							
							<label name="currentLobby" pos="0,-6" width="408" height="24" depth="4" pivot="topleft" justify="left" overflow="shrinkcontent" text="{# format(localization('xuiDiscordVoiceCurrentLobby'), localization('xuiDiscordVoiceLobby' + current_voice_lobby)) }" />
							
							<rect name="globalVoice" pos="0,-38" depth="4" controller="DiscordLobbyControl" lobby_type="global">
								<simplebutton name="btnJoinVoice" depth="3" pos="0,0" width="408" height="36" caption_key="{# in_other_voice ? 'xuiDiscordVoiceSwitchTo' : 'xuiDiscordVoiceJoin' }Global" visible="{# lobby_joined and voice_status == 'Disconnected' and !any_lobby_unstable_state}" />
								<simplebutton name="btnLeaveVoice" depth="3" pos="0,0" width="408" height="36" caption_key="xuiDiscordVoiceLeaveGlobal" visible="{# lobby_joined and voice_status == 'Connected' and !any_lobby_unstable_state}" />
							</rect>

							<rect name="partyVoice" pos="0,-82" depth="4" controller="DiscordLobbyControl" lobby_type="party">
								<label name="lobbyJoinStateLabel" pos="0,-18" width="408" height="30" pivot="left" justify="center" overflow="shrinkcontent" text_key="xuiDiscordVoiceNoParty" visible="{# !lobby_ready}" />
								
								<simplebutton name="btnJoinVoice" depth="3" pos="0,0" width="408" height="36" caption_key="{# in_other_voice ? 'xuiDiscordVoiceSwitchTo' : 'xuiDiscordVoiceJoin' }Party" visible="{# lobby_joined and voice_status == 'Disconnected' and !any_lobby_unstable_state}" />
								<simplebutton name="btnLeaveVoice" depth="3" pos="0,0" width="408" height="36" caption_key="xuiDiscordVoiceLeaveParty" visible="{# lobby_joined and voice_status == 'Connected' and !any_lobby_unstable_state}" />
							</rect>

							<rect name="voiceState" pos="204,-130">
								<button name="btnMuteMic" pos="-25,-15" width="26" height="26" depth="2" sprite="ui_game_symbol_mic" tooltip_key="xuiDiscordVoiceMuteMicrophone" style="icon32px, press, hover" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" defaultcolor="{# voice_muted ? '180,0,0,255' : '0,200,0,255'}" />
								<button name="btnMuteOutput" pos="25,-15" width="26" height="26" depth="2" sprite="ui_game_symbol_noise" tooltip_key="xuiDiscordVoiceMuteOutput" style="icon32px, press, hover" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" defaultcolor="{# output_muted ? '180,0,0,255' : '0,200,0,255'}" />
							</rect>
						
							<panel name="lobbyMembersPanel" pos="0,-165" width="408" height="510" depth="3" pivot="center" padding="30,0,8" bordercolor="[black]" borderthickness="0" borderinset="14,0,0" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]" visible="{in_voice}">
								<label name="lblCaption" depth="4" pos="14,-16" height="26" font_size="22" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="Voice members" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
								<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />
								
								<discord_callmembers_list pos="0,0" width="408" height="480" count="13" />
							</panel>
						</rect>
					</rect>

					<rect name="pendingActions" pos="450,0" width="420">
						<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
							<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_players"/>
							<label style="header.name" text="PLAYERS" text_key="xuiDiscordInvites" />
						</panel>

						<rect pos="0,-43" height="687">
							<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
							
							<discord_pending_list name="pendingActions" depth="0" pos="0,0" width="420" height="687" count="11" />
						</rect>
					</rect>

					<rect name="friends" pos="900,0" width="420">
						<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
							<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_players"/>
							<label style="header.name" text="PLAYERS" text_key="xuiFriends" />
						</panel>

						<rect pos="0,-43" height="687">
							<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
							
							<discord_friends_list name="discord" depth="0" pos="0,0" width="420" height="687" count="10" />
						</rect>
					</rect>
				</rect>
			</rect>
		</rect>
	</window>

	<window name="windowVehicle" width="380" height="733" panel="Left" controller="VehicleFrameWindow" cursor_area="true" >
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="{vehicleicon}"/>
			<label style="header.name" text="{vehiclenamequality}" />
		</panel>

		<panel name="content" depth="0" pos="0,-43" disableautobackground="true">
			<!-- <sprite color="[darkGrey]" pos="3,-3" height="613" /> -->
			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="3,-3" width="380" height="224" color="[black]" type="sliced" fillcenter="false" on_press="true"  gamepad_selectable="false"/>
			<rect depth="1" pos="3,-3" width="380" height="739">

			<rect width="380" height="218">

					<rect name="stats">
						<rect pos="0,0" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{vehiclequalitytitle}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{vehiclequality}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-30" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkGrey]" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{vehicledurabilitytitle}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{vehicledurability}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-60" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{speedtitle}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{speed}m/s ({speedtext})" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-90" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkGrey]" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{noisetitle}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{noise}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-120" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{protectiontitle}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{protection}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-150" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkGrey]" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{passengerstitle}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{passengers}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-180" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{fueltitle}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{fuel}%" justify="right" color="[selectedColor]" />
						</rect>
					</rect>

				</rect>



				<rect name="btnRefuel" depth="3" pos="0, -211" height="34">
					<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
					<!-- <sprite depth="2" name="background" pos="1,-3" sprite="menu_empty" width="379" height="32" color="[darkGrey]" type="sliced"/> -->
					<rect depth="3" name="background" pos="3,-3" width="375" height="28">
						<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" disabledcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
						<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,-2" sprite="ui_game_symbol_gas" color="[black_half_alpha]" visible="{showfuel}"/>
						<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,-2" sprite="ui_game_symbol_gas" color="[black_half_alpha]" visible="{showfuel}"/>

						<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,0" sprite="ui_game_symbol_gas" color="[black_half_alpha]" visible="{showfuel}"/>
						<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,0" sprite="ui_game_symbol_gas" color="[black_half_alpha]" visible="{showfuel}"/>

						<sprite depth="2" name="windowIcon" width="24" height="24" pos="125,-1" sprite="ui_game_symbol_gas" visible="{showfuel}"/>
						<label depth="2" name="windowName" pos="160,-1" width="212" justify="left" text="{refueltext}" font_size="28" />
					</rect>
				</rect>
				<rect name="btnRepair" depth="3" pos="0, -242" height="34">
					<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
					<!-- <sprite depth="2" name="background" pos="1,-3" sprite="menu_empty" width="379" height="32" color="[darkGrey]" type="sliced"/> -->
					<rect depth="3" name="background" pos="3,-3" width="375" height="28">
						<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
						<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,-2" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
						<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,-2" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>

						<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,0" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
						<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,0" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>

						<sprite depth="2" name="windowIcon" width="24" height="24" pos="125,-1" sprite="ui_game_symbol_wrench"/>
						<label depth="2" name="windowName" pos="160,-1" width="212" justify="left" text="REPAIR" text_key="xuiRepair" font_size="28" />
					</rect>
				</rect>

				<panel name="header" pos="0,-286" height="43" depth="1" backgroundspritename="ui_game_panel_header">
					<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_paint_bucket"/>
					<label style="header.name" text_key="xuiCosmetics" />
				</panel>

				<grid name="cosmeticparts" rows="1" cols="1" pos="3,-335" cell_width="374" cell_height="60" repeat_content="true" controller="ItemCosmeticStackGrid" sound_play_on_hover="[default_hover]">
					<item_part_slot controller="ItemCosmeticStack" empty_slot_text_key="xuiEmptyCosmeticSlot" />
				</grid>

				<panel name="header" pos="0,-406" height="43" depth="1" backgroundspritename="ui_game_panel_header">
					<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_assemble"/>
					<label style="header.name" text_key="xuiModifiers" />
				</panel>

				<grid name="parts" rows="8" cols="1" pos="3,-455" cell_width="374" cell_height="60" repeat_content="true" controller="VehiclePartStackGrid">
					<vehicle_part_slot />
				</grid>
			</rect>

		</panel>
	</window>

	<window name="windowVehicleStats" width="228" height="280" panel="Right" controller="VehicleStats" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_minibike"/>
			<label style="header.name" text="{vehiclename} {vehiclestatstitle}" />
		</panel>


		<rect name="content" depth="0" pos="0,-46" height="234">
			<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" color="[darkGrey]" type="sliced" width="228" height="197" pos="0,-3" />
			<rect depth="2" pos="6,-5">
				<grid name="stats" rows="5" cols="1" pos="3,-5" cell_width="223" cell_height="30" repeat_content="false" >
					<panel height="30" width="340" disableautobackground="true">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_speed"/>
						<label depth="1" width="180" pos="30,-2" name="lblSpeed" font_size="22" text="{speedtitle}: [DECEA3]{speed}m/s ({speedtext})[-]" />
					</panel>
					<panel height="30" width="340" disableautobackground="true">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_noise"/>
						<label depth="1" width="180" pos="30,-2" name="lblNoise" font_size="22" text="{noisetitle}: [DECEA3]{noise}[-]" />
					</panel>
					<panel height="30" width="340" disableautobackground="true">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_defense"/>
						<label depth="1" width="180" pos="30,-2" name="lblProtection" font_size="22" text="{protectiontitle}: [DECEA3]{protection}%[-]" />
					</panel>
					<panel height="30" width="340" disableautobackground="true">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_seats"/>
						<label depth="1" width="180" pos="30,-2" name="lblPassengers" font_size="22" text="{passengerstitle}: [DECEA3]{passengers|once}[-]" />
					</panel>
					<panel height="30" width="340" disableautobackground="true">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_gas"/>
						<label depth="1" width="100" pos="30,-2" font_size="22" text="{fueltitle}: [DECEA3]{fuel}%[-]" />

						<sprite depth="2" width="100" pos="105, -7" height="10" type="sliced" color="[black]" />
						<sprite depth="2" width="98" pos="106, -8" height="8" type="sliced" color="[mediumGrey]" />
						<sprite depth="2" name="sprFillPotential" width="98" pos="106, -9" height="6" type="filled" color="[beige]" fill="{potentialfuelfill}" />
						<sprite depth="2" name="sprFuelFill" width="98" pos="106, -8" height="8" type="filled" color="181,57,57" fill="{fuelfill}" />
					</panel>
				</grid>
			</rect>
			<rect name="btnRefuel" depth="3" pos="0, -198" height="36" >
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />
				<rect depth="3" pos="1,-3" width="224" height="31">
					<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="46,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="44,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>

					<sprite depth="2" name="windowIcon" width="24" height="24" pos="44,-1" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="46,-1" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>

					<sprite depth="2" name="windowIcon" width="24" height="24" pos="45,-2" color="[iconColor]" sprite="ui_game_symbol_gas"/>
					<label depth="2" name="windowName" pos="0,-4" justify="center" text="REFUEL" text_key="xuiRefuel" font_size="24" />
				</rect>
			</rect>
		</rect>
	</window>

	<window name="windowVehicleStorage" width="{windowWidth}" height="262" depth="5" controller="VehicleContainer" panel="Left" anchor_side="bottomright" backgroundcolor="[black]" cursor_area="true" >
		<panel name="header" height="43" depth="0" disableautobackground="true" anchor_left="queue,0,-3" anchor_right="queue,1,0" >
			<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header" anchor_left="queue,0,-3" anchor_right="queue,1,0" />
			<sprite depth="3" name="windowIcon" style="icon32px" pivot="center" pos="21,-21" sprite="ui_game_symbol_loot_sack" />
			<label depth="2" name="lootName" pos="39,-6" width="172" height="32" text_key="xuiVehicleStorage" font_size="32" anchor_left="queue,0,39" anchor_right="queue,1,-230" />

			<rect anchor_left="queue,1,-300" anchor_right="queue,1,0" pivot="topleft" pos="0,0" controller="ContainerStandardControls" createuiwidget="true" visible="{buttons_visible}">
				<button   depth="3" name="btnToggleLockMode"   sprite="ui_game_symbol_lock"          tooltip_key="xuiStashLockModeToggle"  pos="154, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" selected="{userlockmode}" visible="{hasslotlocks}" />

				<button   depth="3" name="btnSort"             sprite="ui_game_symbol_sort"          tooltip_key="lblSortContainer"        pos="194, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
				<button   depth="3" name="btnMoveAll"          sprite="ui_game_symbol_store_all_up"     tooltip="{take_all_tooltip}"          pos="274, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
				<button   depth="3" name="btnMoveFillAndSmart" sprite="ui_game_symbol_store_similar_up" tooltip_key="xuiLootTakeFillAndSmart" pos="234, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
<!--				
				<rect pos="0,30">
				<button   depth="3" name="btnMoveFillStacks"   sprite="ui_game_symbol_drop"          tooltip_key="xuiLootTakeFillStacks"   pos="6, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
				<button   depth="3" name="btnMoveSmart"        sprite="ui_game_symbol_drop"          tooltip_key="xuiLootTakeSmart"        pos="46, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" />
				
				<combobox depth="3" name="cbxLockedSlots" pos="70,-7" width="100" height="30" tooltip_key="xuiStashLockedSlots" type="ComboBoxInt" value_min="0" value_max="{container_slots}" value_wrap="true" value_increment="1" />
				</rect>
-->
			</rect>
		</panel>

		<grid depth="2" name="queue" rows="11" cols="10" pos="3,-48" cell_width="67" cell_height="67" repeat_content="true">
      <vehicle_item_stack name="0"/>
		</grid>
	</window>

	<window name="windowAssemble" width="380" height="745" panel="Left" controller="AssembleWindow" cursor_area="true" >
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_assemble"/>
			<label style="header.name" text="{itemname}" />

			<sprite depth="2" width="112" pos="260, -17" height="10" type="sliced" color="[black]" />
			<sprite depth="2" width="110" pos="261, -18" height="8" type="sliced" color="[mediumGrey]" />
			<sprite depth="2" name="sprQuality" width="110" pos="261, -18" height="8" type="filled" color="{itemqualitycolor}" fill="{itemqualityfill}" />
		</panel>

		<panel name="content" depth="0" pos="0,-43" disableautobackground="true">
			<rect depth="1"  height="625">
				<!-- <sprite color="[darkGrey]" pos="3,-3" height="613" /> -->
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="3,-3" width="380" height="213" color="[black]" type="sliced" fillcenter="false" />
				<rect depth="1" pos="3,-3" width="380" height="619">

					<rect name="stats">
						<rect pos="0,0" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle1}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat1}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-30" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkGrey]" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle2}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat2}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-60" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle3}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat3}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-90" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkGrey]" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle4}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat4}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-120" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle5}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat5}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-150" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkGrey]" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle6}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat6}" justify="right" color="[selectedColor]" />
						</rect>
						<rect pos="0,-180" height="33">
							<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
							<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle7}" justify="left" color="[white]" />
							<label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat7}" justify="right" color="[selectedColor]" />
						</rect>
					</rect>

					<panel name="header" pos="0,-230" height="43" depth="1" backgroundspritename="ui_game_panel_header">
						<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_paint_bucket"/>
						<label style="header.name" text_key="xuiCosmetics" />
					</panel>

					<grid name="cosmeticparts" rows="1" cols="1" pos="3,-279" cell_width="374" cell_height="60" repeat_content="true" controller="ItemCosmeticStackGrid" sound_play_on_hover="[default_hover]">
						<item_part_slot controller="ItemCosmeticStack" empty_slot_text_key="xuiEmptyCosmeticSlot" />
					</grid>

					<panel name="header" pos="0,-355" height="43" depth="1" backgroundspritename="ui_game_panel_header">
						<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_assemble"/>
						<label style="header.name" text_key="xuiModifiers" />
					</panel>

					<grid name="parts" rows="6" cols="1" pos="3,-404" cell_width="374" cell_height="60" repeat_content="true" controller="ItemPartStackGrid">
						<item_part_slot controller="ItemPartStack" empty_slot_text_key="xuiEmptyModifierSlot" />
					</grid>
				</rect>
			</rect>
		</panel>
	</window>

  <window name="windowAssembleDrone" width="380" height="745" panel="Left" controller="AssembleDroneWindow" cursor_area="true" >
    <panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
      <sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_assemble"/>
      <label style="header.name" text="{itemname}" />

      <sprite depth="2" width="112" pos="260, -17" height="10" type="sliced" color="[black]" />
      <sprite depth="2" width="110" pos="261, -18" height="8" type="sliced" color="[mediumGrey]" />
      <sprite depth="2" name="sprQuality" width="110" pos="261, -18" height="8" type="filled" color="{itemqualitycolor}" fill="{itemqualityfill}" />
    </panel>

    <panel name="content" depth="0" pos="0,-43" disableautobackground="true">
      <rect depth="1"  height="625">
        <!-- <sprite color="[darkGrey]" pos="3,-3" height="613" /> -->
        <sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="3,-3" width="380" height="213" color="[black]" type="sliced" fillcenter="false" />
        <rect depth="1" pos="3,-3" width="380" height="619">

          <rect name="stats">
            <rect pos="0,0" height="33">
              <sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
              <sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle1}" justify="left" color="[white]" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat1}" justify="right" color="[selectedColor]" />
            </rect>
            <rect pos="0,-30" height="33">
              <sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
              <sprite depth="1" color="[darkGrey]" type="sliced" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle2}" justify="left" color="[white]" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat2}" justify="right" color="[selectedColor]" />
            </rect>
            <rect pos="0,-60" height="33">
              <sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
              <sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle3}" justify="left" color="[white]" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat3}" justify="right" color="[selectedColor]" />
            </rect>
            <rect pos="0,-90" height="33">
              <sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
              <sprite depth="1" color="[darkGrey]" type="sliced" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle4}" justify="left" color="[white]" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat4}" justify="right" color="[selectedColor]" />
            </rect>
            <rect pos="0,-120" height="33">
              <sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
              <sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle5}" justify="left" color="[white]" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat5}" justify="right" color="[selectedColor]" />
            </rect>
            <rect pos="0,-150" height="33">
              <sprite depth="8" sprite="menu_empty3px" height="33"  color="[black]" type="sliced" fillcenter="false" />
              <sprite depth="1" color="[darkGrey]" type="sliced" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle6}" justify="left" color="[white]" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat6}" justify="right" color="[selectedColor]" />
            </rect>
            <rect pos="0,-180" height="33">
              <sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
              <sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstattitle7}" justify="left" color="[white]" />
              <label depth="3" pos="15,-3" width="350" font_size="26" text="{itemstat7}" justify="right" color="[selectedColor]" />
            </rect>
          </rect>

          <panel name="header" pos="0,-230" height="43" depth="1" backgroundspritename="ui_game_panel_header">
            <sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_paint_bucket"/>
            <label style="header.name" text_key="xuiCosmetics" />
          </panel>

          <grid name="cosmeticparts" rows="1" cols="1" pos="3,-279" cell_width="374" cell_height="60" repeat_content="true" controller="ItemCosmeticStackGrid" sound_play_on_hover="[default_hover]">
            <item_part_slot controller="ItemCosmeticStack" empty_slot_text_key="xuiEmptyCosmeticSlot" />
          </grid>

          <panel name="header" pos="0,-355" height="43" depth="1" backgroundspritename="ui_game_panel_header">
            <sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_assemble"/>
            <label style="header.name" text_key="xuiModifiers" />
          </panel>

          <grid name="parts" rows="6" cols="1" pos="3,-404" cell_width="374" cell_height="60" repeat_content="true" controller="ItemDronePartStackGrid">
            <item_part_slot controller="ItemDronePartStack" empty_slot_text_key="xuiEmptyModifierSlot" />
          </grid>
        </rect>
      </rect>
    </panel>
  </window>
  
  <window name="windowRadial" anchor="CenterCenter">
		<rect name="radialPanel" repeat_content="true" repeat_count="13" pivot="center">
			<radial_entry />
		</rect>
		<label depth="10" name="selection" width="150" height="50" pivot="center" justify="center" text=" " font_size="26"/>
	</window>

	<window name="windowTimer" anchor="CenterCenter">
		<rect depth="15" height="58" width="58" style="hover" on_press="true" highlight_color="[lightGrey]" pivot="center" controller="Timer">
			<!--<label depth="3" pos="0,50" name="action" width="200" height="26" pivot="center" justify="center" text="{caption}" font_size="24" />-->
			<sprite depth="1" name="border" sprite="ui_game_filled_circle" color="0,0,0,128" pivot="center"/>
			<sprite depth="2" height="52" width="52" name="background" sprite="ui_game_filled_circle" color="128,128,128,192" pivot="center" type="filled" fill="{percent}" filldirection="radial360"/>
			<label depth="3" name="time" width="75" height="24" pivot="center" justify="center" text="{timeleft}" font_size="22" />
		</rect>
	</window>

	<window name="windowThrow" anchor="CenterCenter" controller="ThrowPower">
		<rect pos="0,-60">
			<sprite depth="1" pos="-152,0" width="304" height="14" pivot="left" name="background" sprite="menu_empty" type="sliced" color="0,0,0,160" />
			<filledsprite depth="2" pos="-150,0" width="300" height="10" pivot="left" name="bar" color="0,180,0,210" fill="{fill}" filldirection="horizontal" foregroundlayer="true" />
		</rect>
	</window>

	<window name="windowSkillList" panel="Center" width="647" height="730" controller="SkillListWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="ui_game_symbol_skills"/>
			<label style="header.name" text_key="{titlename}" />

			<label pos="635, -9" depth="2" width="300" height="28" text="{skillpointsavailable}" font_size="26" justify="right" pivot="topright" visible="{isnormal}"/>
			<!--<label pos="635, -9" depth="2" name="unlockedCount" width="84" height="28" text="{totalskills}" font_size="26" color="[lightGrey]" justify="right" pivot="topright"/>-->
		</panel>

		<panel name="content" pos="-3,-43" height="669" depth="1" disableautobackground="true"> <!-- backgroundcolor="[lightGrey]" bordercolor="[black]" borderthickness="3" -->

			<rect name="categoryHeader" pos="6,-3" width="644" height="43">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="647" height="46" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" name="background"  color="[mediumGrey]" type="sliced"/>

				<panel depth="1" pos="3,-3" width="410" height="37" disableautobackground="true">
					<grid name="categories" pos="18,-20" rows="1" cols="8" width="663" height="34" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
						<category_icon />
					</grid>
				</panel>

				<panel depth="1" pos="394,0" width="200" disableautobackground="true" console_enabled="false">
					<sprite depth="1" name="searchIcon" style="icon30px" pos="0,-22" sprite="ui_game_symbol_search" pivot="center"/>
					<textfield depth="2" pos="22,-7" width="120" height="30" name="searchInput" search_field="true" close_group_on_tab="true" clear_button="true" />
				</panel>

				<panel depth="2" pos="540,0" width="104" height="43" disableautobackground="true" visible="{paging_visible}">
					<pager name="pager" pos="4,-6" contents_parent="windowSkillList"/>
				</panel>
			</rect>

			<rect>
				<rect name="tableHeader" pos="5,-49" width="645" height="43">
					<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>

					<rect depth="1" width="439" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-2,3" width="441" height="46" color="[black]" type="sliced" fillcenter="false" visible="{isnormal}" />
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-2,3" width="543" height="46" color="[black]" type="sliced" fillcenter="false" visible="{isbook}" />
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-2,3" width="543" height="46" color="[black]" type="sliced" fillcenter="false" visible="{iscrafting}" />

						<!--<sprite depth="1" pos="3,-3" style="icon32px, press, hover" sprite="ui_game_symbol_skills"/>-->
						<label depth="1" pos="8,-20" text="Skill/Perk Name" text_key="xuiSkillPerkName" justify="left" pivot="left" width="420" visible="{isnormal}" />
						<label depth="1" pos="8,-20" text="Book Titles" text_key="xuiBookTitles" justify="left" pivot="left" width="420" visible="{isbook}" />
						<label depth="1" pos="8,-20" text="Crafting Skill Name" text_key="xuiCraftingSkillsName" justify="left" pivot="left" width="420" visible="{iscrafting}" />
					</rect>

					<rect depth="1" pos="439,0" width="100" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="106" height="46" color="[black]" type="sliced" fillcenter="false" visible="{isnormal}" />

						<!--<sprite depth="1" pos="3,-3" style="icon32px, press, hover" sprite="ui_game_symbol_percent"/>-->
						<label depth="1" pos="8,-20" text="Level" text_key="xuiLevel" justify="center" pivot="left" width="84" visible="{isnormal}"/>
					</rect>

					<rect depth="1" pos="542,0" width="100" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="106" height="46" color="[black]" type="sliced" fillcenter="false" />

						<!--<sprite depth="1" pos="3,-3" style="icon32px, press, hover" sprite="ui_game_symbol_loot_sack"/>-->
						<label depth="1" pos="8,-20" text="Cost" text_key="xuiCost" justify="center" pivot="left" width="84" visible="{isnormal}" />
						<label depth="1" pos="8,-20" text="Read" text_key="xuiRead" justify="center" pivot="left" width="84" visible="{isbook}" />
						<label depth="1" pos="8,-20" text="Skill Level" text_key="xuiCraftingSkillsLevel" justify="center" pivot="left" width="84" visible="{iscrafting}" />
					</rect>
				</rect>

				<grid name="skills" rows="14" cols="1" pos="6,-89" cell_width="645" cell_height="46" controller="SkillList" repeat_content="true" arrangement="vertical" >
					<skill_entry name="0"/>
				</grid>
			</rect>


		</panel>
	</window>

	<window name="windowSkillAttributeInfo" width="647" height="730" panel="Right" controller="SkillAttributeInfoWindow" cursor_area="true" hidden_entries_with_paging="2" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="ui_game_symbol_skills"/>
			<label style="header.name" text="{groupname}" />
			<label pos="635, -9" depth="2" width="300" height="28" text="{currentlevel} {skillLevel} / {maxSkillLevel}" font_size="26" justify="right" pivot="topright"/>
		</panel>
		<rect name="content" pos="0,-46" height="669" depth="1">

			<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" width="100" height="103" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" pos="2,-2" name="preview" width="97" height="100" color="[darkGrey]" type="sliced" />
			<sprite depth="3" pos="50,-50" width="80" height="80" sprite="{groupicon}" pivot="center" foregroundlayer="true"/>

			<!-- <panel name="actionsBox" depth="2" pos="3,-153" width="146" height="78" disableautobackground="true"> -->
				<!-- <sprite depth="1" pos="-3,8" width="151" height="91" name="background" color="[mediumGrey]" type="sliced"/> -->
				<!-- <grid rows="2" cols="1" pos="0,5" width="144" cell_width="144" cell_height="43" controller="ItemActionList"> -->
					<!-- <skill_action_entry /> -->
				<!-- </grid> -->
				<!-- <sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,8" width="150" height="91" color="[black]" type="sliced" fillcenter="false" /> -->
				<!-- <sprite depth="3" pos="75,-59" width="147" height="43" color="[mediumGrey]" pivot="center" type="sliced" /> -->
			<!-- </panel> -->

			<rect name="descriptionBox" depth="1" pos="97,0" width="550" height="100" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="550" height="103" color="[black]" type="sliced" fillcenter="false" />
				<label depth="2" name="descriptionText" pos="6,-6" width="538" height="93" text="{groupdescription}"/>
			</rect>

			<rect name="detailsBox" depth="1" pos="0,-100" width="646" height="179" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="647" height="182" color="[black]" type="sliced" fillcenter="false" />
				<label depth="2" name="descriptionText" pos="6,-6" width="636" height="172" text="{detailsdescription}"/>
			</rect>

			<rect name="tableBox" depth="1" pos="0,-280" width="646" height="450">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
				<sprite depth="5" pos="0,1" width="647" height="451" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect name="tableHeader" pos="0,0" width="644" height="43">
					<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
					<rect depth="1" pos="0,0" width="75" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiSkillLevel" pivot="left" justify="center" width="65" />
					</rect>
					<rect depth="1" pos="72,0" width="503" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiSkillUnlocks" pivot="left" justify="center" width="493" />
					</rect>
					<rect depth="1" pos="572,0" width="75" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiSkillBuy" pivot="left" justify="center" width="65" />
					</rect>
				</rect>

				<grid rows="10" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="40" repeat_content="true">
					<skill_attribute_level width="646" height="40" />
				</grid>
			</rect>

			<rect name="pagerBox" depth="3" width="644" height="43" pos="3,-689" visible="{showPaging}">
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,2" width="647" height="47" color="[black]" type="sliced" fillcenter="false" />

				<panel pos="524,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="-16,-6" contents_parent="content"/>
				</panel>
			</rect>
		</rect>
	</window>

	<window name="windowSkillSkillInfo" width="647" height="730" panel="Right" controller="SkillSkillInfoWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="ui_game_symbol_skills"/>
			<label style="header.name" text="{groupname}" />
			<label pos="635, -9" depth="2" width="300" height="28" text="{currentlevel} {skillLevel} / {maxSkillLevel}" font_size="26" color="[lightGrey]" justify="right" pivot="topright"/>
		</panel>
		<rect name="content" pos="0,-46" height="669" depth="1">

			<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" width="151" height="163" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" pos="2,-2" name="preview" width="148" height="162" color="[darkGrey]" type="sliced" />
			<sprite depth="3" pos="77,-77" width="100" height="100" sprite="{groupicon}" pivot="center" foregroundlayer="true"/>

			<rect name="descriptionBox" depth="1" pos="148,0" width="498" height="162" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="499" height="163" color="[black]" type="sliced" fillcenter="false" />

				<label depth="2" name="descriptionText" pos="6,-8" width="486" height="144" text="{groupdescription}"/>
			</rect>

			<rect name="currentProgressBox" depth="1" pos="0,-160" height="44">
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="46" color="[black]" type="sliced" fillcenter="false" />

				<label depth="2" pos="10,-22" width="80" height="32" text="{currentlevel} {skillLevel}" justify="right" pivot="left" />
				<sprite depth="2" pos="99,-22" height="18" width="452" color="[black]" type="sliced" pivot="left" />
				<sprite depth="3" pos="100,-22" height="16" width="450" color="[darkGrey]" type="sliced" pivot="left" foregroundlayer="true" />
				<sprite depth="3" pos="100,-22" height="16" width="450" color="[red]" type="filled" pivot="left" foregroundlayer="true" fill="{skillpercentthislevel}" />
				<label depth="2" pos="640,-22" width="80" height="32" text="{currentlevel} {nextSkillLevel}" justify="left" pivot="right" visible="{notmaxlevel}" />

				<rect pos="200,0" width="250" depth="4" name="locked" visible="{nextSkillLevelLocked}">
					<sprite depth="5" pos="0,-22" style="icon30px" pivot="left" foregroundlayer="true" sprite="ui_game_symbol_lock" />
					<label depth="4" pos="40,-22" width="210" height="32" text="{nextSkillLevelRequirement}" justify="left" pivot="left" />
				</rect>
			</rect>

			<rect name="effects" depth="1" pos="0,-203" width="647" height="135">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
				<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect name="header" height="43">
					<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
					<sprite depth="3" pos="0,1" width="647" height="46" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
					<label depth="2" pos="14,-10" text_key="xuiSkillEffects"  height="34" />
				</rect>

				<label depth="2" pos="8,-47" width="310" height="84" text="{effectsCol1}" />
				<label depth="2" pos="331,-47" width="310" height="84" text="{effectsCol2}" />
			</rect>

			<rect name="milestones" depth="1" pos="0,-336" width="647" height="348">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
				<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect name="header" height="43">
					<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
					<sprite depth="3" pos="0,1" width="647" height="46" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
					<label depth="2" pos="14,-10" text_key="xuiSkillMilestones"  height="34" />
				</rect>

				<grid depth="2" rows="5" cols="1" pos="0,-45" width="647" cell_width="647" cell_height="60" repeat_content="true">
					<skill_skill_milestone depth="2" width="647" height="60" />
				</grid>
			</rect>
		</rect>
	</window>

	<window name="windowSkillPerkInfo" width="647" height="730" panel="Right" controller="SkillPerkInfoWindow" cursor_area="true" hidden_entries_with_paging="1" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="ui_game_symbol_skills"/>
			<label style="header.name" text="{groupname}" />
			<label pos="635, -9" depth="2" width="300" height="28" text="{currentlevel} {skillLevel} / {maxSkillLevel}" font_size="26" justify="right" pivot="topright"/>
		</panel>
		<rect name="content" pos="0,-46" height="669" depth="1">

			<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" width="100" height="103" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" pos="2,-2" name="preview" width="97" height="100" color="[darkGrey]" type="sliced" />
			<sprite depth="3" pos="50,-50" width="80" height="80" sprite="{groupicon}" pivot="center" foregroundlayer="true"/>

			<rect name="descriptionBox" depth="1" pos="97,0" width="550" height="100" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="550" height="103" color="[black]" type="sliced" fillcenter="false" />
				<label depth="2" name="descriptionText" pos="6,-6" width="538" height="93" text="{groupdescription}"/>
			</rect>

			<rect name="detailsBox" depth="1" pos="0,-100" width="646" height="179" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="647" height="182" color="[black]" type="sliced" fillcenter="false" />
				<label depth="2" name="descriptionText" pos="6,-6" width="636" height="172" text="{detailsdescription}"/>
			</rect>

			<rect name="tableBox" depth="1" pos="0,-280" width="646" height="450">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
				<sprite depth="5" pos="0,1" width="647" height="451" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect name="tableHeader" pos="0,0" width="644" height="43">
					<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
					<rect depth="1" pos="0,0" width="75" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiSkillLevel" pivot="left" justify="center" width="65" />
					</rect>
					<rect depth="1" pos="72,0" width="503" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiSkillUnlocks" pivot="left" justify="center" width="493" />
					</rect>
					<rect depth="1" pos="572,0" width="75" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiSkillBuy" pivot="left" justify="center" width="65" />
					</rect>
				</rect>

				<grid rows="5" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="80" repeat_content="true">
					<skill_perk_level width="646" height="80" />
				</grid>
			</rect>

			<rect name="pagerBox" depth="3" width="644" height="43" pos="3,-639" visible="{showPaging}">
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,2" width="647" height="47" color="[black]" type="sliced" fillcenter="false" />

				<panel pos="524,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="-16,-6" contents_parent="content" />
				</panel>
			</rect>
		</rect>
	</window>

	<window name="windowSkillBookInfo" width="647" height="730" panel="Right" controller="SkillBookInfoWindow" cursor_area="true" hidden_entries_with_paging="1" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="ui_game_symbol_book"/>
			<label style="header.name" text="{groupname}" />
			<!-- <label pos="635, -9" depth="2" width="300" height="28" text="{currentlevel} {skillLevel} / {maxSkillLevel}" font_size="26" color="[lightGrey]" justify="right" pivot="topright"/> -->
		</panel>
		<rect name="content" pos="0,-46" height="669" depth="1">

			<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" width="100" height="103" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" pos="2,-2" name="preview" width="97" height="100" color="[darkGrey]" type="sliced" />
			<sprite depth="3" pos="50,-50" width="80" height="80" sprite="{groupicon}" pivot="center" foregroundlayer="true"/>

			<rect name="descriptionBox" depth="1" pos="97,0" width="550" height="100" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="550" height="103" color="[black]" type="sliced" fillcenter="false" />
				<label depth="2" name="descriptionText" pos="6,-6" width="538" height="93" text="{groupdescription}"/>
			</rect>

			<rect name="detailsBox" depth="1" pos="0,-100" width="646" height="179" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="647" height="182" color="[black]" type="sliced" fillcenter="false" />
				<label depth="2" name="descriptionText" pos="6,-6" width="636" height="172" text="{detailsdescription}"/>
			</rect>

			<rect name="tableBox" depth="1" pos="0,-280" width="646" height="450">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
				<sprite depth="5" pos="0,1" width="647" height="451" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect name="tableHeader" pos="0,0" width="644" height="43">
					<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
					<rect depth="1" pos="0,0" width="55" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiVolume" pivot="left" justify="center" width="45" />
					</rect>
					<rect depth="1" pos="52,0" width="533" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiSkillUnlocks" pivot="left" justify="center" width="493" />
					</rect>
					<rect depth="1" pos="582,0" width="65" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="0,-23" text_key="xuiRead" pivot="left" justify="center" width="65" />
					</rect>
				</rect>

				<grid rows="8" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="50" repeat_content="true">
					<skill_book_level width="646" height="50" />
				</grid>
			</rect>

			<rect name="pagerBox" depth="3" width="644" height="43" pos="3,-639" visible="{showPaging}">
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,2" width="647" height="47" color="[black]" type="sliced" fillcenter="false" />

				<panel pos="524,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="-16,-6" contents_parent="content" />
				</panel>
			</rect>
		</rect>
	</window>
	
	<window name="windowSkillCraftingInfo" width="647" height="730" panel="Right" controller="SkillCraftingInfoWindow" cursor_area="true" hidden_entries_with_paging="1" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="ui_game_symbol_skills"/>
			<label style="header.name" text="{groupname}" />
			<label pos="635, -9" depth="2" width="300" height="28" text="{currentlevel} {skillLevel} / {maxSkillLevel}" font_size="26" justify="right" pivot="topright"/>
		</panel>
		<rect name="content" pos="0,-46" height="669" depth="1">

			<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" width="100" height="103" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" pos="2,-2" name="preview" width="97" height="100" color="[darkGrey]" type="sliced" />
			<sprite depth="3" pos="50,-50" width="80" height="80" sprite="{groupicon}" pivot="center" foregroundlayer="true"/>

			<rect name="descriptionBox" depth="1" pos="97,0" width="550" height="101" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="550" height="103" color="[black]" type="sliced" fillcenter="false" />
				<label depth="2" name="descriptionText" pos="6,-6" width="538" height="93" text="{groupdescription}"/>
			</rect>

			<rect name="detailsBox" depth="1" pos="0,-100" width="646" height="180" >
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="647" height="182" color="[black]" type="sliced" fillcenter="false"  on_press="false"/>
				
				<grid rows="2" cols="7" pos="0,0" width="450" height="368" cell_width="92" cell_height="88" repeat_content="false" arrangement="horizontal" >
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="93" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas1}" sprite="{unlock_icon1}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked1}" />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon1" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip1}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas2}" sprite="{unlock_icon2}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked2}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon2" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip2}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas3}" sprite="{unlock_icon3}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked3}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon3" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip3}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas4}" sprite="{unlock_icon4}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked4}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon4" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip4}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas5}" sprite="{unlock_icon5}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked5}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon5" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip5}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas6}" sprite="{unlock_icon6}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked6}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon6" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip6}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas7}" sprite="{unlock_icon7}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked7}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon7" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip7}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas8}" sprite="{unlock_icon8}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked8}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon8" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip8}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas9}" sprite="{unlock_icon9}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked9}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon9" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip9}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas10}" sprite="{unlock_icon10}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked10}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon10" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip10}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas11}" sprite="{unlock_icon11}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked11}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon11" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip11}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas12}" sprite="{unlock_icon12}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked12}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon12" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip12}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas13}" sprite="{unlock_icon13}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked13}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon13" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip13}" />
					</rect>
					<rect width="92" height="88">
						<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="94" height="93" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="6" pos="48,-48" width="64" height="64" atlas="{unlock_icon_atlas14}" sprite="{unlock_icon14}" pivot="center" foregroundlayer="true" />
						<sprite depth="8" pos="64,-66" style="icon30px" sprite="ui_game_symbol_unlock" pivot="center" visible="{unlock_icon_locked14}"  />
						<sprite color="0,0,0,1" depth="12" width="92" height="88" name="itemIcon14" collider_scale="1.0" on_hover="true" on_press="true" tooltip="{unlock_icon_tooltip14}" />
					</rect>
					
				</grid>
			</rect>

			<rect name="tableBox" depth="1" pos="0,-280" width="646" height="450">
				<sprite depth="1" name="background" color="[darkGrey]" type="sliced"/>
				<sprite depth="5" pos="0,1" width="647" height="451" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect name="tableHeader" pos="0,0" width="644" height="43">
					<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>
					<rect depth="1" pos="0,0" width="75" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text="Item" text_key="xuiCraftingSkillsItem" pivot="left" justify="center" width="65" />
					</rect>
					<rect depth="1" pos="72,0" width="575" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text_key="xuiSkillUnlocks" pivot="left" justify="center" width="418" />
					</rect>
					<rect depth="1" pos="480,0" width="95" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text="Skill" text_key="xuiCraftingSkillsSkill" pivot="left" justify="center" width="85" />
					</rect>
					<rect depth="1" pos="572,0" width="75" height="40">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" height="46" color="[black]" type="sliced" fillcenter="false" />
						<label depth="1" pos="5,-23" text="Next" text_key="xuiCraftingSkillsNext" pivot="left" justify="center" width="65" />
					</rect>
				</rect>

				<grid rows="5" cols="1" pos="0,-46" width="644" cell_width="644" cell_height="80" repeat_content="true">
					<skill_crafting_entry width="646" height="80" />
				</grid>
			</rect>

			<rect name="pagerBox" depth="3" width="644" height="43" pos="3,-639" visible="{showPaging}">
				<sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/>
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,2" width="647" height="47" color="[black]" type="sliced" fillcenter="false" />

				<panel pos="524,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="-16,-6" contents_parent="content" />
				</panel>
			</rect>
		</rect>
	</window>

	<window name="windowQuestList" width="450" height="{# questsautoaccept ? 735 : 505}" panel="Left" controller="QuestListWindow" cursor_area="true" visible_quest_count="{# questsautoaccept ? 14 : 9}">
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_quest"/>
			<label style="header.name" text="QUESTS" text_key="xuiQuests" />
			<label depth="2" pos="245,-8" width="200" height="28" text="{queststier}" justify="right" upper_case="true" />
		</panel>

		<rect name="content" depth="0" pos="0,-43" height="{# questsautoaccept ? 694 : 464}">

			<rect depth="3" name="searchControls" width="450" height="43" pos="6,-6">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="450" height="46" color="[black]" type="sliced" fillcenter="false" />

				<button depth="1" name="trackBtn" style="icon32px, press, hover" pivot="center" pos="26,-21" sprite="ui_game_symbol_compass" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				<button depth="1" name="showOnMapBtn" style="icon32px, press, hover" pivot="center" pos="69,-21" sprite="ui_game_symbol_map" tooltip="Show on Map" tooltip_key="lblShowOnMap" sound="[paging_click]" />
				<button depth="1" name="questRemoveBtn" style="icon32px, press, hover" pivot="center" pos="112,-21" sprite="ui_game_symbol_quest_remove" tooltip="Remove Quest" tooltip_key="lblRemoveQuest" sound="[paging_click]" />
				<button depth="1" name="questShareBtn" style="icon32px, press, hover" pivot="center" pos="155,-21" sprite="ui_game_symbol_players" tooltip="Share Quest" tooltip_key="lblShareQuest" sound="[paging_click]" />

				<sprite color="[darkGrey]" type="sliced" width="446" pos="-1,0" />
				<sprite depth="4" name="searchIcon" style="icon30px" pos="210,-20" sprite="ui_game_symbol_search" pivot="center" console_enabled="false"/>

				<panel pos="233,-6" depth="1" width="120" disableautobackground="true" console_enabled="false">
					<textfield depth="1" pos="0,0" width="100" height="30" name="searchInput" virtual_keyboard_prompt="vkPromptSearchTerm" search_field="true" close_group_on_tab="true" clear_button="true" />
				</panel>

				<panel pos="338,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6" contents_parent="content"/>
				</panel>
			</rect>

			<grid name="questList" rows="14" cols="1" pos="6,-49" width="450" height="{# questsautoaccept ? 598 : 368}" cell_width="390" cell_height="46" controller="QuestList" repeat_content="true" arrangement="vertical" normal_color="[iconColor]" disabled_color="[iconColor]" >
				<quest_entry name="0" />
			</grid>
		</rect>
	</window>

	<window name="windowQuestSharedList" width="450" height="213" panel="Left" cursor_area="true" controller="QuestSharedListWindow" visible="{# !questsautoaccept}">
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_quest"/>
			<label style="header.name" text="SHARED QUESTS" text_key="xuiSharedQuests" />
		</panel>

		<rect name="content" depth="0" pos="0,-43" height="464">

			<rect depth="3" name="searchControls" width="450" height="43" pos="6,-6">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="450" height="46" color="[black]" type="sliced" fillcenter="false" />

				<button depth="1" name="acceptBtn" style="icon32px, press, hover" pivot="center" pos="26,-21" sprite="ui_game_symbol_check" tooltip="Accept Quest" tooltip_key="lblAcceptQuest" sound="[paging_click]" />
				<button depth="1" name="showOnMapBtn" style="icon32px, press, hover" pivot="center" pos="69,-21" sprite="ui_game_symbol_map" tooltip="Show on Map" tooltip_key="lblShowOnMap" sound="[paging_click]" />
				<button depth="1" name="questRemoveBtn" style="icon32px, press, hover" pivot="center" pos="112,-21" sprite="ui_game_symbol_x" tooltip="Cancel Quest" tooltip_key="lblCancelQuest" sound="[paging_click]" />

				<sprite color="[darkGrey]" type="sliced" width="446" pos="-1,0" />
				<sprite depth="4" name="searchIcon" style="icon30px" pos="210,-20" sprite="ui_game_symbol_search" pivot="center" console_enabled="false"/>

				<panel pos="233,-6" depth="1" width="120" disableautobackground="true" console_enabled="false">
					<textfield depth="1" pos="0,0" width="100" height="30" name="searchInput" virtual_keyboard_prompt="vkPromptSearchTerm" close_group_on_tab="true" />
				</panel>

				<panel pos="338,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6" contents_parent="content" />
				</panel>
			</rect>

			<grid name="questList" rows="4" cols="1" pos="6,-49" width="450" height="368" cell_width="390" cell_height="46" controller="QuestSharedList" repeat_content="true" arrangement="vertical" normal_color="[iconColor]" disabled_color="[iconColor]" >
				<quest_entry name="0" />
			</grid>
		</rect>
	</window>

	<window name="windowQuestDescription" width="653" height="312" panel="Center" controller="QuestDescriptionWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_quest"/>
			<label style="header.name" text="{questtitle}" width="500" />
			<label depth="2" pos="545,-8" width="100" height="28" text="{sharedbyname}" justify="right" upper_case="true" />
		</panel>
		<rect name="content" pos="0,-46" height="266" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="653" height="266" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<label depth="3" name="descriptionText" pos="8,-8" text="{questdescription}" width="630" height="255" font_size="28" />
			<rect visible="{showempty}">
				<label pos="0,-125" depth="3" name="descriptionText" width="100%" height="255" text="DESCRIPTION NOT AVAILABLE AT THIS TIME." text_key="xuiDescriptionNotAvailable" justify="center" pivot="left" font_size="28" />
			</rect>
		</rect>
	</window>

	 <window name="windowQuestObjectives" width="653" height="240" panel="Center" controller="QuestObjectivesWindow" cursor_area="true" quest_limited_color="[red]" quest_limited_complete_color="[white]">
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_quest"/>
			<label style="header.name" text="OBJECTIVES" text_key="xuiObjectives" />
			<!-- <label depth="2" pos="545,-8" width="100" height="28" text="{questdifficulty}" color="[lightGrey]" justify="right" upper_case="true" /> -->
			<label depth="2" pos="445,-8" width="200" height="28" text="{tieradd}" justify="right" upper_case="true" />
			<sprite depth="2" name="windowIcon" style="icon32px" pos="610,-5" sprite="ui_game_symbol_quest_limited" color="{tieraddlimitedcolor}" visible="{tieraddlimited}" />
		</panel>
		<rect name="content" pos="0,-46" height="194" depth="1">
			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<rect visible="{showquest}">
				<grid name="objectiveList" rows="5" cols="2" pos="12,-10" width="300" height="184" cell_width="300" cell_height="30" repeat_content="true" arrangement="horizontal" controller="QuestObjectiveList">
					<quest_objective_entry name="0" />
				</grid>
				<!-- <sprite depth="8" name="backgroundMain2" sprite="menu_empty3px" pos="0,-220" width="653" height="40" color="[black]" type="sliced" fillcenter="false" visible="{showqequirements}" />	 -->
				<label depth="3" pos="8, -165" text="{questrequirementstitle}: {questrequirements}" width="590" visible="{showrequirements}" height="30" />
			</rect>
			<rect visible="{showempty}">
				<label pos="0,-70" depth="3" name="descriptionText" width="100%" height="65" text="OBJECTIVES NOT AVAILABLE AT THIS TIME." text_key="xuiObjectivesNotAvailable" justify="center" font_size="28" />
			</rect>
		</rect>
	</window>



	<window name="windowQuestRewards" width="653" height="199" panel="Center" controller="QuestRewardsWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_treasure"/>
			<label style="header.name" text="REWARDS" text_key="xuiRewards" />
			<label depth="2" pos="345,-8" width="300" height="28" text="{finishtime}" justify="right" upper_case="true" />
		</panel>
		<rect name="content" pos="0,-46" height="153" depth="1">
			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<rect visible="{showquest}">
				<!-- <grid name="rewardList" rows="5" cols="1" pos="12,-10" width="600" height="368" cell_width="300" cell_height="30" repeat_content="true" arrangement="vertical" controller="QuestRewardList"> -->
					<!-- <quest_reward_entry2 name="0" /> -->
				<!-- </grid> -->
				<label pos="6,-6" depth="3" name="descriptionText" text="{commonrewards}
				{chaintitle}{chainrewards}" font_size="28" width="648" height="145" />
			</rect>
			<rect visible="{showempty}">
				<label pos="0,-70" depth="3" name="descriptionText" width="100%" height="145" text="REWARDS NOT AVAILABLE AT THIS TIME." text_key="xuiRewardsNotAvailable" justify="center" pivot="left" font_size="28" />
			</rect>
		</rect>
	</window>

	<window name="windowTip" width="603" height="363" pos="-300, 150" controller="TipWindow" anchor="CenterCenter" pivot="center" depth="15" cursor_area="true">
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header" >
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_pen"/>
			<label style="header.name" text="{tiptitle}" width="550" />
		</panel>
		<rect name="content" pos="0,-46" height="319" depth="1" pivot="center">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="603" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<label depth="3" name="descriptionText" pos="8,-8" text="{tiptext}" width="590" height="265" font_size="30" />

			<rect name="btnContinue" depth="3" pos="0, -277" height="42" >
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />
				<rect depth="3" pos="0,0" height="42">
					<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>

					<label depth="2" name="windowName" pos="0,-1" justify="center" text="CONTINUE" text_key="btnContinue" font_size="36" />
				</rect>
			</rect>
		</rect>
	</window>
	
	<window name="windowLocation" pos="-259, -40" width="240" height="60" anchor="RightTop" depth="-20" controller="Location">
		<sprite pos="0,6" name="Background" sprite="menu_empty" color="[darkestGrey]" height="46" width="250" type="sliced" />
		<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,6" width="250" height="46" color="[black]" type="sliced" fillcenter="false" />
		<label depth="3" text="{locationname}" font_size="20" justify="center" pos="6,2" height="28" />
		<!-- No longer used. Keep for modding. -->
		<!-- <sprite depth="2" pos="5, -20" name="windowicon" width="16" height="16" sprite="ui_game_loot_stage_bad" visible="{visible_loot_max}" /> -->
		<grid pos="125, -28" pivot="center" cols="8" cell_width="18" cell_height="16">
			<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" color="{difficultycolor1}" visible="{visible1}" />
			<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" color="{difficultycolor2}" visible="{visible2}"/>
			<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" color="{difficultycolor3}" visible="{visible3}"/>
			<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" color="{difficultycolor4}" visible="{visible4}"/>
			<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" color="{difficultycolor5}" visible="{visible5}"/>
			<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" color="{difficultycolor6}" visible="{visible6}"/>
			<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" color="{difficultycolor7}" visible="{visible7}"/>
			<rect width="16" height="16" visible="{visible_half}">
				<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" type="filled" fill="0.5" color="255,128,0"/>
				<sprite depth="2" name="windowicon" width="16" height="16" sprite="ui_game_symbol_skull" type="filled" fill="0.5" fillinvert="true"  color="[lightGrey]"/>
			</rect>
		</grid>
		
	</window>

	<window name="windowQuestTracker" pos="-255, -88" width="300" height="100" anchor="RightTop" controller="QuestTrackerWindow" visible="{showquest}" depth="-20">
		<sprite pos="6,6" name="Background" sprite="ui_game_popup" height="43" width="240" />
		<label depth="3" text="{questtitle}" font_size="26" justify="right" upper_case="true" pos="-100, -5" height="28" />
		<sprite pos="210,0" name="windowIcon" style="icon32px" sprite="{questicon}" justify="right"/>

		<sprite pos="6,-38" name="Background" sprite="ui_game_popup" height="{trackerheight}" width="240" />
		<grid name="objectiveList" rows="8" cols="1" pos="-60,-44" cell_width="300" cell_height="26" repeat_content="true" arrangement="vertical" controller="QuestTrackerObjectiveList"
			complete_icon="ui_game_symbol_check" incomplete_icon="ui_game_symbol_x" complete_color="[green]">
			<quest_objective_tracker_entry />
		</grid>
		
		<rect pos="-30,{#trackerheight * -1 - 50}" height="100" width="270" visible="{questhintavailable}">
			<!-- <sprite pos="6,6" name="Background" sprite="ui_game_popup" /> -->
			<label depth="3" text="{questhint}" font_size="20" justify="right" parse_actions="true" actions_default_format="( [e61a16]###[-] )" spacing_y="5" effect="Outline8" effect_color="0,0,0,255" effect_distance="1,1" />
		</rect>
		
	</window>
	
	<window name="windowRecipeTracker" pos="-255, -88" width="300" height="100" anchor="RightTop" controller="RecipeTrackerWindow" visible="{showrecipe}" depth="-20">
		<sprite pos="6,6" name="Background" sprite="ui_game_popup" height="43" width="240" />
		<label depth="3" text="{recipetitle}" font_size="26" justify="right" upper_case="true" pos="-100, -5" height="28" />
		<sprite pos="210,0" name="windowIcon" style="icon32px" sprite="ui_game_symbol_hammer" justify="right"/>

		<sprite pos="6,-38" name="Background" sprite="ui_game_popup" height="{trackerheight}" width="240" />
		<grid name="recipeList" rows="8" cols="1" pos="-60,-44" cell_width="300" cell_height="34" repeat_content="true" arrangement="vertical" controller="RecipeTrackerIngredientsList"
			complete_icon="ui_game_symbol_check" incomplete_icon="ui_game_symbol_x" complete_color="[green]" >
			<recipe_ingredient_tracker_entry />
		</grid>
	</window>
	
	<window name="windowTwitch" pos="-305, 200" width="300" height="400" controller="TwitchWindow" anchor="RightCenter" depth="-51" visible="false" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header" >
			<label style="header.name" text="{status_title}" pos="8,-6" width="140" />
			<label depth="2" pos="150,-9" width="140" height="32" text="{status}" justify="right" />
		</panel>
		
		<panel name="cooldownBar" pos="0,-41" height="20" depth="1">
		
			<sprite depth="1" color="[mediumGrey]" sprite="menu_empty3px" pos="0,-1" height="18" globalopacity="false" type="sliced" />
			<sprite depth="9" color="[black]" sprite="menu_empty3px" globalopacity="false" type="sliced" fillcenter="false" />
		
			<filledsprite depth="5" pos="3,-1" width="294" height="18" name="BarContent" color="255,0,0,160" globalopacity="false" type="filled" fill="{cooldownfill}"  />
		</panel>
		
		<panel name="buttonBar" pos="0,-57" height="43" depth="1" >
			<sprite name="backgroundMain" depth="8" sprite="menu_empty3px" pos="0,0" width="300" height="43" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" color="[darkGrey]" type="sliced" />
			<button pos="20,-21" depth="2" name="pauseButton" style="icon32px" sprite="ui_game_symbol_twitch_pause" tooltip_key="TwitchInfo_PauseButton" defaultcolor="[white]" pivot="center" collider_scale="1.5" sound="[paging_click]"/>
			
			<button pos="60,-21" depth="2" name="optionsButton" style="icon32px" sprite="ui_game_symbol_modded" tooltip_key="TwitchInfo_InfoButton" defaultcolor="[white]" pivot="center" collider_scale="1.5" sound="[paging_click]"/>
			
			<button pos="100,-21" depth="2" name="historyButton" style="icon32px" sprite="ui_game_symbol_twitch_history" tooltip_key="TwitchInfo_ActionHistory" defaultcolor="[white]" pivot="center" collider_scale="1.5" sound="[paging_click]"/>
			
			<label pos="160,-9" depth="2" text="{potbalance}" justify="right" width="130" visible="{showpotbalance}" />
		</panel>
		
		<panel name="titleHeader" pos="0,-96" height="43" depth="1" visible="{grouptitlevisible}">
			<sprite name="backgroundMain" depth="8" sprite="menu_empty3px" pos="0,0" width="300" height="43" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" color="[darkestGrey]" type="sliced" />
			<label pos="40,-6" style="header.name" text="{grouptitle}" justify="center" width="215" />
			<button pos="20,-20" depth="2" name="leftButton" style="icon32px" sprite="ui_game_symbol_arrow_left" defaultcolor="[white]" pivot="center" collider_scale="1.5" sound="[paging_click]" visible="{arrowvisible}" />
			<button pos="277,-20" depth="2" name="rightButton" style="icon32px" sprite="ui_game_symbol_arrow_right" defaultcolor="[white]" pivot="center" collider_scale="1.5" sound="[paging_click]" visible="{arrowvisible}" />
		</panel>
		
		<rect name="content" pos="0,-137" height="303" depth="1" pivot="center" visible="{showcontent}">
		
				<sprite color="[darkGrey]" type="sliced" pos="0,0" height="{commandsheight}" />
				
			<grid visible="{showcommands}" depth="0" pos="0,0" width="327" cols="1" cell_height="30" repeat_content="false" arrangement="vertical" controller="TwitchCommandList">
				
				<twitch_command_entry backgroundcolor="[darkGrey]"    index="1" />
				<twitch_command_entry backgroundcolor="[darkestGrey]" index="2" />
				<twitch_command_entry backgroundcolor="[darkGrey]"    index="3" />
				<twitch_command_entry backgroundcolor="[darkestGrey]" index="4" />
				<twitch_command_entry backgroundcolor="[darkGrey]"    index="5" />
				<twitch_command_entry backgroundcolor="[darkestGrey]" index="6" />
				<twitch_command_entry backgroundcolor="[darkGrey]"    index="7" />
				<twitch_command_entry backgroundcolor="[darkestGrey]" index="8" />
				<twitch_command_entry backgroundcolor="[darkGrey]"    index="9" />
				<twitch_command_entry backgroundcolor="[darkestGrey]" index="10" />
			</grid>
			
			<grid visible="{showvotes1}" depth="0" pos="0,0" width="327" cols="1" cell_height="56" repeat_content="false" arrangement="vertical" controller="TwitchVoteList" line_count="1">
				<twitch_vote_entry_one backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="1" />
				<twitch_vote_entry_one backgroundcolor="[darkestGrey]" altbackgroundcolor="[darkGrey]" index="2"/>
				<twitch_vote_entry_one backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="3" />
				<twitch_vote_entry_one backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="4" />
				<twitch_vote_entry_one backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="5" />
			</grid>
			
			<grid visible="{showvotes2}" depth="0" pos="0,0" width="327" cols="1" cell_height="86" repeat_content="false" arrangement="vertical" controller="TwitchVoteList" line_count="2">
				<twitch_vote_entry_two backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="1" />
				<twitch_vote_entry_two backgroundcolor="[darkestGrey]" altbackgroundcolor="[darkGrey]" index="2"/>
				<twitch_vote_entry_two backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="3" />
				<twitch_vote_entry_two backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="4" />
				<twitch_vote_entry_two backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="5" />
			</grid>
			
			<grid visible="{showvotes3}" depth="0" pos="0,0" width="327" cols="1" cell_height="116" repeat_content="false" arrangement="vertical" controller="TwitchVoteList" line_count="3">
				<twitch_vote_entry backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="1" />
				<twitch_vote_entry backgroundcolor="[darkestGrey]" altbackgroundcolor="[darkGrey]" index="2"/>
				<twitch_vote_entry backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="3" />
				<twitch_vote_entry backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="4" />
				<twitch_vote_entry backgroundcolor="[darkGrey]" altbackgroundcolor="[darkestGrey]" index="5" />
			</grid>

			<rect pos="0,{tip_offset}" visible="{show_vote_tip}" height="86">
				<sprite depth="8" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" color="[darkGrey]" type="sliced" />
				<label pos="150,-46" depth="2" text="{vote_tip}" justify="center" width="293" font_size="20" height="70" color="[selectedColor]" pivot="center" />
			</rect>
		</rect>
	</window>
	
	<window name="windowTwitchInfoList" width="530" height="513" panel="Left" cursor_area="true" controller="TwitchEntryListWindow" >
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="{headericon}"/>
			<label style="header.name" text="{headertitle}" width="524" />
		</panel>

		<rect name="content" depth="0" pos="0,-43" height="524">

			<rect depth="3" name="categories" width="530" height="43" pos="6,-6" visible="{showactions}" >
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="530" height="46" color="[black]" type="sliced" fillcenter="false" />

				<sprite color="[mediumGrey]" type="sliced" width="526" pos="-1,0" />
				
				<grid name="actioncategories" pos="20,-20" rows="1" cols="11" width="200" height="43" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
					<category_icon />
				</grid>
				
				<button depth="4" name="allactions" style="icon30px, press, hover" pos="492,-22" sprite="ui_game_symbol_twitch_show_all" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="Show All Actions" sound="[paging_click]" console_enabled="false" />
			</rect>
			
			<rect depth="3" name="categories" width="530" height="43" pos="6,-6" visible="{showvotes}" >
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="530" height="46" color="[black]" type="sliced" fillcenter="false" />

				<sprite color="[mediumGrey]" type="sliced" width="526" pos="-1,0" />
				
				<grid name="votecategories" pos="20,-20" rows="1" cols="9" width="200" height="43" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
					<category_icon />
				</grid>
			</rect>
			
			<rect depth="3" name="categories" width="530" height="43" pos="6,-6" visible="{showactionhistory}" >
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="530" height="46" color="[black]" type="sliced" fillcenter="false" />

				<sprite color="[mediumGrey]" type="sliced" width="526" pos="-1,0" />
				
				<grid name="actionHistoryCategories" pos="20,-20" rows="1" cols="3" width="200" height="43" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
					<category_icon />
				</grid>
			</rect>
			
			<rect depth="3" name="searchControls" width="530" height="43" pos="6,-49">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="530" height="46" color="[black]" type="sliced" fillcenter="false" />

				<sprite color="[mediumGrey]" type="sliced" width="526" pos="-1,0" />
				
				<sprite depth="4" name="searchIcon" style="icon30px" pos="25,-20" sprite="ui_game_symbol_search" pivot="center" />

				<panel pos="50,-6" depth="1" width="370" disableautobackground="true">
					<textfield depth="1" pos="0,0" width="340" height="30" name="searchInput" virtual_keyboard_prompt="vkPromptSearchTerm" search_field="true" close_group_on_tab="true" />
				</panel>

				<panel pos="410,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6" contents_parent="content"/>
				</panel>
			</rect>
			
			<rect depth="3" name="actionHistoryHeader" width="530" height="43" pos="6,-92" visible="{showactionhistory}" >
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="530" height="46" color="[black]" type="sliced" fillcenter="false" />

				<sprite color="[mediumGrey]" type="sliced" width="526" pos="-1,0" />
				
				<label depth="3" pos="10,-8" width="198" font_size="26" text="ACTION" text_key="TwitchInfo_ActionHeader" justify="left" />
				<label depth="3" pos="515,-8" width="88" font_size="26" text="VIEWER" text_key="TwitchInfo_ViewerHeader" justify="right" pivot="topright" />
			</rect>
			
			<rect depth="3" name="categories" width="530" height="43" pos="6,-6" visible="{showleaderboard}" >
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="530" height="46" color="[black]" type="sliced" fillcenter="false" />

				<sprite color="[mediumGrey]" type="sliced" width="526" pos="-1,0" />
				
				<grid name="leaderboardCategories" pos="20,-20" rows="1" cols="9" width="200" height="43" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
					<category_icon />
				</grid>
			</rect>

			<rect depth="3" name="leaderboardHeader" width="530" height="43" pos="6,-92" visible="{showleaderboard}" >
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="530" height="46" color="[black]" type="sliced" fillcenter="false" />

				<sprite color="[mediumGrey]" type="sliced" width="526" pos="-1,0" />
				
				<label depth="3" pos="10,-8" width="198" font_size="26" text="VIEWER" text_key="TwitchInfo_ViewerHeader" justify="left" />
				<label depth="3" pos="515,-8" width="88" font_size="26" text="{leaderboard_header_value}" justify="right" pivot="topright" />
			</rect>

			<grid name="actionList" rows="14" cols="1" pos="6,-92" width="530" height="368" cell_width="390" cell_height="46"  repeat_content="true" arrangement="vertical" normal_color="[iconColor]" disabled_color="[iconColor]" controller="TwitchActionEntryList" visible="{showactions}" >
				<twitch_action_entry name="0" />
			</grid>
			
			<grid name="voteList" rows="14" cols="1" pos="6,-92" width="530" height="368" cell_width="390" cell_height="46"  repeat_content="true" arrangement="vertical" normal_color="[iconColor]" disabled_color="[iconColor]" controller="TwitchVoteInfoEntryList" visible="{showvotes}" >
				<twitch_voteinfo_entry name="0" />
			</grid>
			
			<grid name="actionhistoryList" rows="13" cols="1" pos="6,-135" width="530" height="368" cell_width="390" cell_height="46"  repeat_content="true" arrangement="vertical" normal_color="[iconColor]" disabled_color="[iconColor]" controller="TwitchActionHistoryEntryList" visible="{showactionhistory}" >
				<twitch_action_history_entry  />
			</grid>
			
			<grid name="leaderboardList" rows="14" cols="1" pos="6,-135" width="530" height="368" cell_width="390" cell_height="46"  repeat_content="false" arrangement="vertical" normal_color="[iconColor]" disabled_color="[iconColor]" controller="TwitchLeaderboardEntryList" visible="{showleaderboard}" >
				<twitch_leaderboard_entry backgroundcolor="[darkestGrey]" index="1" />
				<twitch_leaderboard_entry backgroundcolor="[darkGrey]"    index="2" />
				<twitch_leaderboard_entry backgroundcolor="[darkestGrey]" index="3" />
				<twitch_leaderboard_entry backgroundcolor="[darkGrey]"    index="4" />
				<twitch_leaderboard_entry backgroundcolor="[darkestGrey]" index="5" />
				<twitch_leaderboard_entry backgroundcolor="[darkGrey]"    index="6" />
				<twitch_leaderboard_entry backgroundcolor="[darkestGrey]" index="7" />
				<twitch_leaderboard_entry backgroundcolor="[darkGrey]"    index="8" />
				<twitch_leaderboard_entry backgroundcolor="[darkestGrey]" index="9" />
				<twitch_leaderboard_entry backgroundcolor="[darkGrey]"    index="10" />
				<twitch_leaderboard_entry backgroundcolor="[darkestGrey]" index="11" />
				<twitch_leaderboard_entry backgroundcolor="[darkGrey]"    index="12" />
				<twitch_leaderboard_entry backgroundcolor="[darkestGrey]" index="13" />
			</grid>
		</rect>
	</window>

	<window name="windowTwitchInfoDescription" width="653" height="360" panel="Center" controller="TwitchEntryDescriptionWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="{entryicon}"/>
			<label depth="2" pos="345,-8" width="300" height="28" text="{actioncommand}" justify="right" />
			<label style="header.name" text="{entrytitle}" width="500" />
		</panel>
		
		<rect name="content" pos="0,-46" height="314" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="653" height="314" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<label depth="3" name="descriptionText" pos="12,-98" text="{entrydescription}" width="630" height="240" font_size="28" visible="{showaction}" />
			<label depth="3" name="descriptionText" pos="12,-66" text="{entrydescription}" width="630" height="240" font_size="28" visible="{showhistory_action}" />
			<label depth="3" name="descriptionText" pos="12,-43" text="{entrydescription}" width="630" height="240" font_size="28" visible="{showhistory_vote}" />
			<label depth="3" name="descriptionText" pos="12,-43" text="{entrydescription}" width="630" height="240" font_size="28" visible="{showhistory_event}" />
			<label depth="3" name="descriptionText" pos="12,-43" text="{entrydescription}" width="630" height="240" font_size="28" visible="{showvote}" />
			<rect visible="{showstats}">
				<grid depth="0" pos="0,0" width="327" cols="2" cell_width="326" cell_height="30" repeat_content="false" arrangement="horizontal" visible="{showaction}">
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{actiongamestagetitle}" valuecontent="{actiongamestage}" />
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{actionispositivetitle}" valuecontent="{actionispositive}" />
					<player_stats_entry backgroundcolor="[darkGrey]"    textcontent="{actioncooldowntitle}" valuecontent="{actioncooldown}" />
					<player_stats_entry backgroundcolor="[darkGrey]"    textcontent="{actionrandomgrouptitle}" valuecontent="{actionrandomgroup}" />
					<twitch_cost_entry  backgroundcolor="[darkestGrey]" textcontent="{actiondefaultcosttitle}" valuecontent="{actionpointcost}" costcolor="{actioncostcolor}" />
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{actiondiscountcosttitle}" valuecontent="{actiondiscountcost}" />
				</grid>
				<grid depth="0" pos="0,0" width="327" cols="2" cell_width="326" cell_height="30" repeat_content="false" arrangement="horizontal" visible="{showvote}">
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{votestartgamestagetitle}" valuecontent="{votestartgamestage}" />
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{voteendgamestagetitle}" valuecontent="{voteendgamestage}" />
				</grid>
				<grid depth="0" pos="0,0" width="327" cols="2" cell_width="326" cell_height="30" repeat_content="false" arrangement="horizontal" visible="{showhistory_action}">
					<player_stats_entry backgroundcolor="[darkGrey]" textcontent="{actiondefaultcosttitle}" valuecontent="{actionpointcost}" />
					<player_stats_entry backgroundcolor="[darkGrey]" textcontent="{historytargettitle}" valuecontent="{historytarget}" />
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{historytimestamptitle}" valuecontent="{historytimestamp}" />
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{historystatetitle}" valuecontent="{historystate}" />
				</grid>
				<grid depth="0" pos="0,0" width="327" cols="2" cell_width="326" cell_height="30" repeat_content="false" arrangement="horizontal" visible="{showhistory_vote}">
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{historytimestamptitle}" valuecontent="{historytimestamp}" />
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{historystatetitle}" valuecontent="{historystate}" />
				</grid>
				<grid depth="0" pos="0,0" width="327" cols="2" cell_width="326" cell_height="30" repeat_content="false" arrangement="horizontal" visible="{showhistory_event}">
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{historytimestamptitle}" valuecontent="{historytimestamp}" />
					<player_stats_entry backgroundcolor="[darkestGrey]" textcontent="{historystatetitle}" valuecontent="{historystate}" />
				</grid>
				<grid depth="0" pos="0,0" width="653" cols="1" cell_width="653" cell_height="31" repeat_content="false" arrangement="horizontal" visible="{showleaderboard}">
					<twitch_leaderboard_stats_entry backgroundcolor="[darkGrey]" textcontent="{sessionkiller_title}" valuecontent="{leaderboard_sessionkiller}" />
					<twitch_leaderboard_stats_entry backgroundcolor="[darkestGrey]" textcontent="{sessiongood_title}" valuecontent="{leaderboard_goodperson}" />
					<twitch_leaderboard_stats_entry backgroundcolor="[darkGrey]" textcontent="{sessionevil_title}" valuecontent="{leaderboard_badperson}" />
					<twitch_leaderboard_stats_entry backgroundcolor="[darkestGrey]" textcontent="{currentgood_title}" valuecontent="{leaderboard_currentgood}" />
					<twitch_leaderboard_stats_entry backgroundcolor="[darkGrey]" textcontent="{sessionmostbits_title}" valuecontent="{leaderboard_mostbits}" />
					<twitch_leaderboard_stats_entry_press backgroundcolor="[darkestGrey]" textcontent="{sessiontotalbits_title}" valuecontent="{leaderboard_totalbits}" />
					<twitch_leaderboard_stats_entry backgroundcolor="[darkGrey]" textcontent="{sessiontotalgood_title}" valuecontent="{leaderboard_totalgood}" />
					<twitch_leaderboard_stats_entry backgroundcolor="[darkestGrey]" textcontent="{sessiontotalbad_title}" valuecontent="{leaderboard_totalbad}" />
					<twitch_leaderboard_stats_entry backgroundcolor="[darkGrey]" textcontent="{sessiontotalactions_title}" valuecontent="{leaderboard_totalactions}" />
					<twitch_leaderboard_stats_entry backgroundcolor="[darkestGrey]" textcontent="{sessionlargestpimppot_title}" valuecontent="{leaderboard_largestpot}" />
					
				</grid>
			</rect>
			
			<rect visible="{showempty}">
				<label pos="6,-110" depth="3" name="descriptionText" width="643" height="300" text="{emptytext}" justify="center" pivot="left" font_size="28" /> <!-- text_key="xuiDescriptionNotAvailable" -->
			</rect>
		</rect>

		
		<simplebutton name="btnDecrease" depth="3" pos="0,-283" width="326" height="36" font_size="24" caption_key="{decreasepricetext}" visible="{showaction}" parse_actions="true" />
		<simplebutton name="btnIncrease" depth="3" pos="327,-283" width="326" height="36" font_size="24" caption_key="{increasepricetext}" visible="{showaction}" parse_actions="true" />
		
		<rect name="btnEnable" depth="3" pos="0,-323" height="36" visible="{showenable}">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" width="653" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="650" height="32" color="[darkGrey]" type="sliced" />
			<rect depth="3" pos="1,-3" width="650" height="31">
				<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />

				<!-- <sprite depth="2" name="sprOnOff" width="24" height="24" pos="25,-2" color="[iconColor]" sprite="ui_game_symbol_electric_switch"/> -->
				<label depth="2" name="lblOnOff" pos="0,-4" justify="center" text="{enablebuttontext}"  font_size="24" parse_actions="true" />
			</rect>
		</rect>
		
		<simplebutton name="btnRefund" depth="3" pos="0,-283" width="653" height="36" font_size="24" caption="{refundtext}" enabled="{enablerefund}" visible="{showhistory_action}" />
		<simplebutton name="btnRetry" depth="3" pos="0,-323" width="653" height="36" font_size="24" caption="{retrytext}" enabled="{enableretry}" visible="{showhistory_retry}" />
	</window>
	
	<window name="windowTwitchInfoHowTo" width="653" height="340" panel="Center" cursor_area="true" controller="TwitchHowToWindow" > 
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			
			<button pos="20,-23" depth="2" name="leftButton" style="icon32px" sprite="ui_game_symbol_arrow_left" defaultcolor="[white]" pivot="center" collider_scale="1.5" sound="[paging_click]" />
			<button pos="634,-23" depth="2" name="rightButton" style="icon32px" sprite="ui_game_symbol_arrow_right" defaultcolor="[white]" pivot="center" collider_scale="1.5" sound="[paging_click]" />
			
			<label depth="3" name="descriptionText" pos="8,-6" text="{tipheader}: {tiptitle}" color="[selectedColor]" width="630" justify="center" font_size="32" />
		</panel>
		
		
		<rect name="content" pos="0,-46" height="364" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="653" height="364" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<label depth="3" name="descriptionText" pos="8,-8" text="{tiptext}" width="630" height="357" font_size="28" />
		</rect>
	</window>
	
	<window name="windowQuestOffer" width="603" height="413" pos="-300, 150" controller="QuestOfferWindow" anchor="CenterCenter" pivot="center" depth="15" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header" >
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="{questicon}"/>
			<label style="header.name" text="{questname}" width="450" />
			<label depth="2" pos="395,-10" width="200" height="28" text="{tieradd}" justify="right" upper_case="true" />
			<sprite depth="2" name="windowIcon" style="icon32px" pos="565,-5" sprite="ui_game_symbol_quest_limited" color="[red]" visible="{tieraddlimited}" />
			<!-- <button pos="550,-5" depth="2" name="closeButton" style="icon32px" sprite="ui_game_symbol_x" defaultcolor="[red]" /> -->
		</panel>
		<panel name="content" pos="0,-46" height="329" depth="1" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="603" height="329" color="[black]" type="sliced" fillcenter="false" />
			<label depth="3" name="descriptionText" pos="6,-5" text="{questoffer}" width="590" height="320" font_size="30" />

			<!-- <button pos="200,-220" depth="2" name="acceptButton" style="icon32px" sprite="ui_game_symbol_check" defaultcolor="[green]"/>
			<button pos="400,-220" depth="2" name="declineButton" style="icon32px" sprite="ui_game_symbol_x" defaultcolor="[red]"/> -->
		</panel>

		<rect name="btnAccept" depth="3" pos="0, -378" height="36" disableautobackground="true">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" width="303" />
			<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />
			<rect depth="3" pos="0,-3" width="303" height="31">
				<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>
				<sprite depth="2" name="windowIcon" width="24" height="24" pos="46,-3" sprite="ui_game_symbol_check" color="[black_half_alpha]"/>
				<sprite depth="2" name="windowIcon" width="24" height="24" pos="44,-3" sprite="ui_game_symbol_check" color="[black_half_alpha]"/>

				<sprite depth="2" name="windowIcon" width="24" height="24" pos="44,-1" sprite="ui_game_symbol_check" color="[black_half_alpha]"/>
				<sprite depth="2" name="windowIcon" width="24" height="24" pos="46,-1" sprite="ui_game_symbol_check" color="[black_half_alpha]"/>

				<sprite depth="2" name="windowIcon" width="24" height="24" pos="45,-2" color="[iconColor]" sprite="ui_game_symbol_check"/>
				<label depth="2" name="windowName" pos="0,-2" justify="center" text="ACCEPT" text_key="xuiAccept" effect="outline" />
			</rect>
		</rect>
		<rect name="btnDecline" depth="3" pos="300, -378" height="36" disableautobackground="true">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" width="303" />
			<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />
			<rect depth="3" pos="0,-3" width="303" height="31">
				<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>
				<sprite depth="2" name="windowIcon" width="24" height="24" pos="46,-3" sprite="ui_game_symbol_x" color="[black_half_alpha]"/>
				<sprite depth="2" name="windowIcon" width="24" height="24" pos="44,-3" sprite="ui_game_symbol_x" color="[black_half_alpha]"/>

				<sprite depth="2" name="windowIcon" width="24" height="24" pos="44,-1" sprite="ui_game_symbol_x" color="[black_half_alpha]"/>
				<sprite depth="2" name="windowIcon" width="24" height="24" pos="46,-1" sprite="ui_game_symbol_x" color="[black_half_alpha]"/>

				<sprite depth="2" name="windowIcon" width="24" height="24" pos="45,-2" color="[iconColor]" sprite="ui_game_symbol_x"/>
				<label depth="2" name="windowName" pos="0,-2" justify="center" text="DECLINE" text_key="xuiDecline" effect="outline" />
			</rect>
		</rect>
	</window>

	<window name="windowQuestTurnInDescription" width="653" height="312" panel="Left" cursor_area="true" controller="QuestTurnInDetailsWindow">
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_quest"/>
			<label style="header.name" text="{questtitle}" width="500" />
			<!-- <label depth="2" pos="545,-8" width="100" height="28" text="{sharedbyname}" color="[lightGrey]" justify="right" upper_case="true" /> -->
		</panel>
		<rect name="content" pos="0,-46" width="150" height="266" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="150" height="266" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[lightGrey]" type="sliced" />
			<sprite depth="8" name="portrait" pos="6,-6" width="138" height="138" sprite="{npcportrait}" type="sliced" />
			<sprite depth="8" name="portrait" sprite="menu_empty3px" pos="6,-6" width="138" height="138" color="[black]" type="sliced" fillcenter="false" />

			<label pos="6,-146" depth="3" name="traderName" width="100%" height="30" text="{npcname}" font_size="28" />
			<!-- <label pos="6,-186" depth="3" name="traderRepTitle" width="100%" height="30" text="TRADER REP:" font_size="28" /> -->
			<!-- <label pos="6,-213" depth="3" name="traderRep" width="100%" height="30" text="TRUSTED" font_size="28" /> -->
		</rect>
		<rect name="content" pos="147,-46" height="266" width="503" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="503" height="266" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<label depth="3" name="descriptionText" pos="8,-8" text="{questcompletetext}" width="480" height="205" font_size="28" overflow="resizeheight" />
		</rect>
	</window>

	<window name="windowQuestTurnInRewards" width="653" height="454" panel="Left" cursor_area="true" controller="QuestTurnInRewardsWindow" > <!--item_format="{0}: [DECEA3]{1}[-]" item_bonus_format="{0}: [DECEA3]{1}[-] ([DECEA3]{2}[-] {3})"-->
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_treasure"/>
			<label style="header.name" text_key="xuiRewards" width="500" />
			<label depth="2" pos="545,-8" width="100" height="28" text="{sharedbyname}" color="[lightGrey]" justify="right" upper_case="true" />
		</panel>
		<rect name="content" pos="0,-46" height="70" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="653" height="418" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<label pos="10,-6" depth="3" height="30" text="{questxptitle}: {questxpreward}" font_size="28" visible="{questhasxpreward}" />
			<label pos="10,-32" depth="3" height="30" text="{questitemrewardstitle}: {questitemrewards}" font_size="28" visible="{questhasitemrewards}" />
		</rect>

		<rect pos="0,-111" height="50" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="653" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[lightGrey]" type="sliced" />
			<label pos="10,-10" depth="3" text="{chosentitle}" font_size="28" />
		</rect>

		<rect name="rectOptions" height="150" width="653" depth="1">
			<grid name="gridOptions" rows="5" cols="1" pos="0,-158" width="653" cell_height="47" cell_width="650" arrangement="vertical">
				<quest_turnin_entry pos="0,0" />
				<quest_turnin_entry pos="0,-50" />
				<quest_turnin_entry pos="0,-92" />
				<quest_turnin_entry pos="0,-142" />
				<quest_turnin_entry pos="0,-192" />
			</grid>
		</rect>

		<rect name="rectAccept" pos="0,-394" height="70" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="653" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[lightGrey]" type="sliced" />

			<rect name="btnAccept" depth="3" pos="239,-17" width="175" height="36">
				<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />

				<label depth="2" name="lblOnOff" pos="0,-6" justify="center" text="{acceptbuttontext}" font_size="24" /> <!-- text_key="xuiTurnOn" -->
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			</rect>

		</rect>
	</window>

	<window name="GamepadCallouts" width="500" height="65" pos="0,0" anchor="LeftTop" controller="XUiC_GamepadCalloutWindow" />


	<window name="windowChallengeList" width="650" height="513" panel="Left" controller="ChallengeEntryListWindow" cursor_area="true" >
		<panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_pen"/>
			<label style="header.name" text="Challenges" text_key="xuiChallenges" />
		</panel>

		<rect name="content" depth="0" pos="0,-43" height="464">

			<rect depth="3" name="searchControls" width="650" height="43" pos="6,-6">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="650" height="46" color="[black]" type="sliced" fillcenter="false" />

				<sprite color="[darkGrey]" type="sliced" width="646" pos="-1,0" />
				
				<grid name="categories" pos="23,-21" rows="1" cols="15" width="390" height="43" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
					<category_icon />
				</grid>
			</rect>

			<grid name="newList" rows="6" cols="1" pos="6,-49" width="650" height="368" cell_width="650" cell_height="111" repeat_content="true" arrangement="vertical" controller="ChallengeGroupList">
				<challenge_list_entry name="0" />
			</grid>
			
			<grid name="weatherList" display_key="weather" rows="4" cols="1" pos="6,-49" width="650" height="368" cell_width="650" cell_height="166" repeat_content="true" arrangement="vertical" controller="ChallengeGroupList">
				<weather_challenge_list_entry name="0" />
			</grid>
		</rect>
	</window>
	
	<window name="windowChallengeEntryDescription" width="553" height="600" panel="Center" controller="ChallengeEntryDescriptionWindow" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_pen"/>
			<label depth="2" pos="345,-8" width="100" height="28" text="{timestamp}" color="[lightGrey]" justify="right" upper_case="true" />
			<label style="header.name" text_key="challenge" width="400" />
		</panel>
		<rect name="content" pos="0,-46" height="711" depth="1">
		
			<!-- <sprite depth="6" name="backgroundMain" sprite="menu_empty3px" width="100" height="103" color="[black]" type="sliced" fillcenter="false" />  -->
			<sprite depth="1" pos="2,-2" name="preview" width="97" height="100" color="[darkGrey]" type="sliced" />
			<sprite depth="3" pos="50,-50" width="80" height="80" sprite="{entryicon}" pivot="center" foregroundlayer="true"/>

			<button pos="520,-50" depth="12" name="gotoButton" style="icon32px" sprite="ui_game_symbol_go_to_button" defaultcolor="[white]" pivot="center" collider_scale="1.5" sound="[paging_click]" visible="{showgoto}"/>

			<rect name="descriptionBox" depth="1" pos="97,0" width="456" height="100" >
				<!-- <sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/> -->
				<!-- <sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="456" height="103" color="[black]" type="sliced" fillcenter="false" /> -->
				<label depth="2" pos="12,-18" width="538" height="93" text="{entrytitle}"/>
				<label depth="2" pos="12,-46" width="538" height="93" text="{entrygroup}" font_size="22" color="[disabledLabelColor]" />
			</rect>
			
			<rect name="detailsBox" depth="1" pos="0,-100" width="553" height="179" >
				<!-- <sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/> -->
				<!-- <sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="453" height="182" color="[black]" type="sliced" fillcenter="false" /> -->
				<label depth="2" name="descriptionText" pos="10,-6" width="538" height="172" font_size="22" text="{entryshortdescription}" parse_actions="true" actions_default_format="( [e61a16]###[-] )"/>
			</rect>

			<grid name="objectives" pos="0,-173" rows="12" width="520" height="520" cell_width="520" cell_height="40" arrangement="vertical">
			
				<rect depth="2" width="520" height="30" visible="{hasobjective1}">
					<rect pos="15,0">
						<sprite depth="1" name="border" color="0,0,0,150" height="30" type="sliced" />
						<sprite depth="2" name="background" color="0,0,0,140" type="sliced" />

						<filledsprite depth="3" name="background" color="110,110,110,128" type="filled" fill="1" />

						<filledsprite depth="4" name="BarContent" color="0,128,128,255" type="filled" fill="{objectivefill1}" />
						<label depth="6" name="TextContent" pos="0,-4" font_size="20" color="[white]" justify="center" text="{objective1}"/>

						<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
						
					</rect>
				</rect>
				
				<rect depth="2" width="520" height="30" visible="{hasobjective2}" >
					<rect pos="15,0">
						<sprite depth="1" name="border" color="0,0,0,150" height="30" type="sliced" />
						<sprite depth="2" name="background" color="0,0,0,140" type="sliced" />

						<filledsprite depth="3" name="background" color="110,110,110,128" type="filled" fill="1" />

						<filledsprite depth="4" name="BarContent" color="0,128,128,255" type="filled" fill="{objectivefill2}" />
						<label depth="6" name="TextContent" pos="0,-4" font_size="20" color="[white]" justify="center" text="{objective2}"/>

						<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
					</rect>
				</rect>
				<rect depth="2" width="520" height="30" visible="{hasobjective3}" >
					<rect pos="15,0">
						<sprite depth="1" name="border" color="0,0,0,150" height="30" type="sliced" />
						<sprite depth="2" name="background" color="0,0,0,140" type="sliced" />

						<filledsprite depth="3" name="background" color="110,110,110,128" type="filled" fill="1" />

						<filledsprite depth="4" name="BarContent" color="0,128,128,255" type="filled" fill="{objectivefill3}" />
						<label depth="6" name="TextContent" pos="0,-4" font_size="20" color="[white]" justify="center" text="{objective3}"/>

						<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
					</rect>
				</rect>
				<rect depth="2" width="520" height="30" visible="{hasobjective4}" >
					<rect pos="15,0">
						<sprite depth="1" name="border" color="0,0,0,150" height="30" type="sliced" />
						<sprite depth="2" name="background" color="0,0,0,140" type="sliced" />

						<filledsprite depth="3" name="background" color="110,110,110,128" type="filled" fill="1" />

						<filledsprite depth="4" name="BarContent" color="0,128,128,255" type="filled" fill="{objectivefill4}" />
						<label depth="6" name="TextContent" pos="0,-4" font_size="20" color="[white]" justify="center" text="{objective4}"/>

						<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
					</rect>
				</rect>
				<rect depth="2" width="520" height="30" visible="{hasobjective5}" >
					<rect pos="15,0">
						<sprite depth="1" name="border" color="0,0,0,150" height="30" type="sliced" />
						<sprite depth="2" name="background" color="0,0,0,140" type="sliced" />

						<filledsprite depth="3" name="background" color="110,110,110,128" type="filled" fill="1" />

						<filledsprite depth="4" name="BarContent" color="0,128,128,255" type="filled" fill="{objectivefill5}" />
						<label depth="6" name="TextContent" pos="0,-4" font_size="20" color="[white]" justify="center" text="{objective5}"/>

						<sprite depth="8" name="border" color="0,0,0,255" type="sliced" fillcenter="false"/>
					</rect>
				</rect>
			
			
				<rect name="rewardBox" depth="1" pos="0,-300" width="553" height="50" >
					<!-- <sprite depth="1" name="background" color="[mediumGrey]" type="sliced"/> -->
					<!-- <sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="453" height="182" color="[black]" type="sliced" fillcenter="false" /> -->
					<label depth="2" name="descriptionText" pos="10,-3" width="538" height="172" justify="center" font_size="22" text="{rewardtitle}: [DECEA3]{rewardtext}[-]" visible="{hasreward}"/>
				</rect>
				
				<rect name="ChallengeBox5" depth="1" pos="0,-383" width="553" height="216" visible="{has5objective}" >
					<sprite depth="1" name="background" color="0,0,0,145" type="sliced"/>
					<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="553" height="216" color="[black]" type="sliced" fillcenter="false" />
					<label depth="3" pos="9, -6" text="{entrydescription}"  width="530" height="213" font_size="26" parse_actions="true" actions_default_format="( [e61a16]###[-] )" />
				</rect>
				
				<rect name="ChallengeBox4" depth="1" pos="0,-383" width="553" height="256" visible="{has4objective}" >
					<sprite depth="1" name="background" color="0,0,0,145" type="sliced"/>
					<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="553" height="256" color="[black]" type="sliced" fillcenter="false" />
					<label depth="3" pos="9, -6" text="{entrydescription}"  width="530" height="253" font_size="26" parse_actions="true" actions_default_format="( [e61a16]###[-] )" />
				</rect>

				<rect name="ChallengeBox3" depth="1" pos="0,-383" width="553" height="296" visible="{has3objective}" >
					<sprite depth="1" name="background" color="0,0,0,145" type="sliced"/>
					<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="553" height="296" color="[black]" type="sliced" fillcenter="false" />
					<label depth="3" pos="9, -6" text="{entrydescription}"  width="530" height="293" font_size="26" parse_actions="true" actions_default_format="( [e61a16]###[-] )" />
				</rect>
				
				<rect name="ChallengeBox2" depth="1" pos="0,-383" width="553" height="336" visible="{has2objective}" >
					<sprite depth="1" name="background" color="0,0,0,145" type="sliced"/>
					<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="553" height="336" color="[black]" type="sliced" fillcenter="false" />
					<label depth="3" pos="9, -6" text="{entrydescription}"  width="530" height="333" font_size="26" parse_actions="true" actions_default_format="( [e61a16]###[-] )" />
				</rect>
				
				<rect name="ChallengeBox1" depth="1" pos="0,-383" width="553" height="376" visible="{has1objective}" >
					<sprite depth="1" name="background" color="0,0,0,145" type="sliced"/>
					<sprite depth="6" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="553" height="376" color="[black]" type="sliced" fillcenter="false" />
					<label depth="3" pos="9, -6" text="{entrydescription}"  width="530" height="373" font_size="26" parse_actions="true" actions_default_format="( [e61a16]###[-] )" />
				</rect>
			
			</grid>
		
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="553" height="711" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			
			<simplebutton name="btnTrack" depth="3" pos="12,-667" width="250" height="36" font_size="24" caption="Track ([action:gui:GUI D-Pad Left])" visible="{haschallenge}" parse_actions="true" enabled="{enabletrack}"  gamepad_selectable="false"/>
			<simplebutton name="btnComplete" depth="3" pos="290,-667" width="250" height="36" font_size="24" caption="Complete ([action:gui:GUI D-Pad Up])" visible="{haschallenge}" parse_actions="true" enabled="{enableredeem}"  gamepad_selectable="false"/>
			
			<rect visible="{showempty}">
				<label pos="15,-270" depth="3" name="descriptionText" width="530" height="540" text="DESCRIPTION NOT AVAILABLE AT THIS TIME." text_key="xuiSelectChallengeInfo" justify="Left" pivot="left" font_size="28" />
			</rect>
		</rect>

	</window>

	<window name="windowTrader"  width="645" height="688" panel="Left" controller="TraderWindow" cursor_area="true" >

		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="ui_game_symbol_map_trader"/>
			<player_name pos="42,0" width="350" height="32" />
			<label depth="2" pos="340,-8" width="300" height="28" text="{restocklabel}: {timeleft}" justify="right" visible="{showrestock}" />

			<label pos="600, -6" depth="2" name="availableMoney" width="64" height="32" text="{availablemoney}" font_size="32" justify="right" pivot="topright" visible="{isowner}"/>
			<sprite pos="638, -5" depth="2" name="coinIcon" style="icon32px" sprite="ui_game_symbol_coin" pivot="topright" visible="{isowner}"/>
		</panel>

		<panel name="content" width="100%" height="650" depth="1" pos="0,-43" on_scroll="true" disableautobackground="true">

			<rect depth="2" name="categorySelector" width="645" height="44" pos="3,-6">
				<sprite name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="645" height="49" color="[black]" type="sliced" fillcenter="false" />
				<sprite color="[mediumGrey]" type="sliced" width="639" />
				<grid name="categories" pos="23,-21" rows="1" cols="15" width="390" height="43" cell_width="43" cell_height="43" repeat_content="true" controller="CategoryList">
					<category_icon />
				</grid>
			</rect>

			<rect depth="3" name="searchControls" width="645" height="44" pos="3,-52">
				<sprite name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="645" height="49" color="[black]" type="sliced" fillcenter="false" />
				<sprite color="[darkGrey]" type="sliced" width="639" />

				<button depth="4" name="collect" style="icon30px, press" pos="22,-22" sprite="ui_game_symbol_coin" pivot="center" tooltip="COLLECT" tooltip_key="btnCollect" sound="[paging_click]" visible="{isownerorrentable}" />
				<button depth="4" name="takeAll" style="icon30px, press" pos="65,-22" sprite="ui_game_symbol_hand" pivot="center" tooltip="TAKE ALL" tooltip_key="btnTakeAll" sound="[paging_click]" visible="{isownerorrentable}" />
				<button depth="4" name="rent" style="icon30px, press" pos="108,-22" sprite="ui_game_symbol_vending" pivot="center" tooltip="RENT" tooltip_key="lblContextActionRent" sound="[paging_click]" visible="{isrentable|once}" />
				
				<button depth="4" name="showAll" style="icon30px, press, hover" pos="293,-22" sprite="ui_game_symbol_computer" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="Show All" sound="[paging_click]" visible="{is_debug}" />

				<label depth="5" pos="135,-8" width="180" height="28" text="{renttimeleft}" visible="{isrenter}" />

				<panel pos="334,0" width="200" disableautobackground="true">
					<sprite depth="4" name="searchIcon" style="icon30px" pos="0,-22" sprite="ui_game_symbol_search" pivot="center"/>
					<textfield depth="5" name="searchInput" pos="22,-7" width="140" height="30" virtual_keyboard_prompt="vkPromptSearchTerm" search_field="true" close_group_on_tab="true" />
				</panel>

				<panel pos="516,0" width="104" height="43" disableautobackground="true">
					<pager name="pager" pos="4,-6" contents_parent="content"/>
				</panel>
			</rect>

			<rect name="tableHeader" pos="2,-98" width="642" height="43">
				<sprite depth="1" name="background" color="[lightGrey]" type="sliced"/>

				<rect depth="1" width="416" height="40">
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-2,3" width="421" height="46" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="1" pos="3,-3" style="icon32px" sprite="ui_game_symbol_shopping_cart"/>
					<label depth="1" pos="40,-5" text_key="xuiProductName" width="240"/>
				</rect>

				<rect depth="1" pos="419,0" width="120" height="40" >
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="126" height="46" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="1" pos="3,-3" style="icon32px" sprite="ui_game_symbol_diamond"/>
					<label depth="1" pos="40,-5" text_key="xuiQuality" width="70"/>
				</rect>

				<rect depth="1" pos="542,0" width="97" height="40">
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="104" height="46" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="1" pos="3,-3" style="icon32px" sprite="ui_game_symbol_coin"/>
					<label depth="1" pos="40,-5" text_key="xuiCost" width="55"/>
				</rect>

				<!-- <rect depth="1" pos="585,0" width="149" height="40">
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="154" height="46" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="1" pos="3,-3" style="icon32px, press, hover" sprite="ui_game_symbol_check"/>
					<label depth="1" pos="42,-8" text="Required" text_key="xuiRequired" width="100"/>
				</rect> -->
			</rect>

			<grid name="items" rows="13" cols="1" pos="3,-141" width="639" height="552" cell_width="390" cell_height="46" repeat_content="true" arrangement="vertical" controller="TraderItemList" >
				<trader_item name="0"/>
			</grid>
		</panel>
	</window>

	<window name="windowRespondentName" pos="0,100" width="500" height="20" anchor="CenterBottom" controller="DialogRespondentName">
		<rect name="content" depth="1" pivot="center" >
			<!-- <sprite pos="4,-5" depth="2" name="windowIcon" style="icon32px" sprite="ui_game_symbol_map_trader"/> -->
			<label style="subtitle" text="{respondentname}" color="[white]" justify="center" pivot="center" />
		</rect>
	</window>

	<window name="windowStatement" pos="0,85" width="1000" height="60" anchor="CenterBottom" controller="DialogStatementWindow">
		<rect name="content" depth="1" pivot="center">
			<sprite depth="1" name="backgroundSprite" pos="-500,-5" color="25,25,25,150" />
			<label depth="3" name="statementLabel" pos="-500,-5" text="{statement}" font_size="30" overflow="resizeheight" justify="center"/>
		</rect>
	</window>

	<window name="windowResponses" pos="-825,10" width="775" height="460" anchor="RightCenter" cursor_area="true" controller="DialogResponseList">
		<sprite depth="1" name="background" sprite="ui_game_text_body_back" />
		<label name="lblName" style="subtitle" text="{respondentname}" color="[selectedColor]" justify="left" depth="2" pos="12,-6" />
		<grid name="items" pos="3,-46" rows="10" cols="1" width="800" height="400" cell_width="800" cell_height="40" repeat_content="true" arrangement="vertical">
			<response_entry id="0" />
		</grid>
	</window>

	<window name="windowSignEditMultiline" pos="400, 83" width="306" height="166" panel="right" controller="SignWindow" cursor_area="true">
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_pen"/>
			<label style="header.name" text="SIGN" text_key="xuiSign" width="100" />
		</panel>
		<rect name="content" pos="0,-46" height="117" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="306" height="117" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<textfield name="input1" pos="6,-6" width="294" height="105" font_size="30" on_return="NewLine" character_limit="50" virtual_keyboard_prompt="vkPromptSignText" open_vk_on_open="false" focus_on_open="true" close_group_on_tab="true" clear_button="true" />
		</rect>
		<rect name="btnClose" depth="3" pos="0, -161" height="42" >
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="152" height="32" color="[darkGrey]" type="sliced" />
			<rect depth="3" pos="0,0" height="42">
				<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>

				<label depth="2" name="windowName" pos="0,-1" justify="center" text="CLOSE" text_key="xuiClose" font_size="36" />
			</rect>
		</rect>
	</window>

	<window name="windowSignEditSeparateLines" pos="400, 83" width="306" height="166" panel="right" controller="SignWindow" cursor_area="true">
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_pen"/>
			<label style="header.name" text="SIGN" text_key="xuiSign" width="100" />
		</panel>
		<rect name="content" pos="0,-46" height="124" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="306" height="124" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<textfield name="input1" pos="6,-6" width="294" height="32" font_size="30" character_limit="16" virtual_keyboard_prompt="vkPromptSignText" open_vk_on_open="false" focus_on_open="false" clear_button="false"/>
			<textfield name="input2" pos="6,-46" width="294" height="32" font_size="30" character_limit="16" virtual_keyboard_prompt="vkPromptSignText" open_vk_on_open="false" focus_on_open="false" clear_button="false"/>
			<textfield name="input3" pos="6,-86" width="294" height="32" font_size="30" character_limit="16" virtual_keyboard_prompt="vkPromptSignText" open_vk_on_open="false" focus_on_open="false" clear_button="false"/>
		</rect>
		<rect name="btnClose" depth="3" pos="0, -170" height="42" >
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="152" height="32" color="[darkGrey]" type="sliced" />
			<rect depth="3" pos="0,0" height="42">
				<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>

				<label depth="2" name="windowName" pos="0,-1" justify="center" text="CLOSE" text_key="xuiClose" font_size="36" />
			</rect>
		</rect>
	</window>

	<window name="windowKeypadEdit" pos="-150, 60" width="300" height="120" anchor="CenterCenter" controller="KeypadWindow" cursor_area="true">
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_pen"/>
			<label style="header.name" text_key="xuiKeypad" width="200" />
		</panel>
		<rect name="content" pos="0,-46" height="50" depth="1">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" color="[black]" type="sliced" fillcenter="false" />
			<sprite color="[darkGrey]" type="sliced" />
			<textfield name="txtPassword" depth="2" pos="10,-8" width="280" height="32" clear_on_open="true" open_vk_on_open="false" focus_on_open="true" character_limit="20" />
		</rect>
		<simplebutton name="btnCancel" depth="3" pos="0, -94" width="150" height="36" font_size="32" caption_key="xuiCancel" />
		<simplebutton name="btnOk" depth="3" pos="300, -94" pivot="right" width="150" height="36" font_size="32" caption_key="xuiSubmit" />
	</window>

	<!--
	<window name="windowRWGPreview" width="840" height="702" panel="Center">
		<panel name="header" pos="0,0" height="43" width="840" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3">
			<label style="header.name" text="PREVIEW" text_key="xuiPreview" />
		</panel>
		<panel pos="0,-46" size="840,702" depth="2" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" style="hover, press, scroll, drag" controller="WorldGenerationPreviewWindow">
			<button name="reload" depth="101" pos="800,-6" sprite="server_refresh" style="icon32px,press,hover" tooltip="Reload Data" tooltip_key="lblReloadArchetypeXML" />
			<texture depth="100" name="worldPreview" material="Materials/Transparent Colored" size="840,702" globalopacity="false"/>
			<text_area/>

		</panel>
	</window>
	-->

	<window name="serviceInfoPanel" width="603" height="392" controller="ServiceInfoWindow" panel="Center" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="{servicegroupicon}"/>
			<label depth="2" name="windowName" pos="39,-6" width="500" height="32" text="{servicename}" font_size="32" />
			<label depth="2" pos="350,-8" width="225" height="28" text="{pricelabel} {servicecost}" color="[mediumGrey]" justify="right" />
			<sprite depth="4" name="costIcon" sprite="ui_game_symbol_coin" size="24,24" pos="577,-10" color="[white]" foregroundlayer="true" />
		</panel>

		<rect name="contentInfo" height="346" depth="1" pos="0,-46" >
			<sprite depth="5" name="backgroundMain" sprite="menu_empty3px" width="603" height="345" color="[black]" type="sliced" fillcenter="false" />
			<rect depth="1" pos="3,0" name="preview" width="147" height="150">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="153" height="153" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" color="[darkGrey]" pos="0,0" type="sliced" globalopacity="true" />
				<sprite depth="2" name="servicePreview" width="83" height="83" atlas="UIAtlas" sprite="{serviceicon}" color="{serviceicontint}" pos="33,-30" foregroundlayer="true"/>
			</rect>

			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,-150" width="153" height="196" color="[black]" type="sliced" fillcenter="false" />
			<rect pos="3,-153" width="147" height="100%" >
				<grid name="itemActions" rows="4" cols="1" pos="0,0" width="147" height="100%" cell_width="147" cell_height="42" controller="ItemActionList"
					repeat_content="true" visible="false">
					<item_action_entry />
				</grid>
			</rect>

			<sprite depth="3" name="fillerBackground" pos="3,-321" height="22" width="147" color="[mediumGrey]" type="sliced"/>

			<rect depth="1" pos="153,0" name="description" width="447" height="198">
				<sprite depth="1" color="[mediumGrey]" type="sliced" globalopacity="true" />
				<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="453" height="201" color="[black]" type="sliced" fillcenter="false" />
				<label depth="3" name="statText" pos="6,-2" width="254" height="100%" text="{servicestats}" />
			</rect>

			<rect depth="2" pos="153,-200" name="description" width="447" height="143">
				<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" />
				<sprite depth="5" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="453" height="148" color="[black]" type="sliced" fillcenter="false" />
				<label depth="3" name="descriptionText" pos="6,-5" text="{servicedescription}"  width="440" height="137" />
			</rect>

		</rect>
	</window>

	<window name="windowPowerSourceStats" width="228" height="312" panel="Left" controller="PowerSourceStats" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="{powersourceicon}"/>
			<label style="header.name.shrink" text="STATS" text_key="xuiStats" />
		</panel>

		<rect name="content" depth="0" pos="0,-46" height="234">
			<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" color="[darkGrey]" type="sliced" width="228" height="197" pos="0,-3" />
			<rect depth="2" pos="6,-5">
				<grid name="stats" rows="5" cols="1" pos="3,-5" cell_width="223" cell_height="30" repeat_content="false" >
					<panel height="30" width="340" disableautobackground="true" visible="{showfuel}">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_gas"/>
						<label depth="1" width="110" pos="30,-2" name="lblSpeed" font_size="22" text="{fueltitle|once}: [DECEA3]{fuel}/{maxfuel}[-]" />

						<sprite depth="2" width="70" pos="135, -7" height="10" type="sliced" color="[black]" visible="false"/>
						<sprite depth="2" width="68" pos="136, -8" height="8" type="sliced" color="[mediumGrey]" visible="false"/>
						<sprite depth="2" name="sprFillPotential" width="68" pos="136, -9" height="6" type="filled" color="[beige]" fill="{potentialfuelfill}" visible="false"/>
						<sprite depth="2" name="sprFuelFill" width="68" pos="136, -8" height="8" type="filled" color="181,57,57" fill="{fuelfill}" visible="false" />
					</panel>
					<panel height="30" width="340" disableautobackground="true">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_electric_max_power"/>
						<label depth="1" width="180" pos="30,-2" name="lblNoise" font_size="22" text="{maxoutputtitle|once}: [DECEA3]{maxoutput}w[-]" />
					</panel>
					<panel height="30" width="340" disableautobackground="true">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_electric_power"/>
						<label depth="1" width="110" pos="30,-2" name="lblProtection" font_size="22" text="{powertitle|once}: [DECEA3]{power}w[-]" />

						<sprite depth="2" width="70" pos="135, -7" height="10" type="sliced" color="[black]" />
						<sprite depth="2" width="68" pos="136, -8" height="8" type="sliced" color="[mediumGrey]" />
						<sprite depth="2" name="sprEnergyFill" width="68" pos="136, -8" height="8" type="filled" color="255,255,0" fill="{powerfill}" />
					</panel>

					<!--<panel height="30" width="340" disableautobackground="true">
						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_seats"/>
						<label depth="1" width="180" pos="30,-2" name="lblPassengers" font_size="22" text="{passengersTitle}: [DECEA3]{passengers|once}[-]" />
					</panel> -->
				</grid>
			</rect>
			<rect name="btnOn" depth="3" pos="0, -198" height="36" >
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />
				<rect depth="3" pos="1,-3" width="224" height="31">
					<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="11,-3" sprite="ui_game_symbol_electric_switch" color="[black_half_alpha]"/>
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="9,-3" sprite="ui_game_symbol_electric_switch" color="[black_half_alpha]"/>

					<sprite depth="2" name="windowIcon" width="24" height="24" pos="9,-1" sprite="ui_game_symbol_electric_switch" color="[black_half_alpha]"/>
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="11,-1" sprite="ui_game_symbol_electric_switch" color="[black_half_alpha]"/>

					<sprite depth="2" name="sprOnOff" width="24" height="24" pos="10,-2" color="[iconColor]" sprite="ui_game_symbol_electric_switch"/>
					<label depth="2" name="lblOnOff" pos="40,-3" justify="left" text="TURN ON" text_key="xuiTurnOn" font_size="24" width="180" />
				</rect>
			</rect>
			<rect name="btnRefuel" depth="3" pos="0, -231" height="36" visible="{showfuel}">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />
				<rect depth="3" pos="1,-3" width="224" height="31">
					<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="11,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="9,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>

					<sprite depth="2" name="windowIcon" width="24" height="24" pos="9,-1" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="11,-1" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>

					<sprite depth="2" name="windowIcon" width="24" height="24" pos="10,-2" color="[iconColor]" sprite="ui_game_symbol_gas"/>
					<label depth="2" name="windowName" pos="40,-3" justify="left" text="REFUEL" text_key="xuiRefuel" font_size="24" width="180" />
				</rect>
			</rect>
		</rect>
	</window>

	<window name="windowPowerTriggerOptions" width="228" height="312" panel="Left" controller="PowerTriggerOptions" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_electric_power"/>
			<label style="header.name.shrink" text="OPTIONS" text_key="btnOptions" />
		</panel>

		<rect name="content" depth="0" pos="0,-46" height="244" pivot="center">
			<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" color="[darkGrey]" type="sliced" width="228" height="238" pos="0,-3" />

			<grid name="stats" rows="5" cols="1" pos="3,0" cell_width="223" cell_height="60" repeat_content="false" >
				<rect name="pnlTargeting">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="228" height="52" color="[black]" type="sliced" fillcenter="false" gamepad_selectable="false"  />
					<sprite depth="1" color="[mediumGrey]" type="sliced" width="225" height="49" pos="0,-3" />

					<!-- <label justify="center" text="TARGETING" pos="3, -10" /> -->
					<button depth="4" name="btnTargetSelf" style="icon30px, press, hover" pos="35,-25" sprite="ui_game_symbol_character" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="xuiTargetSelf" sound="[paging_click]" />

					<button depth="4" name="btnTargetAllies" style="icon30px, press, hover" pos="85,-25" sprite="ui_game_symbol_allies" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="xuiTargetAllies" sound="[paging_click]" />

					<button depth="4" name="btnTargetStrangers" style="icon30px, press, hover" pos="135,-25" sprite="ui_game_symbol_knife" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="xuiTargetStrangers" sound="[paging_click]" />

					<button depth="4" name="btnTargetZombies" style="icon30px, press, hover" pos="185,-25" sprite="ui_game_symbol_zombie" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="xuiTargetZombies" sound="[paging_click]" />
				</rect>
				<option_selector name="optionSelector1" />
				<option_selector name="optionSelector2" />

			</grid>

			<rect name="btnOn" depth="3" pos="0, -208" height="36" >
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />
				<rect depth="3" pos="1,-3" width="224" height="31">
					<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="9,-3" sprite="ui_game_symbol_electric_switch" color="[black_half_alpha]"/>
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="11,-3" sprite="ui_game_symbol_electric_switch" color="[black_half_alpha]"/>

					<sprite depth="2" name="windowIcon" width="24" height="24" pos="9,-1" sprite="ui_game_symbol_electric_switch" color="[black_half_alpha]"/>
					<sprite depth="2" name="windowIcon" width="24" height="24" pos="11,-1" sprite="ui_game_symbol_electric_switch" color="[black_half_alpha]"/>

					<sprite depth="2" name="sprOnOff" width="24" height="24" pos="10,-2" color="[iconColor]" sprite="ui_game_symbol_electric_switch"/>
					<label depth="2" name="lblOnOff" pos="40,-3" justify="left" text="RESET" text_key="lblContextActionReset" font_size="24" width="180" />
				</rect>
			</rect>
		</rect>

	</window>

	<window name="windowPowerSourceSlots" width="228" height="198" anchor="CenterTop" panel="Left" cursor_area="true">
		<panel style="header.panel">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_electric_power"/>
			<label style="header.name.shrink" text="SLOTS" text_key="xuiSlots" />
		</panel>


		<rect name="content" depth="0" pos="0,-46" height="153" disablefallthrough="true" on_press="true" gamepad_selectable="false">
			<sprite depth="2" name="background" sprite="menu_empty" color="[darkGrey]" type="sliced" />
			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" height="153" color="[black]" type="sliced" fillcenter="false" on_press="true" gamepad_selectable="false"/>
				<grid depth="3" name="inventory" rows="2" cols="3" pos="3,-3" cell_width="75" cell_height="75" repeat_content="true" controller="PowerSourceSlots">
					<item_stack controller="RequiredItemStack" name="0"/>
				</grid>
		</rect>
	</window>
	
	<window name="windowPowerTrapSlots" width="228" height="158" anchor="CenterTop" panel="Left" cursor_area="true">
		<panel style="header.panel">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_electric_power"/>
			<label style="header.name.shrink" text="AMMO" text_key="xuiAmmo" />
		</panel>


		<rect name="content" depth="0" pos="0,-46" height="78" disablefallthrough="true" on_press="true" gamepad_selectable="false">
			<sprite depth="2" name="background" sprite="menu_empty" color="[darkGrey]" type="sliced" />
			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" height="78" color="[black]" type="sliced" fillcenter="false" on_press="true" gamepad_selectable="false"/>
			<grid depth="3" name="inventory" rows="1" cols="3" pos="3,-3" cell_width="75" cell_height="75" repeat_content="true" controller="PowerRangedAmmoSlots">
				<item_stack controller="RequiredItemStack" name="0"/>
			</grid>
		</rect>

		<rect name="btnOn" depth="3" pos="0, -122" height="36" >
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />
			<rect depth="3" pos="1,-3" width="224" height="31">
				<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
				<!-- <sprite depth="2" name="windowIcon" width="24" height="24" pos="46,-3" sprite="ui_game_symbol_lock" color="[black_half_alpha]"/>
				<sprite depth="2" name="windowIcon" width="24" height="24" pos="44,-3" sprite="ui_game_symbol_lock" color="[black_half_alpha]"/>

				<sprite depth="2" name="windowIcon" width="24" height="24" pos="44,-1" sprite="ui_game_symbol_lock" color="[black_half_alpha]"/>
				<sprite depth="2" name="windowIcon" width="24" height="24" pos="46,-1" sprite="ui_game_symbol_lock" color="[black_half_alpha]"/> -->

				<sprite depth="2" name="sprOnOff" width="24" height="24" pos="8,-2" color="[iconColor]" sprite="ui_game_symbol_lock"/>
				<label depth="2" name="lblOnOff" pos="40,-15" justify="left" pivot="left" text="TURN ON" text_key="xuiTurnOn" font_size="24" width="180" />
			</rect>
		</rect>
	</window>

	<window name="windowPowerRangedTrapOptions" width="228" height="97" panel="Left" controller="PowerRangedTrapOptions" cursor_area="true" >
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_electric_power"/>
			<label style="header.name.shrink" text="TARGETING" text_key="xuiTargeting" /> <!-- text_key="btnOptions" -->
		</panel>

		<rect name="content" depth="0" pos="0,-46" height="54" pivot="center">

			<sprite depth="1" color="[darkGrey]" type="sliced" width="228" height="50" pos="0,-3" />

			<grid name="stats" rows="1" cols="1" pos="3,0" cell_width="223" cell_height="60" repeat_content="false" >
				<rect name="pnlTargeting">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="228" height="52" color="[black]" type="sliced" fillcenter="false"  />
					<sprite depth="1" color="[mediumGrey]" type="sliced" width="225" height="49" pos="0,-3" />

					<!-- <label justify="center" text="TARGETING" pos="3, -10" /> -->
					<button depth="4" name="btnTargetSelf" style="icon30px, press, hover" pos="35,-25" sprite="ui_game_symbol_character" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="xuiTargetSelf" sound="[paging_click]" />

					<button depth="4" name="btnTargetAllies" style="icon30px, press, hover" pos="85,-25" sprite="ui_game_symbol_allies" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="xuiTargetAllies" sound="[paging_click]" />

					<button depth="4" name="btnTargetStrangers" style="icon30px, press, hover" pos="135,-25" sprite="ui_game_symbol_knife" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="xuiTargetStrangers" sound="[paging_click]" />

					<button depth="4" name="btnTargetZombies" style="icon30px, press, hover" pos="185,-25" sprite="ui_game_symbol_zombie" defaultcolor="[disabledLabelColor]" pivot="center" tooltip_key="xuiTargetZombies" sound="[paging_click]" />
				</rect>
			</grid>
		</rect>

	</window>

	<window name="windowMaterials" width="529" height="730" panel="Left" normal_color="[iconColor]" cursor_area="true" controller="MaterialWindow">
		<rect pos="-100,-25">
		<panel name="header" height="43" depth="0" disableautobackground="true">
			<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header"/>
			<sprite depth="2" name="windowicon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_paint_bucket"/>
			<label style="header.name" text="MATERIALS" text_key="xuiMaterials" />
			<label depth="2" name="resultCount" width="150" height="32" text="64/256 MATERIALS" font_size="32"
				justify="right" anchor_side="right" pivot="right" anchor_run_once="false" anchor_offset="-10,0"/>
		</panel>

		<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="2,-49" width="524" height="49" />

		<rect depth="2" name="searchControls" width="522" height="43" pos="3,-49">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="528" height="52" color="[black]" type="sliced" fillcenter="false"  />

			<panel pos="230,0" width="200" disableautobackground="true">
				<sprite depth="4" name="searchIcon" style="icon30px" pos="0,-22" sprite="ui_game_symbol_search" pivot="center"/>
				<textfield depth="5" name="searchInput" pos="22,-7" width="140" height="30" virtual_keyboard_prompt="vkPromptSearchTerm" search_field="true" close_group_on_tab="true" />
			</panel>

			<panel pos="405,0" width="104" height="43" disableautobackground="true">
				<pager name="pager" pos="4,-6" contents_parent="windowMaterials"/>
			</panel>
		</rect>


		<sprite depth="8" name="backgroundMain" pos="0,-97" width="528" height="675" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" on_press="true"  gamepad_selectable="false"/>
		<grid depth="10" name="queue" rows="9" cols="7" pos="3,-97" cell_width="75" cell_height="75" repeat_content="true" controller="MaterialStackGrid" >
			<material_stack name="0"/>
		</grid>
		</rect>
	</window>

	<window name="windowMaterialInfo" controller="MaterialInfoWindow" width="350" height="275" panel="Center" normal_color="[iconColor]" cursor_area="true">
		<rect pos="-100,-25">
			<panel name="header" height="43" depth="0" disableautobackground="true" >
				<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header"/>
				<sprite depth="2" name="windowicon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_paint_bucket"/>
				<label style="header.name" text="{materialname}" /> <!-- text_key="xuiCreative"  -->
			</panel>

			<sprite depth="1" name="background" color="[mediumGrey]" type="sliced" pos="2,-49" width="348" height="150" />

			<sprite depth="8" name="backgroundMain" pos="100,-47" width="150" height="155" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

			<texture depth="9" name="textMaterial" pos="103, -50" width="144" height="149" material="Materials/Transparent Colored" size="144,149" globalopacity="false"/>

			<sprite depth="8" name="backgroundMain" pos="0,-47" width="350" height="275" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />


			<sprite depth="8" name="backgroundMain" pos="0,-199" width="350" height="123" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" name="background" color="[darkGrey]" type="sliced" pos="2,-199" width="348" height="123" />

			<rect depth="10" height="40" width="340" pos="10,-205">
				<sprite depth="1" name="windowIcon" style="icon30px" pos="2,-2" sprite="ui_game_symbol_paint_brush"/>
				<label depth="1" width="275" pos="40,-2" font_size="26" text="{grouptitle}: [DECEA3]{group}[-] " />
			</rect>

			<rect depth="10" height="40" width="340" pos="10,-245">
				<sprite depth="1" name="windowIcon" style="icon30px" pos="2,-2" sprite="ui_game_symbol_paint_bucket"/>
				<label depth="1" width="275" pos="40,-2" font_size="26" text="{paintcosttitle}: [DECEA3]{paintcost} {paintunit}[-] " />
			</rect>

			<rect depth="10" height="40" width="340" pos="10,-285" visible="{hasperklock}" >
				<sprite depth="1" name="windowIcon" style="icon30px" pos="2,-2" sprite="ui_game_symbol_perk"/>
				<label depth="1" width="275" pos="40,-2" font_size="26" text="{requiredtitle}: [DECEA3]{perk} {perklevel}[-]" />
			</rect>
		</rect>
	</window>

	<window name="spawnMenu" anchor="CenterTop" pos="-500,-80" width="1000" height="750" controller="SpawnMenu" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
			<label style="header.name" pos="6,-6" text_key="xuiSpawnEntities" />
		</panel>
		<panel name="content" pos="0,-46" height="700" depth="1" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" height="700" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="696" width="995" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<togglebutton name="toggleLookAtYou" caption_key="xuiSpawnEntitiesLookAtYou" pos="7, -7" width="192" height="31" depth="3" toggle_value="true" />
			<togglebutton name="toggleSpawn25" caption_key="xuiSpawnEntitiesSpawn25" pos="205, -7" width="192" height="31" depth="3" />
			<togglebutton name="toggleFromDynamic" caption_key="xuiSpawnEntitiesDynamicSpawner" pos="404, -7" width="192" height="31" depth="3" />
			<togglebutton name="toggleFromStatic" caption_key="xuiSpawnEntitiesStaticSpawner" pos="603, -7" width="192" height="31" depth="3" />
			<togglebutton name="toggleFromBiome" caption_key="xuiSpawnEntitiesBiomeSpawner" pos="802, -7" width="192" height="31" depth="3" />

			<simplebutton name="spawnFiltered" caption_key="xuiSpawnEntitiesSpawnFiltered"  pos="7, -42" width="192" height="31" depth="3" pivot="left"/>

			<rect name="entities" pos="0,-78" width="1000" height="590" controller="SpawnEntitiesList">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="8,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="43,-22" width="260" height="30" pivot="Left" search_field="true" close_group_on_tab="true" />

					<panel pos="900,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="content"/>
					</panel>
				</rect>

				<grid name="list" depth="10" rows="16" cols="3" pos="0,-44" height="340" cell_width="333" cell_height="34" repeat_content="true" arrangement="horizontal" >
					<entity_entry width="337" height="34" />
				</grid>
			</rect>
		</panel>
	</window>
	
	<window name="gameEventMenu" anchor="CenterTop" pos="-500,-150" width="1003" height="750" controller="GameEventMenu" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
			<label style="header.name" pos="6,-6" text="{headertitle}" width="800" /> <!--  text_key="xuiSpawnEntities" -->
		</panel>
		<panel name="content" pos="0,-46" height="650" depth="1" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" height="650" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="646" width="1000" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<rect name="gameevents" pos="0,0" width="1000" height="590" controller="GameEventsList">
				<sprite depth="8" width="1003" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" width="1003" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<grid name="categories" pos="24,-22" rows="1" cols="10" width="43" height="600" cell_width="43" cell_height="43" arrangement="vertical" repeat_content="true" controller="CategoryList">
						<category_icon />
					</grid>

					<combobox pos="255,-7" width="300" height="30" name="cbxTarget" type="ComboBoxList`1[System.String]" value_wrap="false" />
					
					<sprite depth="4" name="searchIcon" style="icon30px" pos="588,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="623,-22" width="260" height="30" pivot="Left" search_field="true" close_group_on_tab="true" />

					<panel pos="900,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="content"/>
					</panel>
				</rect>

				<grid name="list" depth="10" rows="16" cols="3" pos="0,-44" height="340" cell_width="333" cell_height="34" repeat_content="true" arrangement="horizontal" >
					<gameevent_entry width="337" height="34" />
				</grid>
			</rect>
		</panel>
	</window>

	<window name="poiTeleportMenu" anchor="CenterTop" pos="-500,-90" width="1200" height="800" controller="PoiTeleportMenu" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
			<label style="header.name" pos="6,-6" text_key="xuiTeleportToPois" />
		</panel>
		<panel name="content" pos="0,-46" height="750" depth="1" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" height="756" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="752" width="1197" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<rect name="poilist" pos="0,-0" controller="PoiList" clear_searchtext_on_open="false" clear_selection_on_open="false">
				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="8,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="43,-22" width="260" height="30" pivot="Left" search_field="true" close_group_on_tab="true" focus_on_open="true" />

					<togglebutton name="filterSmall" caption_key="xuiFilterSmallPois" tooltip_key="xuiFilterSmallPoisTooltip" width="210" height="32" pos="360, -7" depth="4" />

					<label pos="700,-22" width="100" height="30" pivot="right" justify="right" text_key="xuiFilterPoiTier" />
					<combobox depth="3" name="cbxFilterTier" pos="700,-7" width="120" height="30" type="ComboBoxInt" format_string="0;'All';0" value_min="-1" value_max="5" value_wrap="true" value_increment="1" />

					<panel pos="1100,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="content"/>
					</panel>
				</rect>

				<grid name="list" depth="10" rows="12" cols="3" pos="0,-44" height="340" cell_width="399" cell_height="59" repeat_content="true" arrangement="horizontal" >
					<poi_teleport_list_entry width="403" height="59" />
				</grid>
			</rect>
		</panel>
	</window>

	<window name="ingameMenu" anchor="LeftTop" pos="0,0" width="1920" height="1080" controller="InGameMenuWindow" cursor_area="true">
		<confirmation_prompt name="unstuckPrompt" pos="950, -400" width="400" height="220" />
		
		<grid name="buttons" pos="20, -20" cols="1" width="250" cell_width="250" cell_height="56" arrangement="vertical" repeat_content="false" >
			<simplebutton name="btnInvite" depth="3" width="250" height="46" caption_key="xuiMenuInvite" font_size="40" />
			<simplebutton name="btnOptions" depth="3" width="250" height="46" caption_key="xuiMenuOptions" font_size="40" />
			<simplebutton name="btnHelp" depth="3" width="250" height="46" caption_key="xuiMenuHelp" font_size="40" />
			<simplebutton name="btnSave" depth="3" width="250" height="46" caption_key="xuiMenuSave" font_size="40" />
			<simplebutton name="btnExit" depth="3" width="250" height="46" caption_key="xuiMenuExit" font_size="40" />
			<simplebutton name="btnExportPrefab" depth="3" width="250" height="46" caption_key="xuiMenuExportPrefab" font_size="40" />
			<simplebutton name="btnTpPoi" depth="3" width="250" height="46" caption_key="xuiMenuTeleportPoiButton" font_size="40" />
			<!-- <simplebutton name="btnUnstuck" depth="3" width="250" height="46" caption_key="xuiMenuUnstuck" font_size="40" /> -->
			<simplebutton name="btnOpenConsole" depth="3" width="250" height="46" caption_key="xuiOpenConsole" font_size="40" visible="{console_button}"/>
			<simplebutton name="btnBugReport" depth="3" width="250" height="46" caption_key="xuiBugReportHeader" font_size="40" visible="{bug_reporting}"/>
		</grid>
		
		<label depth="4" pos="20,-945" width="500" height="40" text_key="lblAchievementsDisabled" color="[gold]" visible="{creativeenabled}" tooltip_key="ttAchievementsDisabled" platform="!PS5" pivot="bottomleft" effect="Outline8" effect_color="0,0,0,255" effect_distance="2,2"/>
		<label depth="4" pos="20,-945" width="500" height="40" text_key="lblAchievementsDisabledPS5" color="[gold]" visible="{creativeenabled}" tooltip_key="ttAchievementsDisabledPS5" platform="PS5" pivot="bottomleft" effect="Outline8" effect_color="0,0,0,255" effect_distance="2,2"/>
	</window>

	<window name="exportPrefab" anchor="CenterCenter" pos="-250,150" width="500" height="250" controller="ExportPrefab" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
			<label style="header.name" pos="6,-6" text_key="xuiExportPrefab" />
		</panel>
		<panel name="content" pos="0,-46" height="200" depth="1" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" height="200" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="196" width="496" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<label name="lblSaveNewText" pos="10, -20" depth="3" width="480" height="36" pivot="Left" justify="Left" text_key="xuiSaveNewPrefabText" />
			<label name="lblSaveName" pos="10, -50" depth="3" width="100" height="36" pivot="Left" justify="Right" text_key="xuiPrefabSaveName" />
			<textfield name="txtSaveName" pos="115, -50" depth="3" width="380" height="32" pivot="Left" open_vk_on_open="true" />
			<label name="lblPrefabExists" pos="10, -80" depth="3" width="480" height="36" pivot="Left" justify="Left" color="[red]" text_key="xuiPrefabAlreadyExists" />
			<label name="lblInvalidName" pos="10, -80" depth="3" width="480" height="36" pivot="Left" justify="Left" color="[red]" text_key="xuiInvalidPrefabName" />

			<togglebutton name="toggleAsPart" caption_key="xuiExportAsPart" width="472" height="34" pos="13, -110" depth="3" tooltip_key="xuiExportAsPartTooltip" />

			<table columns="3" padding="8,10" pos="5, -143">
				<simplebutton name="btnSave" depth="3" width="145" height="32" caption_key="xuiExportServer" />
				<simplebutton name="btnSaveLocal" depth="3" width="145" height="32" caption_key="xuiExportLocal" />
				<simplebutton name="btnCancel" depth="3" width="150" height="32" caption_key="xuiCancel" />
			</table>

		</panel>
	</window>

	<window name="woPropsSleeperVolume" anchor="CenterTop" pos="-560,-80" width="1240" height="770" controller="WoPropsSleeperVolume" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" borderthickness="0" backgroundcolor="[black]">
			<label style="header.name" pos="6,-6" text_key="xuiSleeperVolume" />
		</panel>
		<panel name="content" pos="0,-46" height="720" depth="1" pivot="center" padding="5" borderthickness="0" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]" bordercolor="[black]">
			<panel name="boxButtons" pos="0,0" width="350" height="250" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
				<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[white]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiSettings" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
				<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

				<grid name="settings" depth="3" pos="4,0" cols="2" cell_width="160" cell_height="36" arrangement="horizontal" repeat_content="false" hide_inactive="false" >
					<label text_key="xuiSleeperVolumeGroupId" pos="0,0" width="140" height="30" justify="right" pivot="topleft"/>
					<rect>
						<textfield name="groupId" pos="40,0" width="70" height="30" pivot="topleft" character_limit="3" validation="integer"/>
					</rect>
					<label text_key="xuiSleeperVolumePriority" pos="0,0" width="140" height="30" justify="right" pivot="topleft"/>
					<combobox name="cbxPriority" type="ComboBoxBool" width="170" height="30" />
					<label text_key="xuiSleeperVolumeQuestExclude" pos="0,0" width="140" height="30" justify="right" pivot="topleft"/>
					<combobox name="cbxQuestExclude" type="ComboBoxBool" width="170" height="30" />
					<label text_key="xuiSleeperVolumePresetSpawnCount" pos="0,0" width="140" height="30" justify="right" pivot="topleft"/>
					<combobox name="cbxCountPreset" type="ComboBoxList`1[XUiC_WoPropsSleeperVolume+CountPreset]" value_wrap="true" width="170" height="30" localization_prefix="xuiSleeperVolumeCount" />
					<label text_key="xuiSleeperVolumeSpawnCount" pos="0,0" width="140" height="30" justify="right" pivot="topleft"/>
					<rect>
						<textfield name="spawnMin" pos="10,0" width="70" height="30" pivot="topleft" character_limit="3" validation="integer"/>
						<textfield name="spawnMax" pos="90,0" width="70" height="30" pivot="topleft" character_limit="3" validation="integer"/>
					</rect>

					<label text_key="xuiSleeperVolumeTrigger" pos="0,0" width="140" height="30" justify="right" pivot="topleft"/>
					<combobox name="cbxTrigger" type="ComboBoxEnum`1[SleeperVolume+ETriggerType]" width="170" height="30" />
				</grid>
			</panel>

			<panel name="boxButtons" pos="380,0" width="380" height="250" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
				<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[white]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiStats" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
				<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

				<grid name="info" depth="3" pos="0,-40" cols="2" cell_width="150" cell_height="26" arrangement="horizontal" repeat_content="false" hide_inactive="false" >
					<label text_key="xuiSleeperVolumeGroup" width="140" height="32" justify="right" pivot="left" />
					<label name="labelGroup" text="Test" width="220" height="32" justify="left" pivot="left"/>
					<label text_key="xuiSleeperVolumeIndex" width="140" height="32" justify="right" pivot="left" />
					<label name="labelIndex" text="Test" pivot="left" width="220" height="32" />
					<label text_key="xuiSleeperVolumePosition" width="140" height="32" justify="right" pivot="left" />
					<label name="labelPosition" text="Test" pivot="left" width="220" height="32" />
					<label text_key="xuiSleeperVolumeSize" width="140" height="32" justify="right" pivot="left" />
					<label name="labelSize" text="Test" pivot="left" width="220" height="32" />
					<label text_key="xuiSleeperVolumeCount" width="140" height="32" justify="right" pivot="left" />
					<label name="labelSleeperCount" text="Test" pivot="left" width="220" height="32" />
				</grid>
			</panel>

			<panel name="triggersBox" pos="790,0" width="432" height="250" depth="3" pivot="center" padding="30,1,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
				<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[white]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiTriggeredBy" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
				<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

				<rect name="triggeredBy" selectable="false" clear_searchtext_on_open="true" controller="XUiC_PrefabTriggerEditorList">
					<rect depth="4" name="searchControls" height="44" pos="0,-0">
						<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

						<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
						<textfield name="searchInput" depth="5" pos="40,-22" width="160" height="30" pivot="Left" />

						<panel pos="302,0" width="98" height="43" disableautobackground="true">
							<pager name="pager" pos="1,-6" contents_parent="triggeredBy" />
						</panel>
					</rect>

					<grid name="list" depth="1" rows="4" cols="5" pos="0,-44" height="200" cell_width="85" cell_height="34" repeat_content="true" arrangement="vertical" >
						<prefab_trigger_entry width="90" height="34" />
					</grid>

					<label text_key="xuiPrefabZonesAddLabel" depth="4" pos="5,-200" width="150" height="30" justify="right" pivot="left" />
					<button depth="4" name="addTriggeredByButton" style="icon30px, press" pos="175,-200" sprite="ui_game_symbol_add" pivot="center" sound="[paging_click]" />
				</rect>
			</panel>

			<panel name="boxButtons" pos="0,-260" width="544" height="450" depth="3" pivot="center" padding="30,1,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
				<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[white]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiSpawners" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
				<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

				<rect name="spawners" controller="SpawnersList">
					<rect depth="4" name="searchControls" height="44" pos="0,-0">
						<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

						<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
						<textfield name="searchInput" depth="5" pos="40,-22" width="160" height="30" pivot="Left" />

						<panel pos="432,0" width="98" height="43" disableautobackground="true">
							<pager name="pager" pos="1,-6" contents_parent="spawners"/>
						</panel>
					</rect>

					<grid name="list" depth="1" rows="11" cols="2" pos="0,-44" height="410" cell_width="270" cell_height="34" repeat_content="true" arrangement="vertical" >
						<spawners_entry width="274" height="34" />
					</grid>
				</rect>
			</panel>

			<panel name="boxButtons" pos="570,-260" width="654" height="450" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
				<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[white]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiScript" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
				<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

				<textfield name="script" pos="0,0" width="640" height="414" font_size="20" pivot="topleft" justify="left" on_return="newline" />
			</panel>

		</panel>
	</window>

  <window name="lightProperties" anchor="RightTop" pos="-700,-80" width="600" height="1000" controller="LightEditor" cursor_area="true">
    <panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
      <sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
      <label style="header.name" pos="6,-6" text_key="xuiLightProps" />
    </panel>
    <panel name="content" pos="0,-46" height="750" width="600" depth="1" pivot="center" disableautobackground="true">
      <sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" width="600" height="750" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
      <sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="750" width="600" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

      <panel name="params" rows="6" cols="2" width="300" height="300" pos="10,-10" depth="7" disableautobackground="true" >
        <label text_key="xuiLightPropType" width ="50" height="30" on_hover="true" tooltip_key="xuiLightPropTypeTip" pos="0,0" />
        <combobox name="cbxLightType" width ="200" type="ComboBoxList`1[[UnityEngine.LightType,UnityEngine]]" localization_prefix="xuiLightPropType" pos="100,0"/>
        <label text_key="xuiLightPropState" width ="60" height="30" on_hover="true" tooltip_key="xuiLightPropStateTip" pos ="0,-50" />
        <combobox name="cbxLightState" width ="200" type="ComboBoxEnum`1[LightStateType]" localization_prefix="xuiLightPropState" pos="100,-50" />
        <label text_key="xuiLightPropShadow" width ="80" height="30" on_hover="true" tooltip_key="xuiLightPropShadowTip" pos="0,-100" />
        <combobox name="cbxLightShadow" width ="200" type="ComboBoxEnum`1[[UnityEngine.LightShadows,UnityEngine]]" localization_prefix="xuiLightPropShadows" pos="100,-100" />
        <label text_key="xuiLightPropColorPreset" width ="70" height="30" on_hover="true" tooltip_key="xuiLightPropColorPresetTip" pos="0,-150" />
        <combobox name="cbxPresets" width ="200" type="ComboBoxList`1[System.String]" pos="100,-150" />
        <label text_key="xuiLightPropRange" width ="60" height="30" on_hover="true" tooltip_key="xuiLightPropRangeTip" pos="0,-200" />
        <combobox name="cbxRange" width ="200" type="ComboBoxFloat" value_increment="0.5" value_min="0" value_max="40" value_wrap="false" format_string="0.0" pos="100,-200" />
        <label text_key="xuiLightPropIntensity" width ="80" height="30" on_hover="true" tooltip_key="xuiLightPropIntensityTip" pos="0,-250" />
        <combobox name="cbxIntensity" width ="200" type="ComboBoxFloat" value_increment=".1" value_min="0" value_max="8" value_wrap="false" format_string="0.0" pos="100,-250" />
      </panel>

      <panel name="panelAngle" width="280" height="30" pos="320, -10" disableautobackground="true">
        <label name ="labelAngle" text_key="xuiLightPropAngle" width="60" height="30" depth="7" on_hover="true" tooltip_key="xuiLightPropAngleTip" pos="0,0"/>
        <combobox name ="cbxAngle" type="ComboBoxFloat" value_increment="1" value_min="1" value_max="179" value_wrap="false" format_string="0" pos="70,0" width="200" />
      </panel>

      <panel name="panelRate" width="280" height="30" pos="320, -60" disableautobackground="true">
        <label name ="labelRate" text_key="xuiLightPropRate" width="60" height="30" depth="7" on_hover="true" tooltip_key="xuiLightPropRateTip" pos="0,0" />
        <combobox name ="cbxRate" type="ComboBoxFloat" value_increment=".1" value_min="0" value_max="60" value_wrap="false" format_string="0.0" pos="70,0" width="200" />
      </panel>

      <panel name="panelDelay" width="280" height="30" pos="320, -60" disableautobackground="true">
        <label name ="labelDelay" text_key="xuiLightPropDelay" width="60" height="30" depth="7" on_hover="true" tooltip_key="xuiLightPropDelayTip" pos="0,0" />
        <combobox name ="cbxDelay" type="ComboBoxFloat" value_increment=".1" value_min="0" value_max="2" value_wrap="false" format_string="0.0" pos="70,0" width="200" />
      </panel>

    </panel>

    <panel name="colorParams" width="325" pos="-60,-376" depth="1" pivot="center" padding="10,10" disableautobackground="true">
      <label depth="2" text_key="R" height="30" width="20" pos="70,-100" />
      <textfield name="txtColorR" depth="3" pos="90,-100" width="60" height="30" character_limit="3" validation="integer" />
      <label depth="2" text_key="G" height="30" width="20" pos="70,-185" />
      <textfield name="txtColorG" depth="3" pos="90,-185" width="60" height="30" character_limit="3" validation="integer" />
      <label depth="2" text_key="B" height="30" width="20" pos="70,-270" />
      <textfield name="txtColorB" depth="3" pos="90,-270" width="60" height="30" character_limit="3" validation="integer" />
      <label depth="2" text_key="xuiColorPropsHexValue" pos="160,-60" width="200" height="30" />
      <textfield name="txtHex" depth="3" pos="250,-60" width="105" height="30" character_limit="6" />
      <panel name="colorPickerPanel" width="200" height="200" pos="150,-100" disableautobackground="true">
        <color_picker name="lightColor" />
      </panel>
    </panel>

    <simplebutton name="btnCopy" caption_key="xuiLightCopy" width="195" height="32" depth="1" pos="10,-715" />
    <simplebutton name="btnPaste" caption_key="xuiLightPaste" width="195" height="32" depth="1" pos="210,-715" />
    <simplebutton name="btnRestoreDefaults" caption_key="xuiLightRestoreDefaults" width="195" height="32" depth="1" pos="10,-755" />
    <simplebutton name="btnOnOff" caption_key="xuiLightOnOff" width="195" height="32" depth="1" pos="210,-755" />
    <simplebutton name="btnCancel" caption_key="xuiCancel" width="210" height="32" depth="1" pos="170,-800" />
    <simplebutton name="btnOk" caption_key="xuiOk" width="210" height="32" depth="1" pos="390,-800" />

  </window>

  <!--<window name="doorProperties" anchor="RightTop" pos="-520,-80" width="420" height="350" controller="DoorEditor" cursor_area="true">
    <panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
      <sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
      <label style="header.name" pos="6,-6" text_key="xuiDoorProps" />
    </panel>
    <panel name="content" pos="0,-46" height="260" width="415" depth="1" pivot="center" padding="10,10" disableautobackground="true">
      <sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" width="415" height="140" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
      <sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="140" width="415" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

      <panel name="params" rows="5" cols="2" width="420" height="300" pos="10,-10" depth="7" disableautobackground="true" >
          <label text_key="xuiLightPropColorPreset" width ="195" height="32" justify="center" on_hover="true" tooltip_key="xuiLightPropColorPresetTip" pos="0,-10" />
          <combobox name="cbxPresets" type="ComboBoxList`1[System.String]" width="195" height="32" pos="200, -10"/>
          <simplebutton name="btnOpenClose" caption_key="xuiDoorOpenClose" width="195" height="32" depth="1" pos="200,-50" />
          <simplebutton name="btnDowngrade" caption_key="Downgrade" width="195" height="32" depth="1" pos="0,-90" />
		  <simplebutton name="btnUpgrade" caption_key="Upgrade" width="195" height="32" depth="1" pos="200,-90" />
          <simplebutton name="btnCancel" caption_key="xuiCancel" width="205" height="32" depth="1" pos="-10,-130" />
          <simplebutton name="btnOk" caption_key="xuiOk" width="205" height="32" depth="1" pos="200,-130" />
      </panel>
  </panel>
  </window>-->
  
  <window name="triggerProperties" anchor="RightTop" pos="-700,-80" width="620" height="992" cursor_area="true" controller="TriggerProperties">
    <panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
      <sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
      <label style="header.name" pos="6,-6" text_key="xuiTriggerProperties" />
    </panel>
    <panel name="content" pos="0,-46" height="{window_height}" width="610" depth="1" pivot="center" padding="10,10" disableautobackground="true">
      <sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" width="620" height="{window_height}" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
      <sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="{window_height}" width="618" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />
	
	<rect name="exclude" width="610" height="46" style="press, hover, scroll" visible="{triggers_enabled}">
		<sprite depth="2" name="backgroundExclude" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" sound="[recipe_click]" />
		<sprite depth="4" name="tickboxExclude" width="37" height="37" pos="7,-4" color="[darkGrey]" sprite="Highlight - Shadowed" type="sliced" />
		<sprite depth="5" name="tickmarkExclude" width="31" height="31" pos="10,-7" color="[iconColor]" sprite="ui_game_symbol_check" visible="{excludeTickmarkSelected}" />
		<label depth="4" name="tickMarkNameExclude" pos="64,-21" width="300" height="42" text_key="xuiTriggerPropertiesExcludeIcon" font_size="32" justify="left" pivot="left" />
	</rect>
      <rect name="unlock" width="610" height="46" style="press, hover, scroll" visible="{triggers_enabled}" pos="0,-46" >
        <sprite depth="2" name="backgroundUnlock" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" sound="[recipe_click]" />
        <sprite depth="4" name="tickboxUnlock" width="37" height="37" pos="7,-4" color="[darkGrey]" sprite="Highlight - Shadowed" type="sliced" />
        <sprite depth="5" name="tickmarkUnlock" width="31" height="31" pos="10,-7" color="[iconColor]" sprite="ui_game_symbol_check" visible="{unlockTickmarkSelected}" />
        <label depth="4" name="tickMarkNameUnlock" pos="64,-21" width="300" height="42" text_key="xuiTriggerPropertiesUnlockIcon" font_size="32" justify="left" pivot="left" />
      </rect>

      <!--
      <rect name="reset" width="610" height="46" style="press, hover, scroll" visible="{triggers_enabled}" pos="0,-46">
        <sprite depth="2" name="backgroundReset" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" sound="[recipe_click]" />
        <sprite depth="4" name="tickboxReset" width="37" height="37" pos="7,-4" color="[darkGrey]" sprite="Highlight - Shadowed" type="sliced" />
        <sprite depth="5" name="tickmarkReset" width="31" height="31" pos="10,-7" color="[iconColor]" sprite="ui_game_symbol_check" visible="{resetTickmarkSelected}" />
        <label depth="4" name="tickMarkNameReset" pos="64,-21" width="300" height="42" text_key="xuiTriggerPropertiesResetIcon" font_size="32" justify="left" pivot="left" />
        <textfield name="resetInput" depth="5" pos="400,-22" width="160" height="30" character_limit="10" pivot="Left" validation="integer" text="{resetTime}" />
      </rect>
			-->

      <grid rows="1" cell_width="150"  cell_height="300" repeat_content="false" arrangement="vertical" pos="0,-92" >
        <table columns="2" padding="10,10" visible="{triggers_enabled}" >
          <label depth="2" text_key="xuiTriggers" width="150" height="285" justify="right"  />
          <rect name="triggers" width="430" height="290"  selectable="false" clear_searchtext_on_open="true" controller="XUiC_PrefabTriggerEditorList" visible="{triggers_enabled}">
            <sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

            <rect depth="4" name="searchControls" height="44" pos="0,-0">
              <sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

              <sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
              <textfield name="searchInput" depth="5" pos="40,-22" width="160" height="30" pivot="Left" />

              <panel pos="302,0" width="98" height="43" disableautobackground="true">
                <pager name="pager" pos="1,-6" contents_parent="triggers" />
              </panel>
            </rect>

            <grid name="list" depth="2" rows="6" cols="5" pos="0,-44" height="200" cell_width="85" cell_height="34" repeat_content="true" arrangement="vertical" >
              <prefab_trigger_entry width="90" height="34" />
            </grid>

            <label text_key="xuiPrefabGroupsAddLabel" depth="4" pos="0,-270" width="100" height="30" justify="right" pivot="left" />
            <button depth="4" name="addTriggersButton" style="icon30px, press" pos="105,-270" sprite="ui_game_symbol_add" pivot="left" sound="[paging_click]" />
          </rect>

        </table>
      </grid>
        <rect name="operation" width="610" height="46" pos="0,-392" style="press, hover, scroll" >
          <sprite depth="2" name="backgroundOperation" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" sound="[recipe_click]" />
          <sprite depth="4" name="tickboxOperation" width="37" height="37" pos="7,-4" color="[darkGrey]" sprite="Highlight - Shadowed" type="sliced" />
          <sprite depth="5" name="tickmarkOperation" width="31" height="31" pos="10,-7" color="[iconColor]" sprite="ui_game_symbol_check" visible="{operationTickmarkSelected}" />
          <label depth="4" name="tickMarkNameOperation" pos="64,-21" width="300" height="42" text_key="xuiTriggerPropertiesUseOrInsteadOfAnd" font_size="32" justify="left" pivot="left" />
        </rect>
      
      <grid rows="1" cell_width="150"  cell_height="300" repeat_content="false" arrangement="vertical" pos="0,-428" >
        <table columns="2" padding="10,10" visible="{triggeredby_enabled}" >
			<label depth="2" text_key="xuiTriggeredBy" width="150" height="285" justify="right" />
			<rect name="triggeredBy" width="430" height="290" selectable="false" clear_searchtext_on_open="true" controller="XUiC_PrefabTriggerEditorList" visible="{triggeredby_enabled}">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-22" width="160" height="30" pivot="Left" />

					<panel pos="302,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="triggeredBy" />
					</panel>
				</rect>

				<grid name="list" depth="2" rows="6" cols="5" pos="0,-44" height="200" cell_width="85" cell_height="34" repeat_content="true" arrangement="vertical" >
					<prefab_trigger_entry width="90" height="34" />
				</grid>

				<label text_key="xuiPrefabZonesAddLabel" depth="4" pos="0,-270" width="100" height="30" justify="right" pivot="left" />
				<button depth="4" name="addTriggeredByButton" style="icon30px, press" pos="105,-270" sprite="ui_game_symbol_add" pivot="left" sound="[paging_click]" />
			</rect>

		</table>
	</grid>

    </panel>

    
    <!-- <simplebutton name="btnCancel" caption_key="xuiCancel" width="210" height="32" depth="1" pos="170,-700" /> -->
    <!-- <simplebutton name="btnOk" caption_key="xuiOk" width="210" height="32" depth="1" pos="390,-700" /> -->

  </window>

	<window name="prefabPropertiesEditor" anchor="CenterCenter" pos="-550,450" width="1100" height="750" controller="PrefabPropertiesEditor" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="10" backgroundspritename="ui_game_panel_header" createuipanel="true" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" name="windowheader" pos="6,-6" width="800" text_key="{title}" />
		</panel>

		<rect name="tabs" controller="TabSelector" pos="0,-50" height="700">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />

			<rect name="tabsHeader" height="39" depth="0">
				<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />

				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="4" cell_width="200" cell_height="36" repeat_content="true" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
				</grid>
			</rect>

			<rect name="tabsContents" depth="2" pos="0,-37" height="661">
				<sprite depth="0" pos="2,0" width="1096" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />

				<rect controller="TabSelectorTab" tab_key="xuiPrefabGroups">
					<rect pos="8,-20" name="groups" width="1084" height="490" controller="PrefabGroupsEditorList" selectable="false" clear_searchtext_on_open="true">
						<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

						<rect depth="4" name="searchControls" height="44" pos="0,-0">
							<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

							<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
							<textfield name="searchInput" depth="5" pos="40,-22" width="280" height="30" pivot="Left" />

							<panel pos="972,0" width="98" height="43" disableautobackground="true">
								<pager name="pager" pos="1,-6" contents_parent="groups" />
							</panel>
						</rect>

						<grid name="list" depth="2" rows="12" cols="4" pos="0,-44" height="200" cell_width="270" cell_height="34" repeat_content="true" arrangement="vertical" >
							<prefab_group_edit_entry width="274" height="34" />
						</grid>

						<rect pos="0,-470">
							<label text_key="xuiPrefabGroupsAddLabel" depth="4" pos="0,0" width="100" height="30" justify="right" pivot="left" />
							<textfield name="addInput" depth="4" pos="105,0" width="250" height="30" pivot="left" />
							<button depth="4" name="addButton" style="icon30px, press" pos="370,0" sprite="ui_game_symbol_add" pivot="left" sound="[paging_click]" />
						</rect>
					</rect>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiPrefabTags">
					<rect pos="8,-20" name="tags" width="1084" height="490" controller="PrefabTagList" selectable="false" clear_searchtext_on_open="true">
						<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

						<rect depth="4" name="searchControls" height="44" pos="0,-0">
							<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

							<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
							<textfield name="searchInput" depth="5" pos="40,-22" width="280" height="30" pivot="Left" />

							<panel pos="972,0" width="98" height="43" disableautobackground="true">
								<pager name="pager" pos="1,-6" contents_parent="tags" />
							</panel>
						</rect>

						<grid name="list" depth="2" rows="12" cols="4" pos="0,-44" height="200" cell_width="270" cell_height="34" repeat_content="true" arrangement="vertical" >
							<prefab_tag_entry width="274" height="34" />
						</grid>

						<rect pos="0,-470">
							<label text_key="xuiPrefabGroupsAddLabel" depth="4" pos="0,0" width="100" height="30" justify="right" pivot="left" />
							<textfield name="addInput" depth="4" pos="105,0" width="250" height="30" pivot="left" />
							<button depth="4" name="addButton" style="icon30px, press" pos="370,0" sprite="ui_game_symbol_add" pivot="left" sound="[paging_click]" />
						</rect>
					</rect>

					<rect pos="8,-520">
						<label pos="0,-16" depth="4" width="150" height="32" style="hover" text_key="xuiDuplicateRepeatDistance" tooltip_key="xuiDuplicateRepeatDistanceTooltip" font_size="30" color="[white]" pivot="left" />
						<textfield pos="155,0" width="200" height="32" name="txtDuplicateRepeatDistance" validation="integer" />
					</rect>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiPrefabQuests">
					<rect pos="8,-20" name="questTags" width="1084" height="490" controller="PrefabQuestTags" selectable="false" clear_searchtext_on_open="true">
						<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

						<rect depth="4" name="searchControls" height="44" pos="0,-0">
							<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

							<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
							<textfield name="searchInput" depth="5" pos="40,-22" width="280" height="30" pivot="Left" />

							<panel pos="972,0" width="98" height="43" disableautobackground="true">
								<pager name="pager" pos="1,-6" contents_parent="questTags"/>
							</panel>
						</rect>

						<grid name="list" depth="2" rows="12" cols="4" pos="0,-44" height="200" cell_width="270" cell_height="34" repeat_content="true" arrangement="vertical" >
							<prefab_tag_entry width="274" height="34" />
						</grid>

						<rect pos="0,-470">
							<label text_key="xuiPrefabGroupsAddLabel" depth="4" pos="0,0" width="100" height="30" justify="right" pivot="left" />
							<textfield name="addInput" depth="4" pos="105,0" width="250" height="30" pivot="left" />
							<button depth="4" name="addButton" style="icon30px, press" pos="370,0" sprite="ui_game_symbol_add" pivot="left" sound="[paging_click]" />
						</rect>
					</rect>
					
					<rect pos="8,-520">
						<label pos="0,-16" depth="4" width="150" height="32" style="hover" text_key="xuiQuestDifficultyTier" tooltip_key="xuiQuestDifficultyTierTooltip" font_size="30" color="[white]" pivot="left" />
						<combobox pos="155,0" width="200" height="32" name="cbxDifficultyTier" type="ComboBoxInt" value_min="0" value_max="5" value="1" value_increment="1" value_wrap="false" />
					</rect>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiPrefabThemeTags">
					<rect pos="8,-20" name="themetags" width="1084" height="490" controller="PrefabThemeTagList" selectable="false" clear_searchtext_on_open="true">
						<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

						<rect depth="4" name="searchControls" height="44" pos="0,-0">
							<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

							<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
							<textfield name="searchInput" depth="5" pos="40,-22" width="280" height="30" pivot="Left" />

							<panel pos="972,0" width="98" height="43" disableautobackground="true">
								<pager name="pager" pos="1,-6" contents_parent="tags" />
							</panel>
						</rect>

						<grid name="list" depth="2" rows="12" cols="4" pos="0,-44" height="200" cell_width="270" cell_height="34" repeat_content="true" arrangement="vertical" >
							<prefab_tag_entry width="274" height="34" />
						</grid>

						<rect pos="0,-470">
							<label text_key="xuiPrefabGroupsAddLabel" depth="4" pos="0,0" width="100" height="30" justify="right" pivot="left" />
							<textfield name="addInput" depth="4" pos="105,0" width="250" height="30" pivot="left" />
							<button depth="4" name="addButton" style="icon30px, press" pos="370,0" sprite="ui_game_symbol_add" pivot="left" sound="[paging_click]" />
						</rect>
					</rect>

					<rect pos="8,-520">
						<label pos="0,-16" depth="4" width="150" height="32" style="hover" text_key="xuiThemeRepeatDistance" tooltip_key="xuiThemeRepeatDistanceTooltip" font_size="30" color="[white]" pivot="left" />
						<textfield pos="155,0" width="200" height="32" name="txtThemeRepeatDistance" validation="integer" />
					</rect>
				</rect>

				<!-- Stuff on all tabs -->
				<panel pos="30,-620" depth="10" width="730" height="32" disableautobackground="true">
					<simplebutton name="btnOpenInEditor" pos="50,0" depth="3" width="400" height="32" caption_key="xuiOpenInEditor" />

					<grid pos="750,0" depth="2" rows="1" cols="2" height="32" cell_width="160" cell_height="32" repeat_content="false" arrangement="horizontal">
						<simplebutton name="btnSave" depth="3" width="150" height="32" caption_key="xuiSave" />
						<simplebutton name="btnCancel" depth="3" width="150" height="32" caption_key="xuiCancel" visible="{fromprefabbrowser}" />
					</grid>

				</panel>

			</rect>
		</rect>
	</window>
	
	<window name="prefabMarkers" anchor="CenterTop" pos="-412,-200" width="800" height="580" controller="WoPropsPOIMarker" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="1" />
			<label style="header.name" pos="6,-6" height="40" width="800" text="POI Marker Editor" />
		</panel>
		<panel name="content" pos="0,-46" height="782" depth="1" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" width="798" height="486" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="1" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="484" width="796" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="1.2" />
			
			<rect pos="6,-6" height="490">
				<grid depth="2" rows="8" cols="2" cell_width="150" cell_height="38" repeat_content="false" arrangement="horizontal">

					<label text_key="xuiPOIMarkerType" width="150" height="30" pivot="topleft" on_hover="true" tooltip_key="xuiPOIMarkerTypeTip" />
					<combobox name="cbxPOIMarkerType" type="ComboBoxEnum`1[Prefab+Marker+MarkerTypes]" localization_prefix="" width="250" height="30" />
					
					<label depth="2" text_key="Group Name" height="30" width="128"/>
					<textfield name="txtGroup" depth="3" justify="left" width="250" height="30" character_limit="10"/>
					
					<label depth="2" text_key="Tags" height="30" width="128"/>
					<textfield name="txtTags" depth="3" justify="left" width="250" height="30"/>
					
					<label depth="2" text_key="Start Pos" height="30" width="128"/>
					<grid rows="1" cols="3" cell_width="95" cell_height="30">
						<textfield name="txtStartX" depth="3" width="60" height="30" character_limit="3" validation="integer" />
						<textfield name="txtStartY" depth="3" width="60" height="30" character_limit="3" validation="integer" />
						<textfield name="txtStartZ" depth="3" width="60" height="30" character_limit="3" validation="integer" />
					</grid>
					
					<label name="lblPartName" depth="2" text_key="Part Name" height="30" width="128"/>
					<combobox name="cbxPOIMarkerPartName" type="ComboBoxList`1[System.String]" localization_prefix="" width="250" height="30" />
					
					<label name="lblMarkerRotations" depth="2" text_key="Marker Rotations" height="30" width="128"/>
					<combobox depth="108" pos="155,0" width="250" height="32" name="txtMarkerRotations" type="ComboBoxInt" value_min="0" value_max="3" value_increment="1" value_wrap="true" />
					
					<label name="lblPartSpawnChance" depth="2" text_key="Part Spawn Chance" height="30" width="128"/>
					<combobox depth="108" pos="155,0" width="250" height="32" name="cbxPartSpawnChance" type="ComboBoxFloat" value="1" value_min="0" value_max="1" value_increment="0.2" value_wrap="true" />

					<label name="lblMarkerSize" text_key="xuiPOIMarkerSize" width="128" height="30" justify="right" pivot="topleft" on_hover="true" tooltip_key="xuiPOIMarkerSizeTip" />
					<combobox name="cbxPOIMarkerSize" type="ComboBoxEnum`1[Prefab+Marker+MarkerSize]" localization_prefix="" width="250" height="30" />

					<label name="lblCustSize" depth="2" text_key="Custom Size" height="30" width="128"/>
					<grid name="grdCustSize" rows="1" cols="3" cell_width="60" cell_height="30">
						<textfield name="txtSizeX" depth="3" width="60" height="30" character_limit="3" validation="integer" />
						<textfield name="txtSizeY" depth="3" width="60" height="30" character_limit="3" validation="integer" />
						<textfield name="txtSizeZ" depth="3" width="60" height="30" character_limit="3" validation="integer" />
					</grid>
				</grid>
			</rect>
			
			<rect pos="420,-6" name="markers" height="490" controller="PrefabMarkerList" selectable="false" clear_searchtext_on_open="true">
				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" width="360" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-22" width="160" height="30" pivot="Left" />

					<panel pos="262,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="markers"/>
					</panel>
				</rect>
				<grid name="list" depth="2" rows="11" cols="1" pos="0,-44" height="200" cell_width="360" cell_height="34" repeat_content="true" arrangement="vertical">
					<prefab_marker_entry width="360" height="34" />
				</grid>
			</rect>
			
			<simplebutton name="btnPOIMarker" depth="3" pos="500, -446" width="190" height="32" caption_key="xuiSpawnPOIMarker" />
		</panel>
	</window>

	<window name="startPointEditor" anchor="RightTop" pos="-700,-80" width="600" height="250" controller="StartPointEditor" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
			<label style="header.name" pos="6,-6" text_key="xuiStartPointEditor" />
		</panel>

		<panel name="content" pos="0,-46" height="200" width="600" depth="1" pivot="center" padding="10,10" disableautobackground="true">
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<grid pos="8,-8" cols="2" depth="3" cell_width="120" cell_height="45" repeat_content="false" arrangement="horizontal" >
				<label text_key="xuiStartPointPosition" width="110" height="30" />
				<label text="{position}" width="460" height="30" />

				<label text_key="xuiStartPointHeading" width="110" height="30" />
				<combobox name="cbxHeading" width="460" height="30" type="ComboBoxInt" value_min="0" value_max="359" value_increment="15" value_wrap="true" />

				<label text_key="xuiStartPointHeadingCardinalDirection" width="110" height="30" />
				<label text="{cardinal}" width="460" height="30" />
			</grid>

			<simplebutton name="btnCancel" caption_key="xuiCancel" width="210" height="32" depth="3" pos="150,-160" />
			<simplebutton name="btnOk" caption_key="xuiOk" width="210" height="32" depth="3" pos="380,-160" />
		</panel>
	</window>

	<window name="saveDirtyPrefab" anchor="CenterCenter" pos="-250,175" width="500" height="250" controller="SaveDirtyPrefab" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
			<label style="header.name" pos="6,-6" text_key="xuiSaveDirtyPrefab" />
		</panel>
		<panel name="content" pos="0,-46" height="200" depth="1" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" height="200" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="196" width="496" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<label name="lblText" pos="10, -5" depth="3" width="480" height="74" pivot="TopLeft" justify="left" text="{# is_save_new ? localization('xuiSaveNewPrefabText') : format(localization('xuiSaveDirtyPrefabText'), current_prefab_name)}" />

			<label name="lblSaveName" pos="10, -100" depth="3" width="100" height="34" pivot="Left" justify="Right" text_key="xuiPrefabSaveName" visible="{request_name}" />
			<textfield name="txtSaveName" pos="115, -100" depth="3" width="380" height="32" pivot="Left" visible="{request_name}" />
			<label name="lblInvalidPrefabName" pos="10, -130" depth="3" width="480" height="36" pivot="Left" justify="Left" color="[red]" text_key="{# prefab_name_exists ? localization('xuiPrefabAlreadyExists') : localization('xuiInvalidPrefabName') }" visible="{# prefab_name_exists or prefab_name_invalid}" />

			<table columns="3" padding="8,10" pos="5, -143">
				<simplebutton name="btnSave" depth="3" width="145" height="32" caption_key="xuiSave" enabled="{# !prefab_name_invalid and !prefab_name_exists}" />
				<simplebutton name="btnCancel" depth="3" width="145" height="32" caption_key="xuiCancel" />
				<simplebutton name="btnDontSave" depth="3" width="150" height="32" caption_key="xuiDontSave" />
			</table>

		</panel>
	</window>

	<window name="editorPanelSelector" anchor="RightTop" pos="-320,-30" width="300" height="50" controller="EditorPanelSelector" cursor_area="true">
		<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="46" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
		<!-- <label name="lblWindowName" depth="2" pos="294,-23" width="145" text="{panelname}" pivot="Right" justify="right" /> -->

		<grid name="buttons" pos="24, -23" depth="3" rows="1" width="180" cell_width="40" cell_height="32" arrangement="horizontal" repeat_content="false" controller="CategoryList" hide_gamepad_callouts="true">
			<!-- categoryname has to match window group name (case sensitive) -->
			<button name="categoryIcon" controller="CategoryEntry" categoryname="ingameDebugMenu" displayname_key="xuiIngameDebugMenu" spritename="ui_game_symbol_tool_smithing" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.5" sound="[paging_click]" use_selection_box="false" />
			<button name="categoryIcon" controller="CategoryEntry" categoryname="levelTools" displayname_key="xuiLevelTools" spritename="ui_game_symbol_stealth" visible="{is_editmode}" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.5" sound="[paging_click]" use_selection_box="false" />
			<button name="categoryIcon" controller="CategoryEntry" categoryname="levelTools2b" displayname_key="xuiPrefabTools" spritename="ui_game_symbol_tool" visible="{is_prefab_editor}" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.5" sound="[paging_click]" use_selection_box="false" />
			<button name="categoryIcon" controller="CategoryEntry" categoryname="levelTools2a" displayname_key="xuiBlockTools" spritename="ui_game_symbol_resource" visible="{is_prefab_editor}" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.5" sound="[paging_click]" use_selection_box="false" />
			<button name="categoryIcon" controller="CategoryEntry" categoryname="levelTools3" displayname_key="xuiLevelTools3" spritename="ui_game_symbol_frames" visible="{is_prefab_editor}" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.5" sound="[paging_click]" use_selection_box="false" />
			<button name="categoryIcon" controller="CategoryEntry" categoryname="worldTools" displayname_key="xuiWorldTools" spritename="ui_game_symbol_resource" visible="{# is_editmode and !is_prefab_editor}" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.5" sound="[paging_click]" use_selection_box="false" />
			<button name="categoryIcon" controller="CategoryEntry" categoryname="prefabList" displayname_key="xuiPrefabList" spritename="ui_game_symbol_map_town" visible="{# is_editmode and is_server}" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.5" sound="[paging_click]" use_selection_box="false" />
		</grid>
	</window>

	<window name="editorInfo" anchor="RightTop" pos="-730,-30" width="400" height="500" cursor_area="false" controller="EditorStat">
		<label depth="2" pos="0,-1" height="32" justify="right" text_key="xuiPrefabEditorNoPrefabLoaded" visible="{# is_editmode and !(has_loaded_prefab || has_selected_prefab)}" />
		<table depth="2" name="prefabInfo" padding="0,-1" visible="{# is_editmode and (has_loaded_prefab || has_selected_prefab)}" reposition_twice="true">
			<label height="32" justify="right" text="{loaded_prefab_name}{loaded_prefab_changed}" style="outline" />
			<label height="32" justify="right" text="Size: {prefab_size}" style="outline" />
			<label height="32" justify="right" text="Volume: {prefab_volume}" style="outline" />
			
			<table name="prefabFeatureStats" visible="{has_loaded_prefab}">
				<label height="32" justify="right" text="Selection: {selection_size}" style="outline" />
				<label height="32" justify="right" text="Loot: {loot_containers}" style="outline" />
				<label height="32" justify="right" text="Fetch: {fetchloot_containers}" style="outline" />
				<label height="32" justify="right" text="Restore Power: {restorepower_nodes}" style="outline" />
				<label height="32" justify="right" text="BlockEntities: {block_entities}" style="outline" />
			</table>
			
			<label height="32" justify="right" text="ShowQuestClearCount: {show_quest_clear_count}" style="outline" />
			<label height="32" justify="right" text="Sleeper: {sleeper_info}" style="outline" />
			<label height="32" justify="right" text="Tier: {difficulty_tier}" style="outline" />
			
			<table name="unityRenderStats" visible="{is_unityeditor}">
				<label height="32" style="outline" />
				<label height="32" justify="right" text="Tris: {tris}" style="outline" />
				<label height="32" justify="right" text="Verts: {verts}" style="outline" />
				<label height="32" justify="right" text="Drawcalls: {drawcalls}" style="outline" />
			</table>

			<label height="32" style="outline" />
			<!--<label height="32" justify="right" text="Last stats capture: {statsUpdateTime}" style="outline" visible="{has_loaded_prefab}" />-->
			<label height="32" justify="right" text="Current values:" style="outline" />
			<label height="32" justify="right" text="Verts: {statsVertices}" style="outline" />
			<label height="32" justify="right" text="Tris: {statsTriangles}" style="outline" />
			<label height="32" justify="right" text="LightsVolume: {statsLightsVolume}" style="outline" />

			<table name="prefabRenderStatsManual" visible="{has_loaded_prefab}">
				<label height="32" style="outline" visible="{has_loaded_prefab}" />
				<label height="32" justify="right" text="Last manual captured: {statsManualUpdateTime}" style="outline" visible="{has_loaded_prefab}" />
				<label height="32" justify="right" text="Verts: {statsManualVertices}" style="outline" visible="{has_loaded_prefab}" />
				<label height="32" justify="right" text="Tris: {statsManualTriangles}" style="outline" visible="{has_loaded_prefab}" />
				<label height="32" justify="right" text="LightsVolume: {statsManualLightsVolume}" style="outline" visible="{has_loaded_prefab}" />
			</table>
			
			<!--<label height="32" justify="right" text="Drawcalls: {statsDrawcalls}" style="outline" visible="{is_unityeditor}" />-->
			<!--<label height="32" justify="right" text="Colliders: TODO" style="outline" visible="{is_unityeditor}" />-->
		</table>
	</window>

	<window name="ingameDebugMenu" anchor="RightTop" pos="-320,-80" width="300" height="920" controller="InGameDebugMenu" cursor_area="true" depth="6">
		<panel name="content" depth="2" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]" padding="6">
			<table depth="2" columns="1" padding="0,2" reposition_twice="true">
				<simplebutton name="btnSuicide" depth="3" pos="5, -8" height="32" caption_key="xuiDebugMenuSuicide" visible="{# !is_editmode }" />

				<!--
				<panel name="boxTeleport" pos="5, -46" height="115" depth="3" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
					<label text_key="xuiDebugTeleportEW" depth="3" pos="7, -6" name="teleportLabelX" font_size="28" color="[white]" width="75" height="30" justify="right" />
					<textfield name="teleportX" depth="3" pos="85,-6" width="198" height="30" character_limit="6" validation="integer" />

					<label text_key="xuiDebugTeleportNS" depth="3" pos="7, -40" name="teleportLabelZ" font_size="28" color="[white]" width="75" height="30" justify="right" />
					<textfield name="teleportZ" depth="3" pos="85,-40" width="198" height="30" character_limit="6" validation="integer" />

					<simplebutton name="btnTeleport" depth="3" pos="7, -77" width="277" height="32" caption_key="xuiDebugMenuTeleport" />
				</panel>
				-->

				<panel name="timeNew" height="282" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty2px" bordercolor="[black]" backgroundcolor="[darkGrey]" padding="6" controller="InGameTimeControls" visible="{is_server}">
					<label pos="0,0" height="32" text_key="xuiDebugMenuTimeControls" />
					<table pos="0,-30" depth="2" columns="1" padding="0,1" reposition_twice="true">
						<label height="28" text="{# localization('xuiDebugDay') + ':' }" />
						<combobox name="cbxDay" depth="3" height="28" type="ComboBoxInt" value_min="1" value_max="50" value_wrap="false" />
						<label height="28" text="{# localization('xuiDebugTime') + ':' }" />
						<combobox name="cbxTime" depth="3" height="28" type="ComboBoxFloat" value_increment="1" value_min="0" value_max="23.99" value_wrap="false" format_string="0.00" />
						<label height="28" text="{# localization('xuiDebugSpeed') + ':' }" />
						<combobox name="cbxSpeed" depth="3" height="28" type="ComboBoxInt" value_min="0" value_max="500" value_wrap="false" />
						<rect height="50" createuiwidget="true">
							<panel name="timeNew" pos="33,-10" width="210" height="50" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty2px" bordercolor="[black]" backgroundcolor="[darkestGrey]" visible="{is_server}">
								<button name="btnTimeSkipBack" pos="25,-25" width="32" height="32" depth="2" pivot="center" tooltip_key="xuiDebugMenuTimeSkipBack" sprite="ui_game_symbol_arrow_max" flip="Horizontally" use_selection_box="false" sound_play_on_hover="[default_hover]" sound="[default_click]" />
								<button name="btnTimeSlower" pos="65,-25" width="32" height="32" depth="2" pivot="center" tooltip_key="xuiDebugMenuTimeSlower" sprite="ui_game_symbol_arrow_right" flip="Horizontally" use_selection_box="false" sound_play_on_hover="[default_hover]" sound="[default_click]" />
								<button name="btnTimePlayPause" pos="105,-25" width="32" height="32" depth="2" pivot="center" tooltip_key="xuiDebugMenuTimePlayPause" sprite="{# is_paused ? 'ui_game_symbol_twitch_play' : 'ui_game_symbol_twitch_pause' }" use_selection_box="false" sound_play_on_hover="[default_hover]" sound="[default_click]" />
								<button name="btnTimeFaster" pos="145,-25" width="32" height="32" depth="2" pivot="center" tooltip_key="xuiDebugMenuTimeFaster" sprite="ui_game_symbol_arrow_right" use_selection_box="false" sound_play_on_hover="[default_hover]" sound="[default_click]" />
								<button name="btnTimeSkipForward" pos="185,-25" width="32" height="32" depth="2" pivot="center" tooltip_key="xuiDebugMenuTimeSkipForward" sprite="ui_game_symbol_arrow_max" use_selection_box="false" sound_play_on_hover="[default_hover]" sound="[default_click]" />
							</panel>
						</rect>
					</table>
				</panel>

				<togglebutton name="toggleCamPositions" caption_key="xuiDebugMenuCamPerspectives" height="32" depth="3" />

				<panel name="chunks" height="112" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty2px" bordercolor="[black]" backgroundcolor="[darkGrey]" padding="6" visible="{# is_editmode and !is_prefab_editor }">
					<label pos="0,0" height="32" text_key="xuiDebugMenuChunks" />
					<rect controller="LevelToolsGenericWindow">
						<togglebutton name="Special:ShowChunkBorders" pos="0,-32" height="32" depth="3" parse_actions="true" />
					</rect>
					<simplebutton name="btnReloadChunks" pos="0,-68" depth="3" height="32" caption_key="xuiDebugMenuReloadChunks" />
				</panel>

				<panel name="lighting" height="112" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty2px" bordercolor="[black]" backgroundcolor="[darkGrey]" padding="6">
					<label pos="0,0" height="32" text_key="xuiDebugMenuLighting" />
					<togglebutton name="toggleLightPerformance" pos="0,-32" caption_key="xuiDebugMenuShowLightPerf" height="32" depth="3" />
					<simplebutton name="btnRecalcLight" pos="0,-68" depth="3" height="32" caption_key="xuiDebugMenuRecalcLight" />
				</panel>

				<panel name="stability" height="148" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty2px" bordercolor="[black]" backgroundcolor="[darkGrey]" padding="6">
					<label pos="0,0" height="32" text_key="xuiDebugMenuStability" />
					<togglebutton name="toggleDebugShaders" pos="0,-32" caption_key="xuiDebugMenuShowStability" height="32" depth="3" />
					<togglebutton name="toggleStabilityGlue" pos="0,-68" caption_key="xuiDebugMenuShowStabilityGlue" height="32" depth="3" />
					<simplebutton name="btnRecalcStability" pos="0,-104" depth="3" height="32" caption_key="xuiDebugMenuRecalcStability" />
				</panel>

				<panel name="general" height="112" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty2px" bordercolor="[black]" backgroundcolor="[darkGrey]" padding="6">
					<label pos="0,0" height="32" text_key="xuiDebugMenuGeneral" />
					<togglebutton name="togglePhysics" pos="0,-32" caption_key="xuiDebugMenuPhysicsActive" height="32" depth="3" visible="{is_server}" />
					<togglebutton name="toggleWaterSim" pos="0,-68" caption_key="xuiDebugMenuWaterSimActive" height="32" depth="3" />
				</panel>

				<togglebutton name="toggleFlyMode" caption_key="xuiDebugMenuFlyMode" height="32" depth="3" visible="{# !(is_prefab_editor or is_playtesting) }" />
				<togglebutton name="toggleGodMode" caption_key="xuiDebugMenuGodMode" height="32" depth="3" visible="{# !(is_prefab_editor or is_playtesting) }" />
				<togglebutton name="toggleNoCollisionMode" caption_key="xuiDebugMenuNoCollision" height="32" depth="3" visible="{# !(is_prefab_editor or is_playtesting) }" />
				<togglebutton name="toggleInvisibleMode" caption_key="xuiDebugMenuInvisible" height="32" depth="3" visible="{# !(is_prefab_editor or is_playtesting) }" />

				<rect height="10" createuiwidget="true" visible="{# (is_prefab_editor or is_playtesting) and is_server }" />
				<simplebutton name="btnPlaytest" height="32" caption_key="{# is_playtesting ? 'xuiDebugMenuPlaytestReset' : 'xuiDebugMenuPlaytest' }" visible="{# (is_prefab_editor or is_playtesting) and is_server }" />
				<simplebutton name="btnBackToEditor" height="32" caption_key="xuiDebugMenuBackToEditor" visible="{# is_playtesting and is_server }" />
			</table>

			<rect pos="-280, 50" visible="{is_playtesting}">
				<label text_key="xuiPlaytestBiome" pos="0, 0" width="277" height="32" depth="3" />
				<combobox pos="0, -34" width="270" height="32" name="cbxPlaytestBiome" type="ComboBoxList`1[BiomeDefinition+BiomeType]" value_wrap="false" localization_prefix="biome_" localization_key_caseinsensitive="true" />
			</rect>
		</panel>
			
		<rect name="camPositions" createuiwidget="true" pos="-300,0" anchor_top="toggleCamPositions,1,0" anchor_bottom="toggleCamPositions,1,0" controller="CamPositionsList" visible="{cam_positions_open}">
			<panel height="500" depth="20" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]" padding="6">
				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-7" width="140" height="30" pivot="topLeft" clear_button="true" />

					<pager name="pager" pos="186,-6" />
				</rect>

				<grid name="list" depth="2" rows="11" cols="1" pos="0,-50" height="160" cell_width="196" cell_height="36" repeat_content="true" arrangement="vertical">
					<rect controller="XUiC_CamPositionsList+CamPositionsListEntryController" visible="{hasentry}">
						<simplebutton name="camButton" width="250" height="32" caption="{name}{# length(comment) &gt; 0 ? '*' : '' } ({position})" tooltip_key="{comment}" />
						<button name="btnDelete" pos="270,-16" width="28" height="28" depth="2" pivot="center" tooltip_key="xuiDelete" sprite="ui_game_symbol_trash" use_selection_box="false" sound_play_on_hover="[default_hover]" sound="[default_click]" />
					</rect>
				</grid>
				
				<button name="btnAddCamPosition" pos="140,-470" width="32" height="32" depth="2" pivot="center" tooltip_key="xuiAdd" sprite="ui_game_symbol_add" selected="{cam_position_add_open}" />
			</panel>
			
			<rect name="camPositionAdd" createuiwidget="true" pos="-600,0" anchor_top="btnAddCamPosition,0.5,50" anchor_bottom="btnAddCamPosition,0.5,50" controller="XUiC_CamPositionAdd" visible="{cam_position_add_open}">
				<panel width="600" height="120" depth="20" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]" padding="6">
					<label pos="120,-16" width="120" height="32" pivot="right" justify="right" text_key="xuiCamPositionsName" />
					<textfield name="txtName" depth="5" pos="130,-0" width="458" height="32" pivot="topLeft" clear_button="true" />
					<label pos="120,-54" width="120" height="32" pivot="right" justify="right" text_key="xuiCamPositionsComment" />
					<textfield name="txtComment" depth="5" pos="130,-38" width="458" height="32" pivot="topLeft" clear_button="true" />
					<simplebutton name="btnAdd" pos="0,-76" depth="3" height="32" caption_key="xuiAdd" enabled="{valid_input}" />
				</panel>
			</rect>
		</rect>
	</window>
	
	

	<window name="levelTools" anchor="RightTop" pos="-320,-80" width="300" height="920" controller="LevelToolsGenericWindow" cursor_area="true">
		<panel name="content" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
			<table name="layoutTable" columns="1" padding="5,4" reposition_twice="true">
				<panel name="boxButtons" width="290" height="274" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiBoundsMarkersVolumes" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid pos="0,0" cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="vertical" hide_inactive="false" >
						<togglebutton name="SBM:DynamicPrefabs" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="SBM:TraderTeleport" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="SBM:SleeperVolume" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="SBM:InfoVolume" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="SBM:WallVolume" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="SBM:TriggerVolume" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="SBM:POIMarker" width="278" height="32" depth="3" parse_actions="true" />
					</grid>
				</panel>
				
				<panel name="boxButtons" width="290" height="274" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiLevelDesignLayers" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid pos="0,0" cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="vertical" hide_inactive="false" >
						<togglebutton name="Special:Unpaintable" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="Special:Paintable" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="Special:Terrain" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="Special:Decor" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="Special:Loot" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="Special:QuestLoot"  width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="Special:BlockTriggers" width="278" height="32" depth="3" parse_actions="true" />
					</grid>
				</panel>
				
				<panel name="boxButtons" width="290" height="136" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiLevelToolsMiscellaneous" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid pos="0,0" cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="vertical" hide_inactive="false" >
						<togglebutton name="SBM:Selection" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="Special:SleeperXRay" width="278" height="32" depth="3" parse_actions="true" />
						<togglebutton name="SBM:PrefabFacing" width="278" height="32" depth="3" parse_actions="true" />
					</grid>
				</panel>
			</table>
		</panel>
	</window>
	
	<window name="levelTools3" anchor="RightTop" pos="-320,-80" width="300" height="920" controller="LevelTools3Window" cursor_area="true">
		<panel name="content" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
			<table name="layoutTable" columns="1" padding="5,4" reposition_twice="true">
				<panel name="boxButtons" width="290" height="218" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiVolumeTypeSelection" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<rect name="volumeTypeSelector" controller="CategoryList" allow_key_paging="false">
						<!-- <label depth="1" pos="4,-20" width="120" height="35" font_size="28" color="[lightGrey]" pivot="left" justify="right" max_line_count="1" text_key="xuiVolumeType" overflow="shrinkcontent" /> -->
						<label depth="1" pos="30,-20" width="228" height="35" font_size="28" color="[white]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text="{currentcategorydisplayname}" overflow="shrinkcontent" />
						<grid name="volumeTypes" pos="40,-54" depth="3" rows="1" width="180" cell_width="40" cell_height="32" arrangement="horizontal" repeat_content="false">
							<button name="categoryIcon" controller="CategoryEntry" categoryname="SleeperVolume" displayname_key="xuiSleeper" spritename="ui_game_symbol_zombie" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" />
							<button name="categoryIcon" controller="CategoryEntry" categoryname="TriggerVolume" displayname_key="xuiTrigger" spritename="ui_game_symbol_electric_switch" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" />
							<button name="categoryIcon" controller="CategoryEntry" categoryname="InfoVolume" displayname_key="xuiInfo" spritename="ui_game_symbol_other" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" />
							<button name="categoryIcon" controller="CategoryEntry" categoryname="TraderTeleport" displayname_key="xuiTeleport" spritename="ui_game_symbol_teleport" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" />
							<button name="categoryIcon" controller="CategoryEntry" categoryname="WallVolume" displayname_key="xuiWall" spritename="ui_game_symbol_brick" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" />
							<button name="categoryIcon" controller="CategoryEntry" categoryname="audio" displayname_key="xuiAudio" spritename="ui_game_symbol_noise" width="32" height="32" sprite="{categoryicon|once}" tooltip="{categorydisplayname|once}" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" />
						</grid>
					</rect>

					<grid pos="0,-80" cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="vertical" hide_inactive="false" >
						<simplebutton name="btnVolumesCreate" caption_key="xuiVolumesCreate" width="278" height="32" depth="3" font_size="30" parse_actions="true" />
						<simplebutton name="btnVolumesCreateFromSelection" caption_key="xuiVolumesCreateFromSelection" width="278" height="32" depth="3" font_size="30" parse_actions="true" />
						<togglebutton name="toggleVolumesShow" caption_key="xuiVolumesToggleShow" width="278" height="32" depth="3" parse_actions="true" />
					</grid>
				</panel>

				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiVolumeGlobalFeatures" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid pos="0,0" cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="vertical" hide_inactive="false" >
						<simplebutton name="btnVolumesDupe" caption_key="xuiVolumesDupe" width="278" height="32" depth="3" font_size="30" parse_actions="true" />
						<!--<togglebutton name="toggleVolumesEasySelect" caption_key="xuiVolumesEasySelect" width="278" height="32" depth="3" parse_actions="true" />-->
					</grid>
				</panel>

				<panel name="boxButtons" width="290" height="70" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="255,150,0" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="Legacy" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid pos="0,0" cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="vertical" hide_inactive="false" >
						<simplebutton name="buttonCopySleeperVolume" caption="" width="278" height="32" depth="3" parse_actions="true" />
					</grid>
				</panel>
				
			</table>
			
			<!-- missing from BTS: {"copySleeperVolume", sleeperVolumeCopy} -->
		</panel>
	</window>

	<window name="levelTools2b" anchor="RightTop" pos="-320,-80" width="300" height="920" controller="LevelToolsGenericWindow" cursor_area="true">
		<panel name="content" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
			<table name="layoutTable" columns="1" padding="5,4" reposition_twice="true">

				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiPrefabGroundPlaneBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="2" rows="29" width="278" cell_width="141" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<togglebutton name="Special:GroundGridToggle" width="277" height="32" depth="3" parse_actions="true" />
						<rect />
						<simplebutton name="Special:GroundGridMoveUp" depth="3" width="136" height="32" font_size="30" parse_actions="true" />
						<simplebutton name="Special:GroundGridMoveDown" depth="3" width="136" height="32" font_size="30" parse_actions="true" />
					</grid>
				</panel>

				<togglebutton name="Special:CompositionGrid" width="278" height="32" depth="3" parse_actions="true" />
				
				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiMovePrefab" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="2" rows="29" width="278" cell_width="141" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<simplebutton name="Special:PrefabMoveUp" depth="3" width="136" height="32" font_size="30" parse_actions="true" />
						<simplebutton name="Special:PrefabMoveDown" depth="3" width="136" height="32" font_size="30" parse_actions="true" />

						<simplebutton name="Special:PrefabUpdateBounds" width="277" height="32" pos="7,-80" depth="3" parse_actions="true" />
					</grid>
				</panel>

				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiPrefabFacingBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<togglebutton name="Special:PrefabFacingToggle" width="277" height="32" depth="3" parse_actions="true" />
						<simplebutton name="Special:PrefabFacingUpdate" width="277" height="32" depth="3" parse_actions="true" />
					</grid>
				</panel>

				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiPrefabPerformanceBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<togglebutton name="Special:LightPerformance" width="277" height="32" depth="3" parse_actions="true" />
						<simplebutton name="Special:CapturePrefabStats" width="277" height="32" depth="3" parse_actions="true" />
					</grid>
				</panel>

				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiPrefabImposterBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<simplebutton name="Special:ImposterUpdate" width="277" height="32" depth="3" parse_actions="true" />
						<togglebutton name="Special:ImposterToggle" width="277" height="32" depth="3" parse_actions="true" />
					</grid>
				</panel>

				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiPrefabScreenshotBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="1" rows="29" width="278" cell_width="278" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<togglebutton name="Special:PrefabScreenshotToggleBounds" width="277" height="32" depth="3" parse_actions="true" />
						<simplebutton name="Special:PrefabScreenshotTake" width="277" height="32" depth="3" font_size="30" parse_actions="true" />
					</grid>
				</panel>

				<simplebutton name="Special:PrefabProperties" depth="3" width="290" height="32" parse_actions="true" />
			</table>
		</panel>
	</window>

	<window name="levelTools2a" anchor="RightTop" pos="-320,-80" width="300" height="920" controller="LevelToolsGenericWindow" cursor_area="true">
		<panel name="content" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
			<table name="layoutTable" columns="1" padding="5,4" reposition_twice="true">

				<panel name="boxButtons" width="290" height="410" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiSearchAndReplaceBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<table name="layoutTable" columns="1" padding="5,4" reposition_twice="true">
						<panel name="boxHighlightBlocks" width="270" height="79" depth="3" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
							<togglebutton name="Special:HighlightBlocksToggle" width="257" height="32" pos="7, -6" depth="3" parse_actions="true" />
							<dropdownbox name="txtHighlightBlockName" pos="7,-40" width="257" height="30" dropdown_size="14" dropdown_lineheight="26" />
						</panel>

						<panel name="boxReplaceBlockIds" width="270" height="115" depth="3" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
							<label text_key="xuiReplaceBlockIdsOld" depth="3" pos="7, -6" name="oldIdLabel" font_size="28" color="[white]" width="75" height="32" justify="right" />
							<dropdownbox name="txtOldBlockId" pos="85,-6" width="178" height="30" dropdown_size="14" dropdown_lineheight="26" />

							<label text_key="xuiReplaceBlockIdsNew" depth="3" pos="7, -40" name="newIdLabel" font_size="28" color="[white]" width="75" height="32" justify="right" />
							<dropdownbox name="txtNewBlockId" pos="85,-40" width="178" height="30" dropdown_size="14" dropdown_lineheight="26" />

							<simplebutton name="btnReplaceBlockIds" depth="3" pos="7, -77" width="257" height="32" caption_key="xuiReplaceBlockIdsButton" parse_actions="true" />
						</panel>

						<togglebutton name="Special:PaintTexturesToggle" depth="3" width="270" height="32" parse_actions="true" />

						<panel name="boxReplaceShapeMaterials" width="270" height="115" depth="3" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
							<label text_key="xuiReplaceBlockIdsOld" depth="3" pos="7, -6" name="oldIdLabel" font_size="28" color="[white]" width="75" height="32" justify="right" />
							<dropdownbox name="txtOldShapeMaterial" pos="85,-6" width="178" height="30" dropdown_size="14" dropdown_lineheight="26" />

							<label text_key="xuiReplaceBlockIdsNew" depth="3" pos="7, -40" name="newIdLabel" font_size="28" color="[white]" width="75" height="32" justify="right" />
							<dropdownbox name="txtNewShapeMaterial" pos="85,-40" width="178" height="30" dropdown_size="14" dropdown_lineheight="26" />

							<button name="btnReplaceShapeMaterialSwitchInOut" pos="16,-35" depth="3" size="28,28" sprite="ui_game_symbol_swap" tooltip_key="xuiReplaceShapeMaterialsSwitchInOut" pivot="center" collider_scale="1.25" sound="[paging_click]" use_selection_box="false" />

							<simplebutton name="btnReplaceShapeMaterials" depth="3" pos="7, -77" width="257" height="32" caption_key="xuiReplaceShapeMaterialsButton" parse_actions="true" />
						</panel>
					</table>
				</panel>

				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiBlockTextureOperationsBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="1" rows="29" width="278" cell_width="141" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<simplebutton name="Special:TexturesStrip" depth="3" width="277" height="32" parse_actions="true" />
						<simplebutton name="Special:TexturesStripInternal" depth="3" width="277" height="32" parse_actions="true" />
					</grid>
				</panel>

				<panel name="boxButtons" width="290" height="104" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiTerrainDensitiesBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="2" rows="29" width="278" cell_width="141" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<simplebutton name="Special:DensitiesSmoothLand" depth="3" width="136" height="32" font_size="30" parse_actions="true" />
						<simplebutton name="Special:DensitiesSmoothAir" depth="3" width="136" height="32" font_size="30" parse_actions="true" />
						<simplebutton name="Special:DensitiesClean" depth="3" width="277" height="32" parse_actions="true" />
					</grid>
				</panel>
				
				<panel name="boxButtons" width="290" height="172" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
					<label name="lblCaption" depth="4" pos="14,-16" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="xuiBlueBrushOperationsBox" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
					<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

					<grid cols="1" rows="29" width="278" cell_width="141" cell_height="34" arrangement="horizontal" hide_inactive="false" >
						<togglebutton name="BTS:copyAirBlocks" depth="3" width="277" height="32" parse_actions="true" />
						<simplebutton name="BTS:fillSelection" depth="3" width="277" height="32" parse_actions="true" />
						<simplebutton name="BTS:randomFillSelection" depth="3" width="277" height="32" parse_actions="true" />
						<simplebutton name="BTS:clearSelection" depth="3" width="277" height="32" parse_actions="true" />
					</grid>
				</panel>
			</table>

			<rect pos="5,-920">
				<simplebutton name="BTS:undo" pos="0,76" depth="3" width="290" height="32" parse_actions="true" />
				<simplebutton name="BTS:redo" pos="0,40" depth="3" width="290" height="32" parse_actions="true" />
			</rect>
		</panel>
	</window>

	<window name="worldTools" anchor="RightTop" pos="-320,-80" width="300" height="920" controller="WorldToolsWindow" cursor_area="true">
		<panel name="content" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
			<table name="layoutTable" columns="1" padding="5,4" >
				<simplebutton name="btnLevelStartPoint" depth="3" width="285" height="32" caption_key="xuiSpawnEntitiesLevelStartPoint" />

				<label text_key="xuiSelectionBoxTransparency" width="277" height="32" depth="3" />
				<combobox name="cbxBoxSideTransparency" width="270" type="ComboBoxFloat" value_increment="0.1" value_min="0" value_max="1" value_wrap="false" format_string="0.0" />

				<rect/>
				
				<label text_key="xuiSelectionBoxCaptions" width="277" height="32" depth="3" />
				<combobox name="cbxBoxSelectionCaptions" width="270" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />

				<rect/>
				
				<label text_key="xuiPrefabPreviewLimit" width="277" height="32" depth="3" />
				<combobox name="cbxBoxPrefabPreviewLimit" width="270" type="ComboBoxInt" value_min="-20" value_max="20" value_wrap="false" />
			</table>
		</panel>
	</window>

	<window name="prefabList" anchor="RightTop" pos="-320,-80" width="300" height="920" controller="PrefabList" cursor_area="true">
		<panel name="content" depth="1" pivot="center" borderthickness="0" borderspritename="menu_empty3px" bordercolor="[black]" backgroundcolor="[darkGrey]">
			<rect name="groups" pos="0,0" height="220" controller="PrefabGroupList" clear_selection_on_open="false">
				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-22" width="160" height="30" pivot="Left" />

					<panel pos="202,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="groups" />
					</panel>
				</rect>

				<grid name="list" depth="2" rows="5" cols="2" pos="0,-44" height="150" cell_width="150" cell_height="30" repeat_content="true" arrangement="vertical" >
					<prefab_group_entry width="150" height="30" />
				</grid>
			</rect>

			<rect name="files" pos="0,-200" height="346" controller="PrefabFileList" clear_selection_on_open="false" cursor_controllable="true">
				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-22" width="160" height="30" pivot="Left" />

					<panel pos="202,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="files" />
					</panel>
				</rect>

				<grid name="list" depth="2" rows="11" cols="1" pos="0,-44" height="540" cell_width="300" cell_height="30" repeat_content="true" arrangement="vertical" >
					<prefab_file_entry width="300" height="30" />
				</grid>
			</rect>

			<panel name="previewFrame" depth="2" pos="3,-570" width="294" height="225" disableautobackground="true" snap="false">
				<texture depth="2" name="prefabPreview" material="Materials/Transparent Colored" globalopacity="false"/>
				<label depth="1" name="noPreview" pos="0, -110" width="300" height="28" text="No preview image" font_size="28" color="[red]" justify="center" pivot="left" />
			</panel>

			<rect name="prefabEditorButtons" visible="{is_prefab_editor}">
				<grid name="buttons" pos="5, -800" cols="3" rows="2" width="290" cell_width="99" cell_height="40" arrangement="horizontal" repeat_content="false" >
					<simplebutton name="btnLoad" depth="3" caption_key="xuiPrefabsLoad" tooltip_key="xuiPrefabsLoadTooltip" width="93" height="30" font_size="30" />
					<simplebutton name="btnProperties" depth="3" caption_key="xuiPrefabsProperties" tooltip_key="xuiPrefabsPropertiesTooltip" width="93" height="30" font_size="30" />
					<simplebutton name="btnSave" depth="3" caption_key="xuiPrefabsSave" tooltip_key="xuiPrefabsSaveTooltip" width="93" height="30" font_size="30" />

					<simplebutton name="btnLoadIntoPrefab" depth="3" caption_key="xuiPrefabsLoadIntoPrefab" tooltip_key="xuiPrefabsLoadIntoPrefabTooltip" width="93" height="30" font_size="30" />
					<simplebutton name="btnApplyLoadedPrefab" depth="3" caption_key="xuiPrefabsApplyLoadedPrefab" tooltip_key="xuiPrefabsApplyLoadedPrefabTooltip" width="93" height="30" font_size="30" />
					<!--<simplebutton name="btnCleanOtherPrefabs" depth="3" caption_key="xuiPrefabsCleanOtherPrefabs" tooltip_key="xuiPrefabsCleanOtherPrefabsTooltip" width="93" height="30" font_size="30" />-->
					<simplebutton name="btnLoadIntoClipboard" depth="3" caption_key="xuiPrefabsLoadIntoClipboard" tooltip_key="xuiPrefabsLoadIntoClipboardTooltip" width="93" height="30" font_size="30" />
				</grid>
				
				<simplebutton name="btnNew" pos="5, -870" pivot="TopLeft" depth="3" caption_key="xuiPrefabsNew" tooltip_key="xuiPrefabsNewTooltip" width="290" height="30" font_size="30" />
			</rect>

			<rect name="worldEditorButtons" visible="{# is_editmode and !is_prefab_editor}">
				<grid name="buttons" pos="5, -800" cols="3" rows="2" width="290" cell_width="99" cell_height="40" arrangement="horizontal" repeat_content="false" >
					<simplebutton name="btnWorldPlacePrefab" pivot="TopLeft" depth="3" caption_key="xuiWorldPrefabsPlace" tooltip_key="xuiWorldPrefabsPlaceTooltip" width="93" height="30" font_size="30" />
					<simplebutton name="btnWorldReplacePrefab" pivot="TopLeft" depth="3" caption_key="xuiWorldPrefabsReplace" tooltip_key="xuiWorldPrefabsReplaceTooltip" width="93" height="30" font_size="30" />
					<simplebutton name="btnWorldDeletePrefab" pivot="TopLeft" depth="3" caption_key="xuiWorldPrefabsDelete" tooltip_key="xuiWorldPrefabsDeleteTooltip" width="93" height="30" font_size="30" />
					<simplebutton name="btnWorldApplyPrefabChanges" pivot="TopLeft" depth="3" caption_key="xuiWorldPrefabsApply" tooltip_key="xuiWorldPrefabsApplyTooltip" width="93" height="30" font_size="30" />
					<simplebutton name="btnWorldRevertPrefabChanges" pivot="TopLeft" depth="3" caption_key="xuiWorldPrefabsRevert" tooltip_key="xuiWorldPrefabsRevertTooltip" width="93" height="30" font_size="30" />
				</grid>
			</rect>

		</panel>
	</window>

	<window name="createPoi" anchor="CenterCenter" pos="-275,400" width="550" height="690" controller="CreatePoi" cursor_area="true">
		<panel name="createHeader" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" padding="5,6" >
			<label upper_case="true" font_size="36" text_key="xuiCreatePoi" pivot="left" pos="0,${-Round(parentinnerheight/2,0)}" />
		</panel>
		<panel name="content" pos="0,-46" height="550" depth="1" padding="10,6">
			<boxbg />

			<grid rows="10" cols="1" cell_width="400" cell_height="40" arrangement="vertical">
				<rect name="name">
					<label depth="4" pos="0,0" width="220" height="30" style="hover" text_key="xuiCreatePoiName" tooltip_key="{# valid_name ? 'xuiCreatePoiNameTooltip' : (name_exists ? 'xuiCreatePoiNameInUseTooltip' : 'xuiCreatePoiNameInvalidTooltip') }" font_size="28" justify="right" pivot="topleft" color="{# valid_name ? '255,255,255' : '255,0,0' }" />
					<textfield depth="5" pos="259,0" width="230" height="32" name="txtName" on_hover="true" tooltip_key="{# valid_name ? 'xuiCreatePoiNameTooltip' : (name_exists ? 'xuiCreatePoiNameInUseTooltip' : 'xuiCreatePoiNameInvalidTooltip') }" pivot="topLeft" select_on_tab="txtSizeX" />
				</rect>

				<rect name="size">
					<label depth="4" pos="0,0" width="220" height="30" style="hover" text_key="xuiCreatePoiSize" tooltip_key="xuiCreatePoiSizeTooltip" font_size="28" justify="right" pivot="topleft" color="[white]" />
					<combobox pos="225,0" width="300" height="32" name="cmbSize" type="ComboBoxList`1[XUiC_CreatePoi+PoiSizeInfo]" tooltip_key="xuiCreatePoiSizeTooltip" value_wrap="false" values="25x25/XS/POIs,42x42/S/POIs,60x60/M/POIs,100x100/L/POIs,150x150/T/RWGTiles,Custom/POIs" />
				</rect>

				<rect name="customSize">
					<label depth="4" pos="0,0" width="220" height="30" style="hover" text_key="xuiCreatePoiSizeCustom" tooltip_key="xuiCreatePoiSizeCustomTooltip" font_size="28" justify="right" pivot="topleft" color="{# size_custom ? (valid_custom_size ? '255,255,255' : '255,0,0') : '160,160,160' }" />
					<panel depth="10" pos="0,0" createuipanel="true" disableautobackground="true" >
						<textfield depth="5" pos="259,0" width="100" height="32" name="txtSizeX" tooltip_key="xuiCreatePoiSizeCustomXTooltip" pivot="topLeft" validation="integer" character_limit="3" clear_button="false" select_on_tab="txtSizeZ" enabled="{size_custom}" />
						<label depth="4" pos="359,0" width="30" height="32" name="divider" text="x" font_size="32" justify="center" pivot="topleft" color="{# size_custom ? '255,255,255' : '160,160,160' }" />
						<textfield depth="5" pos="389,0" width="100" height="32" name="txtSizeZ" tooltip_key="xuiCreatePoiSizeCustomZTooltip" pivot="topLeft" validation="integer" character_limit="3" clear_button="false" select_on_tab="txtDepth" enabled="{size_custom}" />
					</panel>
				</rect>

				<rect name="depth">
					<label depth="4" pos="0,0" width="220" height="30" style="hover" text_key="xuiCreatePoiDepth" tooltip_key="xuiCreatePoiDepthTooltip" font_size="28" justify="right" pivot="topleft" color="{# valid_depth ? '255,255,255' : '255,0,0' }" />
					<textfield depth="5" pos="259,0" width="230" height="32" name="txtDepth" on_hover="true" tooltip_key="xuiCreatePoiDepthTooltip" pivot="topLeft" validation="integer" character_limit="2" clear_button="false" select_on_tab="txtName" value="1" />
				</rect>

				<rect name="location">
					<label depth="4" pos="0,0" width="220" height="30" style="hover" text_key="xuiCreatePoiLocation" tooltip_key="xuiCreatePoiLocationTooltip" font_size="28" justify="right" pivot="topleft" color="[white]" />
					<combobox pos="225,0" width="300" height="32" name="cmbLocation" type="ComboBoxEnum`1[PathAbstractions+EAbstractedLocationType]" tooltip_key="xuiCreatePoiLocationTooltip" value_wrap="false" values="GameData,UserDataPath,Mods" />
				</rect>

				<rect name="mod">
					<label depth="4" pos="0,0" width="220" height="30" style="hover" text_key="xuiCreatePoiMod" tooltip_key="xuiCreatePoiModTooltip" font_size="28" justify="right" pivot="topleft" color="{# location=='Mods' ? '255,255,255' : '160,160,160' }" />
					<combobox pos="225,0" width="300" height="32" name="cmbMod" type="ComboBoxList`1[Mod]" tooltip_key="xuiCreatePoiModTooltip" value_wrap="false" gamepad_selectable="{# location=='Mods' }" enabled="{# location=='Mods' }" />
				</rect>

				<rect name="folder">
					<label depth="4" pos="0,-5" width="220" height="30" style="hover" text_key="xuiCreatePoiFolder" tooltip_key="xuiCreatePoiFolderTooltip" font_size="28" justify="right" pivot="topleft" color="{# valid_folder ? '255,255,255' : '255,0,0' }" />
					<rect name="folders" pos="225,0" width="300" height="346" controller="PrefabFolderList" clear_selection_on_open="false" cursor_controllable="true">
						<rect depth="4" name="searchControls" height="44" pos="0,-0">
							<sprite depth="8" name="backgroundMain" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" />

							<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
							<textfield name="searchInput" depth="5" pos="40,-22" width="160" height="30" pivot="Left" />

							<panel pos="202,0" width="98" height="43" disableautobackground="true">
								<pager name="pager" pos="1,-6" contents_parent="folders" />
							</panel>
						</rect>

						<grid name="list" depth="2" rows="8" cols="1" pos="0,-44" height="540" cell_width="300" cell_height="30" repeat_content="true" arrangement="vertical" >
							<prefab_folder_entry width="300" height="30" />
						</grid>
					</rect>
				</rect>
			
			</grid>
		</panel>
		
		<rect name="buttons" pos="0,-610" height="48">
			<simplebutton name="btnCancel" depth="3" pos="0,0" width="200" font_size="32" caption_key="xuiCancel" upper_case="true" />
			<simplebutton name="btnOk" depth="3" pos="350,0" width="200" font_size="32" caption_key="xuiOk" upper_case="true" enabled="{# valid_name and valid_size and valid_depth and valid_folder }" />
		</rect>
	</window>
	
	<window name="windowPowerCameraControl" pos="-600,450" width="1200" height="810" anchor="CenterCenter" controller="CameraWindow" visible="false">
		<panel style="header.panel">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_map_cursor"/>
			<label style="header.name.shrink" text="Camera Control" text_key="xuiCameraControl" />
		</panel>
		<panel depth="10005" pos="0,-46" name="cameraDrag" width="100%" height="100%" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" style="drag">
			<texture depth="10006" pos="3,-3" name="camera" material="Materials/Transparent Colored" width="1194" height="804" globalopacity="false"/>
		</panel>
	</window>

	<window name="windowPowerCameraControlPreview" width="228" height="128" panel="Left" controller="CameraWindow" cursor_area="true">
		<panel style="header.panel">
			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_search"/>
			<label style="header.name.shrink" text="Camera Preview" text_key="xuiCameraPreview" />
		</panel>
		<panel pos="0,-46" name="cameraClick" width="100%" height="100%" depth="2" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" style="press" sound_play_on_press="false">
			<texture depth="105" pos="3,-3" name="camera" material="Materials/Transparent Colored" width="222" height="122" globalopacity="false"/>
		</panel>
	</window>

	<window name="prefabeditorhelp" anchor="CenterCenter" pos="-550,450" width="1100" height="850" controller="PrefabEditorHelp" cursor_area="true">
		<panel name="outclick" pos="-2000,2000" width="8000" height="8000" depth="-8" createuipanel="true" on_press="true" disableautobackground="true" gamepad_selectable="false">
			<!--<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="30,30,30,160" type="sliced" fillcenter="true" />-->
		</panel>

		<panel name="noclick" depth="-5" createuipanel="true" on_press="true" disableautobackground="true" gamepad_selectable="false">
			<!--<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,50" type="sliced" fillcenter="true" />-->
		</panel>

		<panel name="header" pos="0,0" height="43" depth="10" backgroundspritename="ui_game_panel_header" createuipanel="true" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" name="windowheader" pos="6,-6" width="800" text_key="xuiPrefabEditorHelp" />
		</panel>

		<rect name="tabs" controller="TabSelector" pos="0,-50" height="800">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />

			<rect name="tabsHeader" height="39" depth="0">
				<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />

				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="4" cell_width="200" cell_height="36" repeat_content="true" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
				</grid>
			</rect>

			<rect name="tabsContents" depth="2" pos="0,-37" height="761">
				<sprite depth="0" pos="2,0" width="1096" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />

				<rect controller="TabSelectorTab" tab_key="xuiPrefabEditorHelpMain">
					<table columns="2" depth="3" padding="10,10" pos="10,-20" hide_inactive="false">
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" pivot="topleft" text_key="xuiPrefabEditorHelpFocusBlockKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" pivot="topleft" text_key="xuiPrefabEditorHelpFocusBlockText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpDeleteBlockKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpDeleteBlockText" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpCopyBlocksKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpCopyBlocksText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpCopyRotationBlocksKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpCopyRotationBlocksText" force_input_style="keyboard" />
					</table>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiPrefabEditorHelpSelectionsGeneric">
					<table columns="2" depth="3" padding="10,10" pos="10,-20" hide_inactive="false">
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpCreateSelectionKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpCreateSelectionText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpUnselectBoxKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpUnselectBoxText" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionPropertiesKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionPropertiesText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionAboveTerrainKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionAboveTerrainText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionMoveKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionMoveText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionMoveModeKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionMoveModeText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionMoveDirectKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionMoveDirectText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionResizeKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionResizeText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionFaceKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionFaceText" force_input_style="keyboard" />
					</table>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiPrefabEditorHelpSelectionsEdit">
					<table columns="2" depth="3" padding="10,10" pos="10,-20" hide_inactive="false">
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionFillKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionFillText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionClearKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionClearText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionRotateKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionRotateText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionMirrorKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionMirrorText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionDensityKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionDensityText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpSelectionRemoveKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpSelectionRemoveText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpCopyKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpCopyText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpPasteKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpPasteText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpPasteAdvancedKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpPasteAdvancedText" force_input_style="keyboard" />
						<label parse_actions="true" width="300" overflow="resizeheight" justify="right" text_key="xuiPrefabEditorHelpUndoKey" force_input_style="keyboard" />
						<label width="750" overflow="resizeheight" text_key="xuiPrefabEditorHelpUndoText" force_input_style="keyboard" />
					</table>
				</rect>
			</rect>
		</rect>
	</window>
	
	<window name="windowDewCollector" width="{windowWidth}" height="378" controller="DewCollectorWindow" panel="Left" anchor_side="bottomright" visible="false" cursor_area="true" >
		<panel name="header" height="43" depth="0" disableautobackground="true" anchor_left="queue,0,-3" anchor_right="queue,1,0" >
			<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header" anchor_left="queue,0,-3" anchor_right="queue,1,0" />
			<sprite depth="3" name="windowIcon" style="icon32px" pivot="center" pos="21,-21" sprite="ui_game_symbol_loot_sack" />
			<label depth="2" name="lootName" pos="39,-6" width="180" height="32" text_key="xuiDewCollector" font_size="32" />
			
			<rect anchor_left="queue,1,-300" anchor_right="queue,1,0" pivot="topleft" pos="0,0" controller="ContainerStandardControls" createuiwidget="true" visible="false">
				<!-- <button   depth="3" name="btnSort"             sprite="ui_game_symbol_sort"          tooltip_key="lblSortContainer"        pos="194, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" /> -->
				<!-- <button   depth="3" name="btnMoveAll"          sprite="ui_game_symbol_store_all_up"     tooltip="{take_all_tooltip}"          pos="274, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" /> -->
				<!-- <button   depth="3" name="btnMoveFillAndSmart" sprite="ui_game_symbol_store_similar_up" tooltip_key="xuiLootTakeFillAndSmart" pos="234, -22" style="icon32px, press, hover" pivot="center" sound="[paging_click]" /> -->
			</rect>
			
		</panel>
		<rect name="content" pos="3,-49" >
			<sprite depth="0" name="bg" color="255,255,255,1" type="sliced" sprite="menu_empty" anchor_left="queue,0,-3" anchor_bottom="queue,0,0" anchor_right="queue,1,0" anchor_top="queue,1,49" />
			<grid depth="12" name="queue" rows="1" cols="3" cell_width="75" cell_height="75" repeat_content="true" controller="DewCollectorContainer" required_item="drinkJarEmpty">
				<dewcollector_stack controller="DewCollectorStack" override_stack_count="1" name="0"/>
			</grid>
		</rect>
	</window>
	
	<window name="windowDewCollectorMods" width="228" height="121" panel="Right" cursor_area="true" >
		<panel style="header.panel">
			<sprite style="header.icon" sprite="ui_game_symbol_assemble"/>
			<label style="header.name" text="MODS" text_key="xuiTools"/>
		</panel>

		<rect name="content" depth="0" pos="0,-46" height="75" disablefallthrough="true">

			<grid name="inventory" rows="1" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="DewCollectorModGrid" repeat_content="true">
				<item_stack controller="RequiredItemStack" name="0"/>
			</grid>
		</rect>
	</window>

	<window name="windowCollectorFuel" width="228" height="166" panel="Right" cursor_area="true">
		<panel style="header.panel">
			<sprite style="header.icon" sprite="ui_game_symbol_flower"/>
			<label style="header.name.iconright" text="Flowers" text_key="xuiFlowers"/>
			<!-- <label style="header.timer"/> -->
		</panel>

		<rect name="content" depth="0" pos="0,-46" height="79" >
			<rect disablefallthrough="true">
				<grid rows="1" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="CollectorFuelGrid" repeat_content="true">
					<item_stack name="0"/>
				</grid>
			</rect>
				<grid name="slot_preview" depth="1" rows="1" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="SlotPreview">
					<rect>
						<sprite name="slot" depth="2" width="64" height="64" sprite="plantedGoldenrod3HarvestPlayer" atlas="ItemIconAtlasGreyscale" pos="35,-35" pivot="center" foregroundlayer="true"/>
					</rect>
					<rect>
						<sprite name="slot" depth="2" width="64" height="64" sprite="plantedChrysanthemum3Harvest" atlas="ItemIconAtlasGreyscale" pos="35,-35" pivot="center" foregroundlayer="true"/>
					</rect>
					<rect>
						<sprite name="slot" depth="2" width="64" height="64" sprite="plantedCotton3Harvest" atlas="ItemIconAtlasGreyscale" pos="35,-35" pivot="center" foregroundlayer="true"/>
					</rect>
				</grid>
		</rect>
	</window>


	<window name="serverjoinrulesdialog" anchor="CenterCenter" depth="400" pos="-450,300" width="900" height="600" controller="ServerJoinRulesDialog" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" />
			<label style="header.name" pos="6,-6" text_key="xuiServerJoinRulesDialog" />
		</panel>
		<panel name="content" pos="0,-46" height="500" depth="1" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="496" width="896" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<label name="labelConfirmationText" pos="10,-10" width="880" height="480" depth="2" />
		</panel>

		<grid depth="2" rows="1" cols="2" pos="590, -550" height="32" cell_width="160" cell_height="32" repeat_content="false" arrangement="horizontal">
			<simplebutton name="btnLeave" depth="3" width="150" height="32" caption_key="xuiLeave" />
			<simplebutton name="btnSpawn" depth="3" width="150" height="32" caption_key="xuiSpawn" />
		</grid>
	</window>

	<window name="chatoutput" pos="20, -250" depth="10" width="500" height="250" anchor="LeftTop" controller="ChatOutput" fadeout_wait_time="5" fadeout_duration="2">
		<textlist name="txtOutput" pos="8,-214" width="484" height="210" list_style="chat" pivot="bottomleft" depth="2" font_size="26" crispness="Never" effect="outline" effect_distance="1,1" effect_color="[black]" on_press="true" prefix_first_line="   " support_urls="Chat,DiscordMessageButton" gamepad_selectable="false"/>
	</window>

	<window name="chat" pos="20, -250" width="500" height="250" anchor="LeftTop" controller="Chat" cursor_area="true">
		<rect name="frame" depth="0" createuiwidget="true">
			<rect name="input" depth="2" pos="0,-218" height="32" createuiwidget="true">
				<label name="toLabel" pos="4,-17" width="100" height="22" pivot="left" justify="right" text_key="xuiChatTo" />
				<combobox name="cbxTarget" type="ComboBoxList`1[XUiC_Chat+ChatTarget]" value_max="party" pos="108, -6" width="300" height="22" font_size="22" />
				<textfield name="txtInput" backgroundcolor="[transparent]" depth="2" pos="6,-34" width="488" height="26" pivot="topleft" justify="left" effect="outline" overflow="resizeheight" character_limit="300" max_line_count="0" crispness="Never" focus_on_open="true" open_vk_on_open="false" ignore_up_down_keys="true" />

				<sprite depth="8" name="border" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" anchor_left="frame,0,0" anchor_right="frame,1,0" anchor_top="input,1,0" anchor_bottom="text,0,-6" />
			</rect>

			<sprite depth="8" name="border" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" anchor_left="frame,0,0" anchor_right="frame,1,0" anchor_top="frame,1,0" anchor_bottom="text,0,-6" />
			<sprite color="[darkGrey]" type="sliced" globalopacitymod="0.7" anchor_left="frame,0,0" anchor_right="frame,1,0" anchor_top="frame,1,0" anchor_bottom="text,0,-6" />
		</rect>
	</window>


<!--
	<window name="serverinfowindow" anchor="CenterTop" pos="-450,-100" width="900" height="800" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" />
			<label style="header.name" pos="6,-6" text="Server Information" />
		</panel>
		<panel name="content" pos="0,-46" height="750" depth="1" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" height="750" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="746" width="896" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<label pos="10,-10" depth="2" text="Rules on this server:" />
			<grid pos="20,-42" rows="0" cell_width="890" cell_height="32" repeat_content="false" arrangement="vertical" >
				<label text="- No cheating" />
				<label text="- No killing zeds" />
				<label text="- And a lot more stuff on here ......." />
			</grid>
		</panel>
	</window>
-->

	<window name="messageBox" anchor="CenterCenter" pos="-280,140" width="560" height="279" cursor_area="true" depth="1000">
		<panel name="noclick" depth="0" createuipanel="true" on_press="true" pos="-4000,4000" width="8000" height="8000" disableautobackground="true" visible="{# !is_modal}" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,200" type="sliced" fillcenter="true" />
		</panel>

		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text="{msgTitle}" />
		</panel>
		<panel name="content" pos="0,-46" height="194" depth="1" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="194" color="[black]" type="sliced" fillcenter="false" />	
			<label depth="3" name="descriptionText" pos="8,-6" width="544" text="{msgText}" font_size="28" overflow="resizeheight" upper_case="false" />

			<rect name="btnLeft" depth="3" pos="0, -243" width="200" height="36" disableautobackground="true" visible="{showleftbutton}">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
				<rect depth="3" pos="0,-3" height="31">
					<button name="clickable2" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>
					<!-- <sprite depth="2" name="windowIcon" width="24" height="24" pos="45,-2" color="[iconColor]" sprite="ui_game_symbol_check"/> -->
					<label depth="2" name="btnLabel" pos="0,-2" justify="center" text_key="{leftbuttontext}" effect="outline" upper_case="true" />
				</rect>
			</rect>

			<rect name="btnRight" depth="3" pos="360, -243" width="200" height="36" disableautobackground="true">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
				<rect depth="3" pos="0,-3" height="31">
					<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>
					<!-- <sprite depth="2" name="windowIcon" width="24" height="24" pos="45,-2" color="[iconColor]" sprite="ui_game_symbol_check"/> -->
					<label depth="2" name="btnLabel" pos="0,-2" justify="center" text_key="{rightbuttontext}" effect="outline" upper_case="true" />
				</rect>
			</rect>
		</panel>
	</window>
	
	<window name="windowMultiplayerPrivilegesInGame" anchor="CenterCenter" pos="0,0" depth="13000" createuipanel="true" disableautobackground="true" controller="MultiplayerPrivilegeNotification">
		<button name="outclick" width="8000" height="8000" depth="100000" createuipanel="true" on_press="true" disableautobackground="true" gamepad_selectable="false">
			<sprite name="backgroundMain" pivot="center" sprite="menu_empty3px" color="30,30,30,160" type="sliced" fillcenter="true" />
		</button>
		<panel name="header" pos="-300,146" width="600" height="43" depth="3" bordercolor="[black]" borderthickness="3" createuipanel="true">
			<label style="header.name" pos="6,-6"  width="600" height="43" text_key="lblPrivilegesHeader" font_size="32" />
		</panel>
		<panel name="content" pos="-300,100" width="600" height="268" depth="3" bordercolor="[black]" borderthickness="3" pivot="center" createuipanel="true">
			<sprite name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacitymod="2" />
			<label depth="4" name="lblResolvingPrivileges" pos="10,-6" width="580" text_key="lblResolvingPrivileges" font_size="32" />
			<label depth="4" name="lblInvalidPrivileges" pos="10,-6" width="580" text_key="lblInvalidPrivileges" font_size="32" />
		</panel>
		<panel name="buttons" pos="-300,-168" height="32" depth="4" borderthickness="3" createuipanel="true" disableautobackground="true" >
			<simplebutton name="btnCancel" depth="4" pos="0, 0" width="180" height="36" font_size="32" caption_key="xuiCancel" upper_case="true" />
			<simplebutton name="btnClose" depth="4" pos="0, 0" width="180" height="36" font_size="32" caption_key="xuiOk" upper_case="true" />
		</panel>
	</window>
	
	<window name="windowDemo" pos="-922,521" depth="20000" width="1845" height="1040" controller="DemoWindow">
		<texture depth="8" texture="Textures/UI/xbox_demo_screen" width="100%" height="100%" visible="{is_xbox}" />
		<texture depth="8" texture="Textures/UI/ps5_demo_screen" width="100%" height="100%" visible="{is_ps5}" />
	</window>

	<window name="bugReport" controller="BugReportWindow" anchor="CenterCenter" pos="-400,430" width="800" height="800" cursor_area="true" depth="50">
		<panel name="noclick" depth="0" createuipanel="true" on_press="true" pos="-4000,4000" width="8000" height="8000" disableautobackground="true" visible="{# !is_modal}" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,200" type="sliced" fillcenter="true" />
		</panel>

		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text_key="xuiBugReportHeader" />
		</panel>
		<panel name="content" pos="0,-46" height="800" depth="1" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">

			<label depth="3" name="descriptionText" pos="25,-25" width="750" text_key="xuiBugReportDescription" font_size="28" overflow="resizeheight" upper_case="false" visible="{# can_submit}" />
			<label depth="3" name="rejectedText" pos="25,-25" width="750" text_key="xuiBugReportRejected" color="[red]" font_size="28" overflow="resizeheight" upper_case="false" visible="{# !can_submit}"/>
			
			<label depth="3" name="lblAttachScreenshot" pos="25,-125" width="425" height="32" justify="right" text_key="xuiAttachScreenshot" tooltip_key="xuiAttachScreenshotTooltip" font_size="28" upper_case="false" visible="{# in_game}" />
			<combobox pos="475,-125" width="300" height="32" name="comboAttachScreenshot" type="ComboBoxBool" localization_prefix="xuiComboYesNo" tooltip_key="xuiAttachScreenshotTooltip" visible="{# in_game}"/>
			
			<label depth="3" name="lblAttachSaveDescMenu" pos="25,-175" width="750" height="64" justify="left" text_key="xuiAttachSaveDescMenu" font_size="28" upper_case="false"/>
			<label depth="3" name="lblAttachSaveDescInGame" pos="25,-175" width="750" height="64" justify="right" text_key="xuiAttachSaveDescInGame" font_size="28" upper_case="false" />

			<label depth="3" name="lblAttachSave" pos="25,-250" width="425" height="32" justify="right" text_key="xuiAttachSave" font_size="28" upper_case="false" visible="{# attach_saves_enabled}" />
			<combobox pos="475,-250" width="300" height="32" name="comboAttachSave" type="ComboBoxBool" localization_prefix="xuiComboYesNo" visible="{# attach_saves_enabled}"/>

			<textfield name="txtDescription" depth="5" pos="25,-300" width="750" height="400" pivot="topLeft" on_return="NewLine" justify="left" font_size="24" character_limit="2048"/>

			<simplebutton name="btnSubmit" depth="3" pos="50, -725" width="200" height="48" font_size="32" caption_key="xuiSubmit" upper_case="true" />
			<simplebutton name="btnCancel" depth="3" pos="550, -725" width="200" height="48" font_size="32" caption_key="xuiCancel" upper_case="true" />	
		</panel>
	</window>

	<window name="progress" depth="200" pos="-200,50" width="400" height="100" anchor="CenterCenter" controller="ProgressWindow">
		<panel name="pnlShadow" pos="-3000,3000" width="10000" height="10000" depth="1" createuipanel="true" on_press="true" disableautobackground="true" visible="{use_shadow}" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="30,30,30,160" type="sliced" fillcenter="true" />
		</panel>

		<panel name="noclick" depth="2" createuipanel="true" pos="-20,20" width="440" height="140" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,190" type="sliced" fillcenter="true" />
		</panel>

		<panel depth="10" createuipanel="true" disableautobackground="true">
			<label name="lblProgress" pos="200,-50" width="380" height="80" font_size="32" justify="center" pivot="center" />
		</panel>
	</window>

</windows>