Context Menu Cleanup
Изображение 1 из 7. Материалы автора из Steam Workshop.
О материале
«Context Menu Cleanup» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Context Menu Cleanup
Right-click menus fill up with entries you never use, and every mod you add makes it worse. This one hides them, deletes them, moves them under another entry or renames them, all by name.
How to Use
Everything is configured through the mod's configuration screen, found in Options → Mods → Context Menu Cleanup. From there, you can create rules to remove, hide, move or rename context menu entries, as well as change how their names are displayed. Each option has its own field where you can enter one or more rules, separated by semicolons.
The rules are based on the names shown in the context menu, so you do not need to know anything about how a mod or the game internally defines its entries. Changes are applied automatically as menus are created, including entries added by other mods.
Removing and Hiding Entries
List the entries you want removed or hidden, separated by semicolons:
Sleep;Take Nap;~Teleport
Matching is based on the text you actually see in the menu and ignores capitalization. Start an entry with ~ to match anything containing it, so ~Teleport catches "Teleport Here", "Teleport to Base", and anything else containing that word, while a plain entry has to match the whole name.
You can also turn on Debug logging to log every menu entry name to the console as you open menus.
Moving Entries
Write the pairs as Entry>New Parent and separate them with semicolons. Say your door options sit behind a "Check Status" entry and you would rather have them on the door itself:
Check Doors>Door
It looks for both names through the whole menu, submenus included. The new parent keeps doing whatever it did before and gains a submenu holding the entry you moved. If the old parent ends up with nothing under it, that entry goes too, since a parent with an empty submenu does nothing on its own.
The new parent does not have to exist. Point several entries at the same name and they end up grouped under a new one, sitting where the first of them was:
Grab one>Grab;Grab half>Grab;Grab all>Grab
Renaming Entries
Write the pairs as Old Name>New Name and separate them with semicolons:
Cards (No Deck Here)>Cards
Some entries carry the name of whatever you clicked, like "Push Low Bench Trailer". Start the old name with ~ and only that part changes, so one rule covers every piece of furniture:
~Push>Shove
You get "Shove Low Bench Trailer", "Shove Wooden Chair" and so on. Your other lists keep using the names the game gave the entries, so a rename never stops a hide or move rule from working.
There's more!
If you like this mod, you should definitely check out my Spawn Point Cleanup mod to remove clutter from the spawn selection menu!
This mod will be supported during my free time. Please don't expect immediate updates or responses.
Workshop ID: 3780688809 Mod ID: ContextMenuCleanup
Workshop ID: 3780688809 Mod ID: ContextMenuCleanup
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.