RimWorld

RimWorld

658 ratings
Tab-sorting
4
2
9
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
792.070 KB
22 Jun, 2020 @ 11:54am
20 Mar @ 1:35pm
86 Change Notes ( view )

Subscribe to download
Tab-sorting

In 3 collections by Mlie
My Current ModList
263 items
Developed by me
109 items
Sorting-mods
5 items
Description


Sort your stuff!

This mod can sort furniture/structures into appropriate tabs.
It started as an improved version of the LigtsTab (by betaALPHAs) but since that version relied on patches it was very complex and hard to maintain.

Instead this mod uses C#-code to sort things after they have loaded, removing the need for specific patch-files for each mod/item. The downside is that it requires a rescan of the changed tabs at startup but this should add no more than at most a few seconds depending on how many tabs has been changed.

Currently the mod supports the following sorting:

- All lights to a separate Lights-tab
- All walls and doors to the Structure-tab
- All floors to the Floors-tab
- All beds and linkable furniture to a separate Bedroom-tab
- All hospitalbeds and linkable medical furniture to a separate Hospital-tab
- All tables and sittable furniture to a separate Tables/Chairs-tab
- All decorative items to a separate Decorations-tab
- All kitchen furniture and linkables to a separate Kitchen-tab
- All research furniture to a separate Research-tab
- All Ideology ritual-furniture to a separate Ideology-tab

Special case
- All storage-containers to the Storage-tab
If Extended Storage or LWM's Deep Storage is loaded their Storage-tab will be used instead.

Options dependent of other mods:
- All garden-tools to the Garden Tools-tab of VGP Garden Tools
- All fences the Fences-tab of Fences and Floors

Other options:
- If a tab is empty after the sorting the mod can remove it
- If a tab does not currently show anything due to research missing, it can be hidden
- You can sort all tabs alphabetically, the Zones and Orders-tab can be skipped
- You can also sort the tabs manually
- Items that use the same button can be moved all at once, for example stuffed floors
- Manual sorting - if some items gets in the wrong place, move them around.
- Create new tabs to sort to
- Added support for marcin212's Architect Icons
- Sort the main buttons
- Sort the order of buildable items
- Sort buildable items alphabetically

If you find any item that don't get sorted or gets sorted in the wrong tab, please leave a report of what item and from what mod it comes from. Either here in the comments or at the support-channel via the Discord-link below.
Also, if you have any ideas on more stuff that can be categorized, just let me know and Ill look into it.

- Added Korean translation, thanks isty2e
- Added Russian translation, thanks Reiquard
- Thanks to some performace updates and the "Move all"-feature by Taranchuk
- Kitchen room role worker fix by slippycheeze

[dsc.gg]
[github.com]

Big thanks to SmashPhil for the help and coding examples when I made a better (good) version of the settings menu!
Also thanks to AUTOMATIC for the well structured code for the miniature icons from the Recipe Icons mod!


Since modding is just a hobby for me I expect no donations to keep modding. If you still want to show your support you can gift me anything from my Wishlist or buy me a cup of tea.

[ko-fi.com]


  • See if the the error persists if you just have this mod and its requirements active.
  • If not, try adding your other mods until it happens again.
  • Post your error-log using HugsLib or the standalone Uploader and command Ctrl+F12
  • For best support, please use the Discord-channel for error-reporting.
  • Do not report errors by making a discussion-thread, I get no notification of that.
  • If you have the solution for a problem, please post it to the GitHub repository.
  • Use RimSort[github.com] to sort your mods

| tags: sorting, categories
Popular Discussions View All (5)
4
25 Jun, 2020 @ 12:19am
Great mod. it saves obsessive-compulsive disorder.
北极路人熊
1
19 Jul, 2024 @ 1:47pm
Feedback, too long for a comment
Meanie
0
26 Apr, 2024 @ 12:01am
Startup error without Ideology
lol
580 Comments
Mlie  [author] 14 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 23 hours ago 
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 !