Project Zomboid

Project Zomboid

[B42] Mutie's Context Menu Icons Expanded & Redrawn
25 kommentarer
Ferrus 9. juni kl. 12:21 
@H A L ~9000 same here
Rusty #DopeRust 12. maj kl. 1:34 
@adam adamich💅, firstly, thank you for sharing your work with the community of PZ, nice addiction to the context menu.

Secondly, i just made a bug report in your discussion thread for bugs, figure i should let you know if you dont have the notifications on, or something.

Cheers.
RunYouCleverBoy 21. apr. kl. 6:26 
"H A L #9000, me too
H A L #9000 7. apr. kl. 6:12 
Does anyone get this error when trying to right click an item from pause?

`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: EquipmentSlot.lua line # 84 | MOD: Equipment UI
java.lang.RuntimeException: attempted index: getOptionFromName of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
...
Prophecy 15. mar. kl. 18:26 
Mmm, did change both lines like you described, but still have no option to drink out of sinks.
Saxus Maximus Onyxus 6. mar. kl. 9:34 
Thank you @Kisho and @@satisfiedghost!
Kisho 5. mar. kl. 6:33 
Thank you @satisfiedghost I was having the same problem and your solution fixed it.

For those who are experiencing the same problem, the path folder for Common Sense Mod is
C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\2875848298\mods\CommonSense
satisfiedghost 4. mar. kl. 16:45 
You'll have to look in the lua files for the mods, the files I needed to edit were

mods/CommonSense/42.0/media/lua/client/ISUI/BB_CS_WashMenu.lua

mods/CommonSense/media/lua/client/ISUI/BB_CS_WashMenu.lua

both have the same problem on line 134 you'll need to fix.
satisfiedghost 4. mar. kl. 16:43 
@Harkyun I fixed it.

If you PZ in debug mode, it breaks when creating the sink menu and calls out line 134 in the BB_CS_WashMenu.lua file.

The line there is `local waterRemaining = sink:getWaterAmount()`

I tried to find that function in the vanilla lua scripts and couldn't but after some sleuthing did find a `getFluidAmount()` function. I am guessing the devs might've merged some code for anything containing a fluid and renamed the function.

If you change both lines in the CommonSense mod and this one to

`local waterRemaining = sink:getFluidAmount()`

and reload your game it should work.

Note: I did this while the game was running: did an exit to menu and then load game. Idk how Steam handles keeping these files up to date so if you fully exit it might overwrite the fix, no clue. But yeah if you launch the game to the main menu, edit those 2 files to change the function name, and then load your game it'll fix it.
Harkyun 4. mar. kl. 13:21 
I found out the reason, common sense is the cause. But I'll leave a comment if it helps in any way.
Harkyun 4. mar. kl. 13:16 
The option to drink from the sink is not showing up and the error magnifier showed this:

function: doWashClothingMenu -- file: Wash.lua line # 4 | MOD: [B42] Mutie's Context Menu icons Expanded
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1009 | Vanilla
function: GetWorldCreateMenuContext -- file: BaseFunctions.lua line # 7 | MOD: [B42] Mutie's Context Menu icons Storage
function: GetWorldCreateMenuContextIconized -- file: BaseFunctions.lua line # 42 | MOD: [B42] Mutie's Context Menu icons Storage

I hope this helps to solve it
M1ST0R 4. mar. kl. 12:27 
some errors with 42.4
PapaBonifacioVI 2. mar. kl. 2:29 
this mod is dope
SHIELD 1. mar. kl. 8:20 
Essential QoL mod!
Timou 16. feb. kl. 19:22 
Can you make it colorfull like in B41 PLEASE!
Little Crocodilian 16. feb. kl. 6:23 
AWESOME MOD WE WANT MORE!!!
Nothosaures 16. feb. kl. 3:55 
love it:steamhappy:
Alabeo 14. feb. kl. 3:50 
Very, very, very good mod. Love it.
Slobodskoy 12. feb. kl. 17:53 
Thnx you for your work!:steamthumbsup:
Agent X Top Secret 12. feb. kl. 6:50 
really nice mod =)
CopperAttacker 11. feb. kl. 13:14 
is there a build 41 version of this mod?
Vincenator 9. feb. kl. 21:07 
just curious but will you also be redrawing the missing icons or no
Artmine15💅  [ophavsmand] 6. feb. kl. 8:42 
@Guiltron, you can disable or enable original mod, it's not necessary.
one problem that it works strange with redrawn icons, so it's better to disable it.

If you disable original mod some icons will be missing, but if you enable, icons from redrawn and original will mix up. decide for yourself
maybe later I'll fix that problem
Guiltron 6. feb. kl. 8:09 
I'm just confused about something, is Mutie's original mod no longer required for this version since it's standalone or do I still need to have it for the other icons?
nikos 6. feb. kl. 6:32 
:3