Project Zomboid

Project Zomboid

Context Menu Icon MANIA
65 Comments
marshmallow justice 23 Mar @ 3:41pm 
working great b41 ini our dedicated server with almost 400 mods so far
Kaoeutsu 8 Jan @ 1:05pm 
@Angela ur not paying his bills, get lost complaining about mods that are made by people as hobbies, he and any other modder doesnt own u anything
iiTzBroken 5 Jan @ 3:32am 
don't work
Leitogep 4 Jan @ 11:19pm 
What mod adds the sd option?
Alex_ 4 Jan @ 10:51pm 
start? it's been out for like 2 weeks already
ㄥㄖ尺乇  [author] 3 Jan @ 1:30pm 
Will start looking into it. Mutie is going to be working on a shared library system so I can utilize that when it's out
jarpiz87 27 Dec, 2024 @ 1:54pm 
Cant wait! ->B42<-
Axeel 19 Dec, 2024 @ 5:29pm 
compatible B42?
sqxn.angel 19 Dec, 2024 @ 2:26pm 
when for b42?
zeiss 12 Dec, 2024 @ 8:20pm 
Is it normal for your game to freeze when right-clicking and opening up the menu?
Danila 11 Nov, 2024 @ 10:42pm 
Awesome mod, was also wondering what mod is your mouse cursor from for PZ? Is it from the workshop?
Manam Ghost 5 Nov, 2024 @ 1:30am 
Thanks you mods :steamthumbsup:
Hx 2 Nov, 2024 @ 10:02pm 
Could you support the ExtraSauce Quality of Life mod?
Chløe 2 Nov, 2024 @ 5:03pm 
Hello! Metal spear links back to Fire trail of fuel!
Abel Graves 29 Oct, 2024 @ 11:45am 
I use so many of your mods. They're top-tier. :steamthumbsup:
CarlosRojasCu 27 Oct, 2024 @ 2:27pm 
@ㄥㄖ尺乇 Wonderful thanks... I'll be looking forward to the update, as I read somewhere in the comments that it's possible you could add some optimization for that 0.25 millisecond mini-stutter, I have that too.
ㄥㄖ尺乇  [author] 27 Oct, 2024 @ 2:15pm 
@Hx Absolutely!

@CarlosRojasCu Sure
CarlosRojasCu 27 Oct, 2024 @ 10:20am 
Could you add support for Susceptible Trait - Airborne Infection? It has context menu options. :) Thanks
Hx 27 Oct, 2024 @ 4:57am 
Can I add an icon by adding safeGetText("ContextMenu") and the Path? I'm trying to add the Context icon for AutoCook .
Zerker 26 Oct, 2024 @ 9:01pm 
This mod is such a godsend with all the menuing PZ asks of players, thank you
ㄥㄖ尺乇  [author] 26 Oct, 2024 @ 3:32pm 
@Kalmorph Oh, I think the mod already has Better Lockpicking support. Does it not work for you?
Ruda 26 Oct, 2024 @ 3:26pm 
I love icons
ㄥㄖ尺乇  [author] 26 Oct, 2024 @ 3:22pm 
(cont.)

One last thing my mod does is it is a bit safer for mod patches. Notice how I didn't have to make patch files for every single mod I'm supporting? I basically made it so when it tries to fetch a translation string, if it ends up nil , the mod won't blow up.

Anyway, $4 a pound
ㄥㄖ尺乇  [author] 26 Oct, 2024 @ 3:21pm 
(cont.)

The author who wrote Mutie's Context Menu Icons Expanded & Redrawn ran into the same issues from the code I read (They couldn't get " Investigate This Area ", " Build ", " Dig With Hands ", " Trade ", and " Destroy " working and have the code commented out) . They also ended up having to not use Mutie's helper functions as they didn't consistently work and had a not-so-ideal approach to adding the IconTexture.

So I basically took a look at the Context Menu code and noticed best results when hooking into the "addOption()" function and appending a iconTexture, with some only needing a partial string match (For versatile options like "Unattach [x]" or "Remove [x] from [y]"), or others needing an exact match.
ㄥㄖ尺乇  [author] 26 Oct, 2024 @ 3:21pm 
@Hairy Mouse Yeah, my mod has a few additions that aren't included in the original mods. I've also made it automatically adds Item Icons to recipe context dropdown options (These seem to be auto-generated I think). Additionally, there's a Color option which I'm a big fan of (my HOT ARTIST GAMER GIRLFRIEND helped with it)

Aside from that, I've changed how the context menu icons are added since Mutie's mod and its expansion have a lot of icons that just aren't consistently added, or were meant to be added but don't work. I started out by just trying to make a new patch for Mutie's mod for the Plumbing mod, but couldn't get it to work since the mod is event-based OnFillInventoryObjectContextMenu -> Try adding icon texture) . This approach I've noticed seems makes it not work with some options.
Kalmorph 26 Oct, 2024 @ 3:01pm 
Take your time, super glad that you decided to do it! :ALsleepemoji:
ㄥㄖ尺乇  [author] 26 Oct, 2024 @ 2:47pm 
@Kalmorph Sure, I'll have an update out tomorrow. I don't wanna do it right now since I know the pains of having to restart a server on a Saturday lmao
Hairy Mouse 26 Oct, 2024 @ 12:34pm 
Whats this add over its dependencies? Seems like they are the same things, does this mod add stuff that was missing?
Kalmorph 26 Oct, 2024 @ 5:07am 
DezZzO 25 Oct, 2024 @ 2:05pm 
Crazy work on the mods btw. Quickly becoming my favourite QoL mod author. Great work :steamthumbsup:
DezZzO 25 Oct, 2024 @ 2:03pm 
No idea if it's the right place to post this, so I apologize if it's not

Here's a few missing icons:

Put up Tent - Vanilla
Vehicle Mechanics - Vanilla
Take (Antibiotics use) - Vanilla
Pour out Gravel / Dirt - Vanilla
HotActions and FlexKey - Workshop ID 2289454303
Configure Container - 2650547917
Disable re-equipment - 2769706949
Replace Bandage - 2944344655
ㄥㄖ尺乇  [author] 25 Oct, 2024 @ 12:21pm 
If you guys don't mind, please updoot the mod. I have only positive ratings on the mod but for some reason it shows as 4/5 stars!:steambored:
DragieULTRA 25 Oct, 2024 @ 10:33am 
@Lore Yesss thank you and glad not another conflict on my side. No worries, take your time. Thanks for the amazing mod :)
ㄥㄖ尺乇  [author] 25 Oct, 2024 @ 10:11am 
@DragieULTRA Ohhh, I see what you're talking about. I didn't notice the stutter since I've been mostly testing in inventory or only open context menu when standing still. It's definitely noticeable if you're walking and right click. There's an existing ever-so-slight lag in vanilla, but my mod makes it a bit longer and noticeable if you're doing something like walking.

I'll see what other mods did to fix lag on stuff like tooltips, but I worry the most I can do is optimize this mod as best as I can. Since it's appending logic to the addOption functions, there's gonna be some sort of delay vs vanilla one way or another, I'm afraid.
ㄥㄖ尺乇  [author] 25 Oct, 2024 @ 9:36am 
@DragieULTRA I gotchu bro. What I'll do is have the mod pre-load all the texture paths and recipes on game start and the mod won't re-fetch. Should help with performance, but if you're still having issues after I'll see what else I can do
Jankleheimer 25 Oct, 2024 @ 9:35am 
these mods legit help so fucking much with being able to quickly read the context menus in 1/2 the time. Y'all are Gods :steamhappy:
DragieULTRA 25 Oct, 2024 @ 9:34am 
yes it happens every time i right click, so i was having issue before adding this mod that sometimes right click didn't work, i had to spam it sometimes, but after icon mod that issue still happens sometimes but the added issue is the stutter (32GB ram, enough allocated cant recall, Rtx3050, so should be mod issue, not necessarily this one but its the main suspect as of now)

:(
ㄥㄖ尺乇  [author] 25 Oct, 2024 @ 9:06am 
Glad you guys like it!




@CarlosRojasCu Ye I gotchu




@massacro Whoopsie, I'll fix




@DragieULTRA Huh, weird. I'll see if I can optimize the mod. The first time you right click, my mod fetches all recipes and finds a matching icon for it, but after that it's stored. Are you getting the stutter every time you right click or just the first time?
DragieULTRA 25 Oct, 2024 @ 8:21am 
so whenever i right click game stutters for like .25 seconds, this didnt happen before this icons mod, can this mod be causing that? (I added 2 mods, 1 this and the other treats mod, zombie drops treat bags)
Purple Nebula 25 Oct, 2024 @ 5:46am 
You're absolutely wild for doing this- But Everyone's thankful for doing so ^^
jodoo20 25 Oct, 2024 @ 4:15am 
good
massacro 24 Oct, 2024 @ 11:17pm 
hey i dont know if its a mistake, but the MetalSpear link leads to fire trail i think, good mod though!!
isagi 24 Oct, 2024 @ 12:38pm 
Thank you!!:steamthumbsup:
CarlosRojasCu 24 Oct, 2024 @ 9:50am 
Could you please add support for the mod: Simple Lockpicking

Thanks. :)
Artmine15💅 24 Oct, 2024 @ 5:30am 
you really did the system for recipies icons, wow
ㄥㄖ尺乇  [author] 23 Oct, 2024 @ 11:21pm 
Pushed one more update. All context options that craft something will show the item icon for what you're crafting ("Get Metal Bar", "Craft Metal Pipe", etc.)

Also, recipe options show different colored text if using the Color add-on
진서 23 Oct, 2024 @ 8:30pm 
It works like magic!
There are a lot more colorful icons, making the game more enjoyable.
I'm using other great mods as well. Thank you!
Timou 23 Oct, 2024 @ 7:52pm 
Thank you for colorfull icons !
Treasure from me :Gifting:
ㄥㄖ尺乇  [author] 23 Oct, 2024 @ 4:57pm 
Update out. I changed the mod to use translation strings, so it should be easier to make patches for. But I included all the various languages as well, so lemme know if anything isn't showing.

I've also added a WIP version for the icons with colors if you guys like it.
473mL of G11's urine 23 Oct, 2024 @ 12:19am 
nice