RimWorld

RimWorld

Tab-sorting
580 Comments
Mlie  [author] 19 hours ago 
@mochi pants I do have a blacklist of things not to sort, perhaps its just better to add it to that if its just the pump that is the issue
mochi pants 11 Jul @ 12:03pm 
A though for the lamp auto-sorting stuff-- I think the Helixian Pump is getting scooped up because "(compGlower is not { glowRadius: >= 3 })" and the Pump's glow radius is 6.

What if the list of CompProperties is interrogated to see what's available? Lamps seem to have a limited selection like Power, Glower, Schedule (sunlamp), HeatPusher (sublamp), Styleable, Flickable, and Breakdownable. What if it the ThingDef were checked for a whitelist of properties? For example, the Pump has "PipeSystem.CompProperties_DeepExtractor" which is not of those expected "lamp" properties; that property isn't on the whitelist so the ThingDef would not be considered for inclusion in the Lights category.

Also... what if a custom XML property within "<comps>" could be checked for? Like "ThingCategory_Lighting"?
Mlie  [author] 8 Jul @ 1:08am 
@Micr-_o Updating all my mods, see discord for progress
Micr-_o 8 Jul @ 12:59am 
1.6 plz plz :steamsad:
Mlie  [author] 24 Jun @ 11:33am 
@Ghostmare Here is the logic for what defines a lamp, if you have any suggestions on this code, they are welcome:
https://github.com/emipa606/TabSorting/blob/8162ce03f7a5c113c5e1de1f52b6cc2f2ae1229f/Source/TabSorting/TabSorting.cs#L1498
Ghostmare 24 Jun @ 11:26am 
@Mile The thing is it assigns things to wrong categories in several cases. Moving multiple things to other categories takes time. There's definitely something wrong with assigning things to categories. Unfortunately I don't know the solution to fix this problem. There's nothing left than doing it manualy for now I think.
Mlie  [author] 24 Jun @ 9:20am 
@Ghostmare You just move them in the mod-options
Ghostmare 24 Jun @ 9:11am 
What if I have wrong items in worng categories? For example heliexen pump in lights category. Or Ideology items in lights category. Do I need to resubscribe to thew mod?
Dman 7 Jun @ 4:54pm 
*me warming my hands on the fire that is this mod* "yea this shit is HEAT"
Evono 7 Jun @ 6:25am 
Ah , thats freaking awesome thanks !
Mlie  [author] 7 Jun @ 6:24am 
@Evono You can create any amount of tabs in the mod-settings
Evono 7 Jun @ 6:22am 
Can there be categorys for all the expanded mods ? specially androids and stuff ? i kinda hate how VE started to "Just shove it all in existing menus" i mean who doesnt want a furniture tab with like 50 furnitures in it to find literally nothing , or a biotech tab with 40 items in it. like sangouphage expanded , androids and more.
Ueido 16 May @ 6:32pm 
Gonna be honest I wasn't looking forward to going through and adjusting tabs or making new layouts but default settings is pretty close to what I was used too so respect for that. I'm now looking forward to slowly learning how this works. In all honestly I should have picked this up way back when I first seen over spill off screen.
Mlie  [author] 24 Mar @ 12:20am 
@zyzyhasl Its on the todolist
zyzyhasl 24 Mar @ 12:18am 
Can you also sort the Designator? Vanilla Expanded Framework add Pipesnet, there are some Designators like “Deconstruct {0} pipes”,there are milk,Nutrient,Chemfuel...,I add new Architerct Button,but I cannot move the “Deconstruct {0} pipes” to the new Architerct Button
Nyoj 21 Mar @ 8:24am 
Well, as you pointed Mlie, seems the Cobblestone wall cant be sorted by this mod, but at least you can still use it and does not disappear anymore, so it´s a nice workaround. Thanks again Mlie
turkler 20 Mar @ 6:42pm 
thanks for keeping this mod updated
Nyoj 20 Mar @ 2:43pm 
Thanks Mlie, amazing as always. Will try to test it later on.
Mlie  [author] 20 Mar @ 1:39pm 
@Nyoj Had a look and they do indeed add their definitions in a non-standard way. Ive added a workaround if that mod is loaded but it may affect the sorting capabilities of this mod.
Nyoj 20 Mar @ 12:16pm 
Makes sense, not sure if this would help or be related, but I read somewhere they had trouble designing it because it´s build straight from stone chunks...
Mlie  [author] 20 Mar @ 12:06pm 
@Nyoj I assume they are adding it manually for some reason. Not the first time they invent non-standard ways of doing things
Nyoj 20 Mar @ 11:55am 
The new "Cobblestone wall" from VFE Medieval 2 disappears from all the menus the moment I open the Tab-Sorting options and doesnt appear again anywhere till I restart the game.

Not sure if something is bugged around, or is something on my side. Anyone else having anything similar?
Sterling Kerman 10 Mar @ 7:00pm 
Ah, thank you!
Mlie  [author] 9 Mar @ 11:37pm 
@Sterling Kerman The auto sorting can be turned off in the settings
Sterling Kerman 9 Mar @ 6:16pm 
This mod is fantastic, though I wish it was possible to turn off the Main Menu sorting feature. It conflicts a bit with SimmQOL which I typically use for sorting my main menus, and seems to have further issues every time I reload the game (reset positions of stuff).
GoinAsyria 18 Feb @ 10:16pm 
T^T plz add tab drag-dorp sorting like items
Mlie  [author] 9 Feb @ 9:56am 
@Ksirox Please link to the mod you are referring to. I assume they add their actions in a non-standard way, some mods do that instead of just defining it in xml as intended.
Ksirox 9 Feb @ 9:47am 
this mod makes so i cant use the terraform mod, all terrains just dissapear
Arky 31 Jan @ 6:15am 
Omg, I just looked into the comments and found I could drag them. Sorry for being stupid
Arky 31 Jan @ 6:14am 
Is it possible to manually sort the order the items appear within the tab? A mod I downloaded added some things that are appearing before the beds and stuff and I wanted for them to appear last
Mlie  [author] 22 Jan @ 11:58am 
@DeadlyFISHYS Tested it and got no issues with that mod active. Not sure what problems you are referring to?
Mlie  [author] 18 Jan @ 2:28pm 
@DeadlyFISHYS I can look into it, could you link to that mod?
Svartarokkdreki 18 Jan @ 12:39pm 
Is there a way to use this whilst also using Visual Exceptions? This and any mod which modifies the main buttons screws it up as the button doesnt appear so you cant actually use the mod (great design on Brainzzs part).
Mlie  [author] 24 Dec, 2024 @ 11:07pm 
@Large Brain Rotation Please link to that mod
Large Brain Rotation 24 Dec, 2024 @ 8:34pm 
Can confirm that with only these two mods active error still occurs
Large Brain Rotation 24 Dec, 2024 @ 8:26pm 
I'm not really sure if it was already reported, but terraform rimworld doesn't work quite well with this mod at least in my modpack. On startup mod creates new categories such as lights and sorts them, but changes that I made manually do not apply to the sorting, This isn't really the problem because it can be easily fixed by opening up tab sorting settings. The problem is opening settings for some reason hides every single option under terraform tab (and the tab itself if hiding option is turned on) and the only way to fix is to restart the game completely, which brings me back to the first problem
Mlie  [author] 24 Dec, 2024 @ 2:17pm 
@tobiasstegemeier No, but you can create a custom tab and move items to it for the same effect
Sozitobsen 24 Dec, 2024 @ 2:06pm 
Is it possible to delete and/or rename the default tabs?
Marchiel Graham 15 Dec, 2024 @ 3:58am 
@Mlie sounds great, and that would be a fine addition to backup my config yep, thanks man!
Mlie  [author] 15 Dec, 2024 @ 3:45am 
@Marchiel Graham I can look into it but I may also suggest the export/import mod settings mod I made a while back. Maybe you can use this to make backups of your mod-config
Marchiel Graham 15 Dec, 2024 @ 3:38am 
@Mlie it depends on the user but personally, it kinda help on setting it up faster since I could keep track on which one is in which order, especially if you already have a set of order before or when an accidental "config reset" happen.
Mlie  [author] 15 Dec, 2024 @ 3:12am 
@Marchiel Graham Would writing the number manually for each item be faster than draging/dropping it in the right place?
I mean I could expose the actual ui value that it uses I guess
Marchiel Graham 15 Dec, 2024 @ 2:50am 
Gotta say that I love the mod mayn!

But is it possible to make the tab-sorting feature uses a number value instead of moving each of em one by one? It's a one time setup for sure, but it'll be quite a QoL if its possible ngl.

And it seems like the mod also overwrite rimmsqol tab-sorting, so gotta make sure to disable their sorting if anyone is using it.
Mlie  [author] 30 Nov, 2024 @ 7:22am 
Should affect any tab that is blocked based on research.
Brutalbic 30 Nov, 2024 @ 7:12am 
@Mlie thank you for the prompt reply, I reset all of the tabs since I saw on a comment below about a tribal start and that power tab being hidden by the 'hide currently empty tabs' option until it is researched, it doesn't seem to affect any of the default tabs from this mod, does that option only affect vanilla tabs?
Mlie  [author] 30 Nov, 2024 @ 7:01am 
@Brutalbic You can select to remove empty tabs after sorting if they are empty. This is not based on research however
Brutalbic 30 Nov, 2024 @ 6:46am 
Such a great mod!
Not sure if this is a bug or intended, after moving some items around to try and reduce the amount of tabs, some of them now only have the Cancel and Deconstruct orders in them. Is there a way to hide these tabs till some researched items appear?