Starbound

Starbound

40 ratings
Many Tabs - Spinning Wheel Frackin' Universe Tab
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
285.218 KB
Mar 18, 2022 @ 6:08pm
Feb 28 @ 2:39pm
3 Change Notes ( view )

Subscribe to download
Many Tabs - Spinning Wheel Frackin' Universe Tab

In 1 collection by AnomNom
Anom's Creations
115 items
Description


An addon for Many Tabs that separates the content from Frackin' Universe into another Spinning Wheel / Sewing Machine tab.

There is only so many tabs that can fit on a single Crafting GUI, so some of my addons may share the same tabs. This addon does not currently share a tab with any other addons. If you know of any mods that you'd like to have given their own tab, then please, don't hesitate to submit a request. It may take me a while to get back to you, depending on my current level of activity.




⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀




⠀⠀⠀⠀⠀⠀





There is a lot of iterated test patches in this mod, which are basically test patches where you test each value of an array in sequence, then make your changes to that value when you find the one you're looking for. I go into more detail about what these patches are in the technical sections of my various patches for Anom's Outpost Overhaul, if you're curious.

First, we need to create patch files for every item that we want to move to a new tab. We then need to run through enough iterated test patches, about ten or so should be fine, where we check for the group value of "clothing," as this is the group tag used to assign the clothing item to the tab it's on. If we find that group, we need to replace it with a new group value.

Next, we're going to patch the Spinning Wheel's crafting menu. Since some addons are intended to share the same tabs, we first want to test as many values as necessary - I go with thirty, which is a bit overkill, but it'll definitely be thorough - to see if the tab already exists, using its image file as a test value. If it does exist, we want to add that new group we created to the filter array.

After those thirty or so tests, we then want to test all of the values again, at the same time, but specifically with the line "inverse": true slapped on at the end. What this does is invert the results of the test patch - instead of succeeding only if it finds the value, it will succeed unless it finds the value. Thus, we test the same thirty values in the array. If we don't find our tab, we create it instead, using that new group.

This is all just a really convoluted system that lets multiple mods add the same tab without conflicting or causing duplicates. It also completely negates the need to manage load order through priority or includes sections, as any mod can load at any time, and it will simply patch into the existing tab if another mod adding the same tab loaded before it.




5 Comments
Lukiwarble Mar 19, 2022 @ 12:48pm 
after alot of attempts i got Frackin stations interface to work again by placing it on the mod folder and adding a low priority
Lukiwarble Mar 19, 2022 @ 12:13pm 
And now i cant use that mod anymore even after unsubbing from this and resubbing to that one, god dammit this is better c nightmare all over again
Lukiwarble Mar 19, 2022 @ 12:02pm 
Found it, all the patches to the spinning wheel conflict with Frackin' Stations Interface
Lukiwarble Mar 19, 2022 @ 11:48am 
now i cant open the furnace for some reason
[Error] Exception caught in client main-loop
(WidgetParserException) Malformed gui json: member configuration is either not a map, or does not specify a widget name and type
PassionateAboutPonies Mar 18, 2022 @ 7:40pm 
Since you're requesting requests, could you do one for The Pony Modpack at the spinning wheel? https://steamcommunity.com/sharedfiles/filedetails/?id=730849360
The mod adds a significant number of clothing items to fit the unique pony body shape.