Project Zomboid

Project Zomboid

Mutie's Context Menu Icons
88 Comments
clem 30 Mar @ 9:24am 
Hey, I can vouch that this mod causes all UI to disappear in the menu in b42. I'm not subscribed to the revamped mod, and only once I removed this mod specifically did the problem fix itself
Mutie  [author] 5 Mar @ 4:56am 
That is.. Strange. Perhaps you have another addon mod subscribed? Several of them change the scripts in various ways, and I can't debug without knowing exactly which addon you have.
Amroth 5 Mar @ 3:54am 
Oh, that's... interesting. I'm not subbed to it
Mutie  [author] 4 Mar @ 11:00pm 
@Amroth, the mod that is giving you the error is Mutie's Context Menu icons Expanded - not my mod. I believe it is the mod available here:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3293222249
Amroth 4 Mar @ 10:25am 
Still works as of 42.4 BUT, I am getting an error:

attempted index: getOptionFromName of non-table: null
function: createMenu -- file: PutInContainer.lua line # 6 | MOD: [B42] Mutie's Context Menu icons Expanded
function: GetInventoryCreateMenuContext -- file: BaseFunctions.lua line # 16 | MOD: [B42] Mutie's Context Menu icons Storage
function: GetInventoryCreateMenuContextIconized -- file: BaseFunctions.lua line # 53 | MOD: [B42] Mutie's Context Menu icons Storage
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1459 | Vanilla
java.lang.RuntimeException: attempted index: getOptionFromName of non-table: null
demZo662 22 Jan @ 8:44am 
I have just subscribed to this one too besides one that I already had but isn't updated yet unlike this one that got updated just today. Thank you so much! I really think that it's totally okay to implement that as a feature as for the Unstable version, but it's too much intrusive to me, and I would have put it as a toggled shortcut key or something embedded in the UI. I will try your mod anyway now that it happened that I have just stomped on it.
Mutie  [author] 22 Jan @ 7:53am 
The debug messages are a B42 feature - there's other mods to remove them. One of them is available here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3386728445&searchtext=debug

Although I haven't tried any of them, since I am actively debugging all the time these days.
demZo662 22 Jan @ 7:21am 
I tried if this mod would remove the contextual options or messages for debug that to me are so ugly that they be there, but obviously it didn't work. Am I not missing anything from the mod isn't it?
Mutie  [author] 21 Jan @ 2:12am 
Give me the error without the other mod installed, and I can take a look at it :)
Smiley Face Killer 20 Jan @ 5:36pm 
The storage thing comes from: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3293222249&searchtext=mutie
It's the redrawn icons for this, but I just removed that entirely and still get an error. And I did the manual un-installation, and then reinstall and it still popped the error.
Should I go post the issue there too or?
Mutie  [author] 20 Jan @ 4:11am 
@Smiley Face Killer, there's not supposed to be a file called "BaseFunctions.lua" in this mod. Could you try deleting the mod locally and letting Steam re-download it to ensure file deletions happen, it is possible that I accidentally removed a file some time ago, which Steam Workshop does not support.

Otherwise, you have an old version of the mod or a third-party version of the mod and there's not a lot I can do. In fact, I think you have a mod called "Mutie's Context Menu icons Storage" and that is where the error is coming from.
Smiley Face Killer 19 Jan @ 12:27pm 
The Defecation mod won't let me use the toilets and it keeps popping up an error related to this mod. Figured I'd post here in case you wanted to take a crack at it.
The issue happens that when I right click a toilet to use it, an error pops up (below is log) and the option to use the toilet is not there at all.
If you need more information or if it's just my fault, let me know

Error log: https://pastebin.com/yW3RGtHY
The mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1436878551
Kagarine 11 Jan @ 8:25am 
Amazing ! Nice to see it's updated :)
jarpiz87 7 Jan @ 11:33am 
Thank you very much!!!
Mutie  [author] 7 Jan @ 6:41am 
B42 should be out now, apologies for the delay. New Year turned very busy :)
Ast 3 Jan @ 5:10pm 
No b42 tag on this mod :sad
jarpiz87 31 Dec, 2024 @ 4:40pm 
Popped to see if the icons b42 is out! Happy new ear! (No pressure<3)
Mutie  [author] 27 Dec, 2024 @ 5:44am 
@Czarita, @𝐏 𝐋 - I love the suggestion, but it would have to be baked into the icons I think. I have some time off work where I'll look into things a little bit.

@jarpiz87 - It does work in b42, but I need to re-upload with the new folder structure, expect an update before the new year ❤
𝐏 𝐋 26 Dec, 2024 @ 6:00pm 
@ Czaritsa that's a nice suggestion, +1
jarpiz87 22 Dec, 2024 @ 8:10am 
Does this mod work build 42? I really love the icons <3
Czaritsa 14 Dec, 2024 @ 11:58pm 
Awesome mod.
Suggestion: Could you change COLORS of some of the options? So we can at-a-glance choose the correct action?
Colorize the most commonly-used action.
IE, DROP = red. Rip sheet = green (action on clothes.) That would be amazing in conjunction with the icons.
Ecn 14 Nov, 2024 @ 1:10pm 
Had an issue today where this mod was causing hangups on loading into our server. It popped up the install mod list with just the workshop ID(no mod id) and no install button, had to disable it for now sadly.
The † Faith † 28 Aug, 2024 @ 4:44pm 
Does this work with rendering inventory mod
Deathstar 20 Jul, 2024 @ 10:23am 
No errors since the update, thank you!
dieguin_po 20 Jul, 2024 @ 9:07am 
this needs to be on the base game
Mutie  [author] 10 Jul, 2024 @ 11:12am 
@Wesch, @Deathstar, @Crestfall, I should have resolved the bug now. Please report back if you still have any issues.
Mutie  [author] 10 Jul, 2024 @ 6:09am 
I'll take a look at it ASAP, sorry for the inconvenience, I would have thought the new system would be very unlikely to error.
Crestfall 9 Jul, 2024 @ 8:54am 
Never mind, it's causing errors with almost everything. The errors are harmless but it's quite annoying.
Crestfall 9 Jul, 2024 @ 5:51am 
What happened to the update today? Errors from this mod spamming. For me it was interacting with kitchen sinks.
Deathstar 9 Jul, 2024 @ 5:09am 
Can confirm, new version is causing errors with all sorts of tiles when right clicking. Bath tubs, for one.
Wesch 8 Jul, 2024 @ 1:27pm 
Causes errors when clicking on metal barrel with water
has to do something with this function

function ApplyOptionIconsToWorldContextMenu(player, context, worldobjects, test)
if test and ISWorldObjectContextMenu.Test then return true end
if not context then return end

for optionName in pairs(MutiesContextMenuIcons.Options) do
local option = context:getOptionFromName(getText(optionName));
if option then
local texturePath = MutiesContextMenuIcons.Options[optionName];
option.iconTexture = getTexture(texturePath); -- this one
end
end
end
Mutie  [author] 13 Jun, 2024 @ 11:33pm 
@Mc Roidaar, I'll put it on the list. I've been playing the game myself recently and I've noticed many things that should have icons :D
Mc Roidaaar 29 May, 2024 @ 12:41pm 
like clearing out window frames before climbing in
Mc Roidaaar 29 May, 2024 @ 12:40pm 
can u add icon for removing glass? pretty please? :p
Artmine15💅 28 May, 2024 @ 11:13pm 
@dandark Im still working on it. I couldn't do this for a long time, but now I've continued
dandark 13 Apr, 2024 @ 11:39am 
@adam adamich did finish the icon expansion for this mod?
Mutie  [author] 27 Mar, 2024 @ 11:46am 
All done @Reifel, thanks for letting me know about this mod!
Reifel 22 Mar, 2024 @ 9:25pm 
@Mutie cool mod! this should be in vanilla, new players need to discover your mod. Can you include yourself in Modspotlight ?
aquelarrefox 15 Mar, 2024 @ 3:31pm 
could you add some more for mods: a toilet icon for excrementum mod, a hanger icon for the label seize mod context. This mod is so cool
Mutie  [author] 10 Mar, 2024 @ 6:23am 
@adam adamich - absolutely! Go for it. Consider the mod MIT licensed. I'll update the page (and my other mod pages) soon enough to reflect that.
Artmine15💅 10 Mar, 2024 @ 5:40am 
@Mutie, can I try to make an icon expansion of this mod? I already started it and it's going well
QS 9 Mar, 2024 @ 2:45am 
will you add icons for all other actions?
Codingale 24 Feb, 2024 @ 3:38pm 
Trade Icon like 🔁or similar would be nice, thanks for the Icons makes quickly doing things easier.
MagicHp 24 Feb, 2024 @ 1:12am 
No rush, take your time ^^
Mutie  [author] 23 Feb, 2024 @ 11:53pm 
No smash? :c
And I still need to look at the DupeZed, MultipleGenerators, Plumbing, and Building Menu mod compatibilities.
Titto Hokkaido 23 Feb, 2024 @ 7:15pm 
No smash :<
Nark0t1k 19 Feb, 2024 @ 1:37pm 
I got some error when used with the mod Building Menu and right click on a fireplace in house (vanilla not crafted)
MagicHp 7 Feb, 2024 @ 2:57pm 
Nice mod, but I'm getting errors when used alongside DupeZed and/or MultipleGenerators.

Just to let you know for future updates ;)
=Добро и позитив= 31 Jan, 2024 @ 2:07am 
Good job! Can you make a version without action labels? Remove text and leave only icons? Just for minimalism.
Mutie  [author] 27 Jan, 2024 @ 6:54am 
@Ariasla, @ShabbyPirate, @Dharca Blackfire
I should have fixed the controller bug now!