Files
EFT_Extraction_Pack/Config/XUi/controls.xml
2025-06-04 16:20:18 +09:30

69 lines
7.3 KiB
XML

<configs>
<insertAfter xpath="//item_stack">
<item_stack2 controller="ItemStack" on_scroll="false" allow_dropping="true" prefix_id="false" show_favorites="false">
<rect controller="${controller}" style="itemStack, hover" collider_scale="0.5" on_scroll="${on_scroll}" allow_dropping="${allow_dropping}" prefix_id="${prefix_id}" show_favorites="${show_favorites}" tooltip="{tooltip}" >
<!--sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="78" height="78" color="[black]" type="sliced" fillcenter="false" /-->
<!--sprite depth="3" name="background" sprite="menu_empty3px" width="73" height="73" color="{selectionbordercolor}" type="sliced" globalopacity="true" fillcenter="false"/-->
<!--sprite depth="2" name="highlightOverlay" width="72" height="72" color="{backgroundcolor}" pos="0,0" type="sliced" globalopacity="true"/-->
<texture depth="3" name="backgroundTexture" material="Materials/Transparent Colored" size="73,73" globalopacity="true"/>
<sprite depth="8" name="favoriteIcon" width="24" height="24" sprite="server_favorite" pos="2,-2" foregroundlayer="true" visible="{isfavorite}"/>
<sprite depth="6" name="itemIcon" width="56" height="56" atlas="ItemIconAtlas" sprite="{itemicon}" pos="35,-35" pivot="center" foregroundlayer="true" color="{iconcolor}" />
<sprite depth="8" name="lockTypeIcon" width="24" height="24" sprite="{locktypeicon}" pos="2,-2" foregroundlayer="true"/>
<sprite depth="8" name="itemtypeicon" width="24" height="24" sprite="ui_game_symbol_{itemtypeicon}" pos="2,-2" foregroundlayer="true" visible="{hasitemtypeicon}" color="{itemtypeicontint}" />
<sprite depth="3" name="durabilityBackground" width="70" height="10" sprite="menu_empty3px" color="[darkGrey]" type="sliced" pos="1, -60" foregroundlayer="true" visible="{hasdurability}" />
<filledsprite depth="4" name="durability" width="70" height="10" sprite="menu_empty2px" color="{durabilitycolor}" fill="{durabilityfill}" type="filled" pos="1, -60" foregroundlayer="true" visible="{hasdurability}" />
<sprite depth="5" name="disabledOverlay" width="72" height="72" color="[darkGrey_half_alpha]" pos="1,-1" type="sliced" visible="false"/>
<label depth="7" name="stackValue" pos="-2,-45" width="70" height="28" text="{itemcount}" font_size="26" effect="outline" justify="{#hasdurability ? 'Center' : 'Right'}" />
<label depth="7" name="timer" pos="35,-38" width="70" height="24" font_size="24" justify="center" pivot="center" color="[beige]" effect="outline" effect_distance="1,1" effect_color="0,0,0,255"/>
<sprite depth="9" name="cancel" sprite="ui_game_symbol_x" width="70" height="70" color="255,0,0,255" type="sliced" visible="false" foregroundlayer="true"/>
<sprite depth="13" name="assembleIcon" size="40,40" sprite="{stacklockicon}" color="{stacklockcolor}" visible="{isassemblelocked}" pos="14,-14" foregroundlayer="true" />
<sprite depth="14" name="quickswapIcon" size="30,30" sprite="server_refresh" pos="40,-2" foregroundlayer="true" />
</rect>
</item_stack2>
<backpack_item_stack2 controller="ItemStack" on_scroll="false" allow_dropping="true" prefix_id="false">
<rect controller="${controller}" style="itemStack, hover" collider_scale="0.88" on_scroll="${on_scroll}" allow_dropping="${allow_dropping}" prefix_id="${prefix_id}" tooltip="{tooltip}" enabled="{# !userlockmode}" >
<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="9,-2" width="61" height="61" color="[black]" type="sliced" fillcenter="false"/>
<sprite depth="3" name="background" sprite="menu_empty3px" width="59" height="59" color="{selectionbordercolor}" pos="12,-5" type="sliced" globalopacity="true" fillcenter="false"/>
<sprite depth="2" name="highlightOverlay" width="59" height="59" color="{backgroundcolor}" pos="12,-5" type="sliced" globalopacity="true"/>
<texture depth="3" name="backgroundTexture" material="Materials/Transparent Colored" size="57,57" pos="12,-6" globalopacity="true"/> <!-- Shape Background -->
<sprite depth="6" name="itemIcon" width="59" height="59" atlas="ItemIconAtlas" sprite="{itemicon}" pos="41,-34" pivot="center" foregroundlayer="true" color="{iconcolor}" />
<sprite depth="8" name="lockTypeIcon" width="24" height="24" sprite="{locktypeicon}" pos="13,-6" foregroundlayer="true"/>
<sprite depth="8" name="itemtypeicon" width="24" height="24" sprite="ui_game_symbol_{itemtypeicon}" pos="13,-6" foregroundlayer="true" visible="{hasitemtypeicon}" color="{itemtypeicontint}" />
<sprite depth="3" name="durabilityBackground" width="57" height="8" sprite="menu_empty3px" color="[darkGrey]" type="sliced" pos="13, -55" foregroundlayer="true" visible="{hasdurability}" />
<filledsprite depth="4" name="durability" width="57" height="8" sprite="menu_empty2px" color="{durabilitycolor}" fill="{durabilityfill}" type="filled" pos="13, -55" foregroundlayer="true" visible="{hasdurability}" />
<sprite depth="5" name="disabledOverlay" width="54" height="54" color="[darkGrey_half_alpha]" pos="1,-1" type="sliced" visible="false"/> <!-- Grey Box (Encumbered) -->
<label depth="7" name="stackValue" pos="16,-43" width="50" height="23" text="{itemcount}" font_size="26" effect="outline" justify="{#hasdurability ? 'Center' : 'Right'}" />
<label depth="7" name="timer" pos="35,-33" width="62" height="24" font_size="24" justify="center" pivot="center" effect="outline" color="[beige]"/> <!-- ? -->
<sprite depth="9" name="cancel" sprite="ui_game_symbol_x" width="62" height="62" color="255,0,0,255" type="sliced" visible="false" foregroundlayer="true"/> <!-- ? -->
<sprite depth="13" name="assembleIcon" size="35,35" sprite="{stacklockicon}" color="{stacklockcolor}" visible="{isassemblelocked}" pos="23,-18" foregroundlayer="true" /> <!-- Encumbered Icon -->
<button name="rectSlotLock" depth="15" style="press, hover" width="54" height="54" visible="{userlockmode}" sprite="" hoverscale="1" use_selection_box="true">
<sprite depth="16" name="button" width="20" height="20" sprite="{# userlockedslot ? 'ui_game_symbol_lock' : 'ui_game_symbol_unlock' }" pos="58, -19" style="icon32px" pivot="center" color="{# userlockedslot ? '222,206,163' : '255,255,255' }" />
</button>
<sprite depth="15" name="iconSlotLock" width="17" height="17" sprite="ui_game_symbol_lock" pos="58, -19" style="icon32px" pivot="center" visible="{# userlockedslot and !userlockmode}" color="[lightGrey]" />
</rect>
</backpack_item_stack2>
<item_part_slot2>
<rect controller="${controller}" style="itemPartStack, hover" collider_scale="0.52" sound_play_on_hover="[default_hover]">
<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="98,4" width="188" height="60" color="[black]" type="sliced" fillcenter="false"/>
<sprite name="background" color="[darkGrey]" height="57" pos="98,2" width="185" type="sliced"/>
<label depth="4" pos="104,-14" width="180" height="24" text="{partname}" font_size="26" justify="left"/>
<sprite name="itemIcon" depth="4" width="48" height="48" atlas="{partatlas}" sprite="{particon}" color="{particoncolor}" visible="{partvisible}" pos="256,-25" pivot="center" foregroundlayer="true"/>
<label depth="4" pos="71,-14" width="240" height="24" text="EMPTY MODIFIER SLOT" text_key="${empty_slot_text_key}" font_size="26" justify="center" visible="{emptyvisible}"/>
</rect>
</item_part_slot2>
</insertAfter>
</configs>