RimWorld

RimWorld

251 ratings
Searchable Menus
2
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
68.029 KB
4 Feb, 2023 @ 5:37pm
23 Jul @ 3:15pm
4 Change Notes ( view )

Subscribe to download
Searchable Menus

Description
Adds a quick search field to any float menu that is at least a minimum size (configurable, default 15 options).

The mouse cursor must be over the menu when typing, or the search field will not pick up the keypresses. Note that the menu will become shorter when items are filtered out, so having the mouse over the search field is easiest.

Safe to add or remove at any time.

Compatibility
If Categorized Bill Dropdown is also used, then the bill menu from that mod is not affected.

It appears that it does not work on MacOS. I do not have a Mac and therefore have no real way to fix that.

Note for mod developers
The menu search field is available for modders through the Float Sub-Menus mod. This mod just adds it to menus that do not already have it.

Source code is on GitHub.[github.com]
88 Comments
Inglix 28 Oct @ 6:09pm 
In my case it was Useful Marks and Nice Bill Tab, both by Andromeda. I just set a custom sorting rule in RimSort to force Float Sub-Menus to load before both of them and that took care of it.
Kathanon  [author] 28 Oct @ 5:33pm 
Ah, thank you for that information, I wasn't aware of that. :)
Inglix 28 Oct @ 10:12am 
Just FYI for anyone getting errors about a MissingMethodException, it could be because you have other mods that included older versions of the assembly for Float Sub-Menus in their mods rather than just making Float Sub-Menus a dependency.

RimWorld will only load the first copy of any given assembly it finds, so if the first copy of FloatSubMenu.dll it finds isn't the one from the actual Float Sub-Menus mod, and that assembly is out of date, things will break.

Moving Float Sub-Menus higher up your mod list so that its copy of that assembly file is the one RimWorld actually loads will probably resolve it.
Hatoful Pengu 15 Sep @ 1:34pm 
huh, that's weird. i verified my files not too long before posting that log (while addressing a different mod error) and noted the error remained both before and after verification. i'll see if deleting my mods folder and redownloading everything fixes it.

also yeah i know lol this is the fifth time i've purged my mod list down to vanilla in an attempt to keep it at a reasonable size only for the number of mods to creep all the way back up to 800+ despite my best intentions. i have no self-control when it comes to mods ;-;
Kathanon  [author] 15 Sep @ 12:25pm 
Looks like a version mismatch between mods. Verifying game files should fix it.

You also have too many mods. ;)
Hatoful Pengu 14 Sep @ 9:23pm 
getting a red error that appears to be related to searchable menus; something about mod options? here's a log: https://gist.github.com/HugsLibRecordKeeper/012e31dec94d8ab81307caa3e6a40ef5
Kathanon  [author] 25 Aug @ 8:32am 
I prefer not to add lots of people. You can use pastebin or similar and post a link here.
LazerKjell 25 Aug @ 8:30am 
add me on discord will send it kjellkjell
Kathanon  [author] 25 Aug @ 7:03am 
Sure, I can take a look at it.
LazerKjell 25 Aug @ 6:52am 
i think mod is just broken somway samemod list as yesterday now boom it broke for som reason cause this mod just also randomly happend to my friend if you want the crash log you an have it