Project Zomboid

Project Zomboid

Washing Menus Improved
47 kommentarer
John Halo 15. aug. kl. 10:40 
Appreciate the work you are doing Afyrmo. Its silly that the devs keep making things so awkward and messing about the with the context menu.
That'd be great, thanks a lot Sir Afyrmo. It is so disgusting that players in vanilla now have to do every action by single clicking through these enlarging menus, insane
Afyrmo  [ophavsmand] 9. aug. kl. 6:37 
@mareckz//я не русский, at the bottom of the context menu, there should be a "Wash" submenu (with a bucket of water icon) and below it a "Clean Bandages" submenu. Ideally, these submenus should be integrated into the submenu for the water source (sink, river, etc.) being used, but in the update to Build 42.11.0, the function that controls this submenu is controlled from the Java section of Project Zomboid and cannot be modified from a Lua mod. I plan to improve the integration of the washing submenus when I have free time.
Does not show any option of "clean all rags" in my main inventory...
Max Payne 6. aug. kl. 6:46 
Man, people like you keep PZ alive

Thanks for keeping up with the updates, much appreciated
Afyrmo  [ophavsmand] 5. aug. kl. 10:32 
@Phil, The mod has just been updated to work again with Build 42.11.0, but due to recent changes, the context menu system had to be rebuilt in a new way. A new separate submenu appears at the bottom of the right-click menu (due to Java restrictions in this build).

To make sure the mod updates correctly on your PC, try the following steps:
* Close Project Zomboid completely.
* In Steam, unsubscribe from the mod.
* Wait a few seconds — with your Library open, you’ll see in the bottom bar when the mod is fully removed.
* Once it’s removed, subscribe again to re-download the updated version.
* Wait a few more seconds — the bottom bar should confirm when it's fully installed.
* Launch Project Zomboid and check if the issue is resolved.

Let me know if you’re still having trouble.
Afyrmo  [ophavsmand] 22. juli kl. 5:25 
@Jaxx - pshoooo, that could be a good update. I came up with something similar and I will soon do some tests to check if it fits well.
Jaxx - pshoooo 21. juli kl. 10:00 
is it possible to add a feature where if you just click the "Wash" option that other subselectable types dropdown off of, that you attempt to wash everything possible in one go?
Cubae 9. juli kl. 18:01 
Yea i can finally make my beloved chum from sand without gathering it with shovel, Thx <3
Afyrmo  [ophavsmand] 9. juli kl. 9:27 
@Cubae, I uploaded a new version to fix that. Let me know if it's not working as expected. Thank you for your feedback.
Cubae 8. juli kl. 12:40 
Funny thing, but this mod disable option to Make a chum from sand on the ground. Its literally NOTHING but, idk why its happening and i just wan to give feedback to people were confused just like me. Btw good job with this mod, good QoL
Afyrmo  [ophavsmand] 7. juli kl. 7:47 
@Hx, I uploaded a hot fix. There was an extra parenthesis that I'd mistakenly added after hundreds of tests. Try resubscribing to force the update. Thank you for your feedback.
Hx 7. juli kl. 0:59 
`se.krka.kahlua.vm.KahluaException: WS_ISWorldObjectContextMenu.lua:455: unexpected symbol near `)`

> 455
local bagsOption = mainSubMenu:addOption(getText("ContextMenu_BagsEquipped"):lower()), playerObj, nil)
RunYouCleverBoy 15. juni kl. 1:51 
@Afyrmo, thanks - subscribed helped.
Kevin_de_Arte 14. juni kl. 14:55 
Gracias por tenerlo en cuenta! Ya probé y las opciones son para la apertura de puertas con palanca y poco mas. El conflicto lo hace en las latas de comida que no deja abrirlas al poner los mods de misiones. Esperaré a ver si de casualidad lo terminas portando a B41 ya que hay mucha gente jugando todavía. La 42 está en constante cambio y lo que hoy funciona mañana no. Igualmente me guardo tu mod para cuando la 42 sea estable, que será cuando la juegue.
Un saludo!!
Afyrmo  [ophavsmand] 14. juni kl. 9:52 
@Kevin_de_Arte, Aún no está implementado el mod en b41, aunque tal vez lo haga en un futuro. Antes de ello, tengo planeadas algunas mejoras en b42, como que puedan lavarse objetos que están en mochilas. Se pueden deshabilitar algunas opciones de "Common Sense" en la pestaña "Mods" de las opciones del juego y a veces parte de los problemas pueden solucionarse cambiando el orden de carga de mods.
Afyrmo  [ophavsmand] 14. juni kl. 9:46 
@Akramhar, Washing items from a backpack is not implemented yet, but I plan to do it in the near future.
Kevin_de_Arte 12. juni kl. 18:14 
Buen mod amigo! Es justo lo que necesito porque el mod de Sentido Común me da problemas con otros y este cubre las funciones de lavado. Pero no funciona para la B41. He probado a resubscribirme y nada, no aparece en la lista de mods en el juego. Quiero incluir un mod de misiones en mi coleccion de mas de 700 mods estables y el Common Sense es un grano en el ... he encontrado otros mods que cubren todas las funciones que ofrece y el tuyo es el que me falta para tenerlo todo! Espero que si tienes un huequito puedas mirarlo. Gracias igualmente por tu esfuerzo por la comunidad!
Akramhar 12. juni kl. 17:25 
Hi, thank you very much for your mod. I may be wrong but I think before the last update I was able to clean everything that was inside bags too, but now I have to pull stuff out of the bags to clean it. Would it be possible to add an option for this? Thank you very much.
Afyrmo  [ophavsmand] 12. juni kl. 3:15 
@RunYouCleverBoy, the mod was updated recently after the pz update to version 42.9.0.
The new pz version uses a java function but it still has the lua version, so the new version of the mod tells pz to use the lua version.
Try resuscribing and let me know if the problem persists.
TwisTonFire 11. juni kl. 6:50 
Yeah let's hope they don't remove it completely!
Afyrmo  [ophavsmand] 11. juni kl. 4:03 
@TwisTonFire, I uploaded a new version to use the lua function ISWorldObjectContextMenu.createMenuEntries, instead of the java function. I hope TIS keeps letting us mod the game. More ideas lead to more improvements. Thank you for your feedback.
Kind regards!
TwisTonFire 10. juni kl. 23:14 
All the worldobjectcontext menus are now operated in java now, so i think that is a big rip in lua modding for world object context menus. So every mod like this is now uneffective.
[KUN]喜欢吃皮蛋拌粉 4. juni kl. 3:08 
@Afyrmo Thank you, I'm using the game, but it's still displaying in English. I just thought that after adding the translation text, it would show up in Chinese.
Afyrmo  [ophavsmand] 4. juni kl. 2:58 
@我是一个小菜坤, The submenu texts currently included in the mod can be configured separately for each language and are as follows:
Sandbox_EN = {
Sandbox_WashSmart = "Washing Menus Improved",
Sandbox_WashSmart_AllowTaintedWater = "Allow Tainted Water to Clean Rags",
Sandbox_WashSmart_AllowTaintedWater_tooltip = "When enabled, tainted water can be used to clean rags, bandages and strips.",
}
The rest of the submenu texts used by the mod are made up of words and phrases included in the game, so they should have their own translations, but it's possible that some translations could be improved.
I would be happy to add suggested translations, either for the texts included in the mod or for the texts the mod uses from the game.
[KUN]喜欢吃皮蛋拌粉 3. juni kl. 9:30 
May I ask if the right-click menu options can provide text for translation?
若叶睦 24. maj kl. 4:09 
谢谢你42.8前的贡献:steamthumbsup:
RunYouCleverBoy 23. maj kl. 21:09 
still need in 42.8
SunGod 21. maj kl. 17:27 
God bless you for this.
Mountain Dew Baja Blast™ 9. maj kl. 18:13 
oh my god you are amazing
F1tgal911 9. maj kl. 8:37 
Awesome ty!!! Luv the mod.
Afyrmo  [ophavsmand] 9. maj kl. 6:53 
@F1tgal911, I uploaded a new version with a mod sandbox option to clean bandages, rags and strips with tainted water. Its default value is "false" to follow the vanilla guidelines, but you can change it in a saved game by using a mod named "Change Sandbox Options". Thank you for your feedback.
F1tgal911 8. maj kl. 4:28 
TY my friend.
Can you please also add an option to clean rags and bandages in natural water sources (lakes, ponds, rivers)?
blinkraven 8. maj kl. 2:33 
another great mod that needed to be added as vanilla feature in build 42, keep it up!
p6kocka 7. maj kl. 13:21 
Great mod. Just want to thank you
Afyrmo  [ophavsmand] 5. maj kl. 17:08 
@nononon, maybe it was due to the 42.6.0 update, when some items changed: "Added clothing items and craftRecipes for a Rag Bandana and a Leather Strip Headband". For example, I had some cooking pots that after that update don't show "empty" in their name and i can't fill them.
nononon 4. maj kl. 17:47 
@Afyrmo. Tried replicating it but couldn't. All mods same. Spawned in the strips and hunted down leather coats too. Nothing. It has happened to me multiple times already. What is strange is that the last time this happened I has 19 leather strips left that could not be washed at any sink. Water was still on.
nononon 4. maj kl. 16:29 
Maybe it is a mod conflict. I'll try to figure it out.
Afyrmo  [ophavsmand] 4. maj kl. 15:18 
@nononon, I tried to reproduce the issue, but the washing operation is working well.
· When the water supply is turned off, there are 20 liters of water left in sink taps and 100 liters remain in bathtub taps.
· Each dirty leather strip requires 0.5 liters of water.
· If I have 50 dirty leather strips, when I wash them in a sink with 20 liters of water, the option to wash 40 leather scraps appears and the washing action is done correctly.
· If I only have one leather strip in my inventory, only one option appears (without the submenu to wash one or all the strips) and it performs the action correctly.
· If I try to wash something after there isn't water left, the options don't appear, as is the case with vanilla features.
nononon 30. apr. kl. 3:33 
I'm not sure what is causing this but when i try to wash leather strips at the sink it will only wash half of them when I want to wash all. When I have 1 left I can not wash it. So I go 40(20) - 20(10)
RunYouCleverBoy 20. apr. kl. 6:09 
@Ghost ++
ghost 14. apr. kl. 14:02 
Definitely rethink naming it a fix. I thought this was an accidental copy of one of the now obsolete washing mod fixes. I'm subscribing now though!
konte1m 14. apr. kl. 13:25 
Calling it a "fix" is not a really good choice tbh, at first i thought it was just a fix for some kind of a bug that B42 added and skipped this mod, only at second glance have i read the description and subscribed. You're losing potential subscribers here.
RayPlayST 12. apr. kl. 7:32 
同样的 希望能增加直接清洗背包内的物品 主要是绷带~ 谢谢! 喜欢这个mod
Afyrmo  [ophavsmand] 9. apr. kl. 4:50 
@Molgador, you can wash items in your main inventory. To wash items inside backpacks, first you should take them out to your main inventory. In the near future, I want to add submenus to differentiate items and wash only certain types of items, such as washing only equipped clothing or only unequipped items. Later, I might look into adding an option to wash items inside backpacks, though I'd need to add the actions to take out items, wash them, and put them back in the backpack. Thank you for your feedback
Molgador 9. apr. kl. 4:21 
Is it feasible to add a way to wash clothing in equipped containers(mainly backpacks), half of my inventory is * * (Bloody) pretty much always haha and it's such a pain to find and take everything out to wash. Just curious, and great mod! As someone who primarily plays with controller 20 button presses per rag is pretty soul numbing :er_sad:.