Jump to content

6 slot forge input help


Astryael

Recommended Posts

I can get it to show the 6 slot but only 3 of the slot are counting down.

one is counting up and 2 arent smelting and they are for the placeholder value of brass and lead.

 

image.png.aec064a17429477a41ead462fa1015bb.png

 

Here is what i have code wise

 

<configs>
    <append xpath="/windows">
        <!-- Extra Forge Input -->
        <window name="AstryaelwindowForgeInput" width="300" height="279" 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" text="INPUT" text_key="xuiSmelting" />
            </panel>

            <sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="0,-46" height="228" color="[black]" type="sliced" fillcenter="false" on_press="true" />
            <rect name="content" depth="2" pos="0,-46" height="223">

                <grid depth="7" rows="3" cols="2" 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="151, -49" width="147" height="223">
                <sprite depth="1" color="[mediumGrey]" type="sliced" on_press="true"/>
                <grid rows="9" cols="1" pos="9,-12" cell_width="147" cell_height="34"  repeat_content="true">
                    <forge_material name="0"/>
                </grid>
            </rect>
        </window>            
    </append>
</configs>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...