边缘世界 RimWorld

边缘世界 RimWorld

250 个评价
Searchable Menus
2
3
2
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
68.029 KB
2023 年 2 月 4 日 下午 5:37
7 月 23 日 下午 3:15
4 项改动说明 ( 查看 )

订阅以下载
Searchable Menus

描述
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 条留言
Inglix 10 月 28 日 下午 6:09 
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  [作者] 10 月 28 日 下午 5:33 
Ah, thank you for that information, I wasn't aware of that. :)
Inglix 10 月 28 日 上午 10:12 
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 9 月 15 日 下午 1:34 
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  [作者] 9 月 15 日 下午 12:25 
Looks like a version mismatch between mods. Verifying game files should fix it.

You also have too many mods. ;)
Hatoful Pengu 9 月 14 日 下午 9:23 
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  [作者] 8 月 25 日 上午 8:32 
I prefer not to add lots of people. You can use pastebin or similar and post a link here.
LazerKjell 8 月 25 日 上午 8:30 
add me on discord will send it kjellkjell
Kathanon  [作者] 8 月 25 日 上午 7:03 
Sure, I can take a look at it.
LazerKjell 8 月 25 日 上午 6:52 
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