Gouki
Refugee
Hi venom2019, add thisOkay, That's works. And how to add new "cols" to the crafting queue and the input window?
Windows.xml
<! - add 3rd input to Forge ->
<set xpath = "/ windows / window [@ name = 'windowMyForgeInput'] / @ height"> 279 </set>
<set xpath = "/ windows / window [@ name = 'windowMyForgeInput'] / sprite [@ name = 'backgroundMain'] / @ height"> 228 </set>
<set xpath = "/ windows / window [@ name = 'windowMyForgeInput'] / rect [@ name = 'content'] / @ height"> 223 </set>
<set xpath = "/ windows / window [@ name = 'windowMyorgeInput'] / rect [@ name = 'content'] / grid / @ rows"> 3 </set>
windowmyforgeinput,change it to the name of your forge
For extra groove if it is for your forge and worktable, add this
XUi.xml
<! - Forge +1 crafting slot ->
<set xpath = "/ xui / ruleset [@ name = 'default'] / window_group [@ name = 'workstation_forge'] / window [@ name = 'windowCraftingQueue'] / @ name"> GKwindowCraftingQueue </set>
<! - Workbench +1 crafting slot ->
<set xpath = "/ xui / ruleset [@ name = 'default'] / window_group [@ name = 'workstation_workbench'] / window [@ name = 'windowCraftingQueue'] / @ name"> GKwindowCraftingQueue </set>
Here you put the name of your forge and worbench.
In windows.xml
<Gouki>
<append xpath = "/ windows">
<! - Crafting Queue +1 Slot ->
<window name = "GKwindowCraftingQueue" width = "397" height = "78" panel = "Left" cursor_area = "true">
<rect depth = "0" pos = "19.0" width = "378" controller = "CraftingQueue">
<grid name = "queue" rows = "1" cols = "5" pos = "3, -13" cell_width = "75" cell_height = "75" repeat_content = "true">
<recipe_stack name = "0" />
</grid>
</rect>
</window>
</append>
</Gouki>
I wait and serve you
regards,GK
P.S. Would you share your forge or you will publish your mod
Last edited by a moderator: