RyanJames1978 Posted October 7, 2018 Share Posted October 7, 2018 Hey everyone, I'm having a bit of a problem with creating new workstations. Everything goes according to plan except for the categories. If anyone knows how to set categories inside a new workstation I could really use a hand. It is really lagging hard when opening the workstation, as it's trying to load 140 pages of recipes. Here is what the crafting list categories look like inside the workstation. Full Screenshot here. So the first thing I notice here is that it's using a flame icon as if this workstation is a campfire. It is an advanced workbench and uses the "Workstation" class, not "Campfire" or "Forge". Here is all my coding for the workstation. Blocks.xml <block id="2046" name="AdvancedWorkbench"> <property name="CustomIcon" value="advancedWorkbenchIcon"/> <property name="Class" value="Workstation"/> <property name="Material" value="metal"/> <property name="MaxDamage" value="200"/> <property name="StabilitySupport" value="false"/> <property name="Shape" value="ModelEntity"/> <property name="Model" value="#AdvancedWorkbench?AdvancedWorkbenchPrefab"/> <property name="MultiBlockDim" value="2,2,1"/> <property name="ImposterDontBlock" value="true"/> <property name="Place" value="TowardsPlacerInverted"/> <property name="OnlySimpleRotations" value="true"/> <property name="IsTerrainDecoration" value="true"/> <property name="HeatMapStrength" value="0.5"/> <property name="HeatMapTime" value="1200"/> <property name="HeatMapFrequency" value="25"/> <property name="Stacknumber" value="10"/> <property class="Workstation"> <property name="Modules" value="tools,output"/> <property name="CraftingAreaRecipes" value="player,workbench,AdvancedWorkbench"/> </property> <property class="RepairItems"> <property name="forgedIron" value="25"/> <property name="mechanicalParts" value="20"/> <property name="wood" value="50"/> </property> <drop event="Destroy" name="AdvancedWorkbench" count="1"/> <drop event="Fall" name="woodDebris" count="1" prob="0.75" stick_chance="1"/> <property name="TakeDelay" value="15"/> <property name="DescriptionKey" value="AdvancedWorkbenchDesc"/> <property name="EconomicValue" value="776"/> <property name="Group" value="Building"/> </block> xui.xml <window_group name="workstation_AdvancedWorkbench" controller="XUiC_WorkstationWindowGroup"> <window name="windowCraftingList"/> <window name="craftingInfoPanel"/> <window name="windowCraftingQueue"/> <window name="windowToolsAdvancedWorkbench" /> <window name="windowOutput" /> <window name="windowNonPagingHeader" /> </window_group> windows.xml <!-- RJ Advanced Workstation --> <!--#$-IGS BEGIN: Adding cursor area. -$#--> <window name="windowToolsAdvancedWorkbench" width="228" height="234" panel="Right" cursor_area="true" > <!--#$-IGS END.-$#--> <panel style="header.panel"> <sprite style="header.icon" sprite="ui_game_symbol_wrench"/> <label style="header.name" text="TOOLS" text_key="xuiTools" /> </panel> <rect name="content" depth="0" pos="0,-46" height="75" disablefallthrough="true" on_press="true"> <grid name="inventory" rows="2" cols="3" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationToolGrid" repeat_content="true" allow_sort_order="false" required_tools="powerHammer,weldingGear,armorForm,grinder,electronicsToolKit,bulletPress" required_tools_only="true"> <required_item_stack name="0"/> </grid> </rect> </window> localization.txt AdvancedWorkbench,blocks,Workstation,KgNone,Advanced Workbench,,,, AdvancedWorkbenchDesc,blocks,Workstation,EnChanged,"The Advanced workbench allows you to craft items the normal workbench can't. Using tools for welding, forging and more.",,,, So once again there are absolutely no problems with the functionality of this Workstation. All recipes and tools work. The model works. Just the HUGE recipe list causing lag problems. Any help or insight will be so appreciated! Thank you in advance. Link to comment Share on other sites More sharing options...
DUST2DEATH Posted October 8, 2018 Share Posted October 8, 2018 I think this is what you need. Emu's Recipe Manager Link to comment Share on other sites More sharing options...
RyanJames1978 Posted October 8, 2018 Author Share Posted October 8, 2018 I think this is what you need. Emu's Recipe Manager Hey thanks for the response DUST2DEATH. It appears part of that may help. From the Recipe Manager A patch mod for workstations to limit viewing only the recipes that are created within it and are unlocked. To limit the recipes to only ones made inside the workstation i can change the line <property name="CraftingAreaRecipes" value="player,workbench,AdvancedWorkbench"/> to <property name="CraftingAreaRecipes" value="AdvancedWorkbench"/> so that's not a problem, however this workstation should have all the recipes in it from the players, the workbench, and the advanced workbench because of how it works late game in my mod. Hiding unknown recipes would help slightly but I fear not enough to make a serious impact. Are there features to the Recipes Manager that are not listed in the description? If so, Then maybe it is the right choice. Otherwise I think I need something else. Thanks so much Dust2death Link to comment Share on other sites More sharing options...
RevenantWit Posted October 8, 2018 Share Posted October 8, 2018 You might try this mod [Mod] Custom Categories for Custom Workstations Link to comment Share on other sites More sharing options...
DUST2DEATH Posted October 8, 2018 Share Posted October 8, 2018 Thats the one! ^. I knew there was one somewhere. Link to comment Share on other sites More sharing options...
RyanJames1978 Posted October 8, 2018 Author Share Posted October 8, 2018 Thats the one! ^. I knew there was one somewhere. You might try this mod [Mod] Custom Categories for Custom Workstations You guys! That's it! Perfect. Thank you so much Stedman420 and Dust2Death, you guys rock! And for the millionth time, thank you sphereii! EDIT: Oh man, there was all kinds of goodies in there, JACKPOT! lol Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.