Project Zomboid

Project Zomboid

Quick Item Action
115 kommentarer
GXTV 18. mar. kl. 16:34 
Working fine 41.78 on hosted server and was added mid-save!
Gerdo 16. mar. kl. 1:43 
I love lottery tickets. There is nothing better then winning $10 in post-apocalypse. Most of my characters have some kind of twinky goal like lottery tickets, money, porn magazines, underpants, gold and dice.

Someone should make a mod for this. Could work like the smoker trait for consumables or the well-fed mood for useables. Or just make numbers go up for flex and dopamine.
yayie 17. feb. kl. 14:56 
Not exactly but its alright.
co`  [ophavsmand] 17. feb. kl. 14:34 
yayie: does that serve any purpose? ^^'
yayie 16. feb. kl. 18:03 
Double click to scratch "Lottery Ticket".
co`  [ophavsmand] 4. feb. kl. 12:15 
@Mason I doubt this mod is responsible for the problem you describe because it only triggers actions that don't exist when double clicking. In all cases the vanilla code that handles double clicks is still running.
Mason 4. feb. kl. 12:03 
@co`
it seems this mod conflict with tetris inventory
double click doesn't work on anything!
Preman Kampung 1. feb. kl. 13:03 
Maybe if you can make a sample for making a patch so I can patch it my self?
Preman Kampung 1. feb. kl. 13:00 
Yes, it was Rain's Firearm & Gun Parts. Maybe it change because I use mod that change categories? I'm using organizedCategories: Core mod.
co`  [ophavsmand] 1. feb. kl. 5:27 
@Preman Kampung: I couldn't find a mod called "Rain's weapon." The closest matches I found were "Rain's Firearms & Gun Parts" and "B42 Rain's Firearms & Gun Parts." I tested both, and I was able to find the "Box of .45 ACP Rounds" and the "Box of 7.62x51 Rounds." However, in both cases, the display category was "Ammo," meaning the mod works as expected without any issues.

Are these the mods you were referring to? If so, it looks like the author updated them to align with vanilla display categories. If not, could you share a link to the specific mod you're talking about?
Preman Kampung 30. jan. kl. 15:39 
Here the Lua output from opening 2 different ammo box from Rain's weapon mod

DEBUG: Name:Box of.45 ACP Rounds
DEBUG: Type:Bullets45Box
DEBUG: EatType:nil
DEBUG: Category:Normal
DEBUG: DisplayCategory:ammunitionFirearm
DEBUG: Name:Box of 7.62x51 Rounds
DEBUG: Тype:762Bоx
DEBUG: EatType:nil
DEBUG: Category:Normal
DEBUG: DisplayCategory:ammunitionFirearm
Preman Kampung 30. jan. kl. 14:38 
Ok will do that. I'll report back later.
co`  [ophavsmand] 30. jan. kl. 10:31 
@Preman Kampung: It depends on the display category of the item. If it's "Ammo", there's a good chance it will work out of the box. If not, I'm willing to make it work. In that case I'll need you to run the game in debug mode, and share the Lua console output when you double-click said ammo. The output should look something like:
```
DEBUG: Name:...
DEBUG: Type:...
DEBUG: EatType:...
DEBUG: Category:...
DEBUG: DisplayCategory:...
```
Preman Kampung 29. jan. kl. 21:34 
Can it open ammo box from mods?
co`  [ophavsmand] 26. jan. kl. 9:13 
New release to open canned food ;)
aliiidelfani 19. jan. kl. 23:08 
you're a hero
co`  [ophavsmand] 19. jan. kl. 18:03 
Alright, new release is up, it fixes a regression in B41 after update for B42.
Sorry for the trouble ^^'
co`  [ophavsmand] 19. jan. kl. 18:00 
Ok I found a bug when using specific actions. Clearly there's an error (like a red square), but nothing like a full game crash. I'll push a new version in a few minutes, please let me know if that fixes the issue for you
co`  [ophavsmand] 19. jan. kl. 17:26 
also if you can share the steps to reproduce the crash that could be helpful
co`  [ophavsmand] 19. jan. kl. 17:25 
@Afanickton: I'm not able to reproduce the issue you describe on B41. Can you share the console.txt after the crash occurs?
Afanickton 19. jan. kl. 17:08 
Can confirm this just crashes the game on Build 41. Causes a Lua error before just crashing the game entirely.
The Oreo 19. jan. kl. 15:56 
Yes
co`  [ophavsmand] 19. jan. kl. 15:48 
Are you on discord?
co`  [ophavsmand] 19. jan. kl. 15:48 
Alas no
The Oreo 19. jan. kl. 15:21 
Did you get to see the link before it was removed?
co`  [ophavsmand] 19. jan. kl. 15:03 
hum, I don't see anything in there that would point to this mod. Do you have something about QuickItemAction.lua in your console.txt? If yes please share a few lines before and after
The Oreo 19. jan. kl. 15:00 
The Oreo 19. jan. kl. 14:39 
[19-01-25 17:06:24.292] ERROR: General , 1737324384292> 344,921,203> DebugLogStream.printException> Stack trace:.
[19-01-25 17:06:24.302] ERROR: General , 1737324384302> 344,921,213> ExceptionLogger.logException> Exception thrown java.lang.NullPointerException: Cannot assign field "type" because "<parameter1>" is null at TextureDraw.glLoadIdentity line:860..
The Oreo 19. jan. kl. 14:27 
Sorry I'm still trying to figure out what that means
co`  [ophavsmand] 19. jan. kl. 14:16 
Oops, sorry ^^'
Would you mind sharing the stack trace from your console.txt? Or simply uploading your Zomboid/console.txt somewhere
The Oreo 19. jan. kl. 14:08 
on build 41
The Oreo 19. jan. kl. 14:08 
game keeps crashing after updating :(
co`  [ophavsmand] 19. jan. kl. 13:53 
Also I probably forgot some actions that would be easy to add, just let me know!
co`  [ophavsmand] 19. jan. kl. 13:46 
Hi, I'm pleased to announce a new release for B42!
Also added new actions, see change notes for details.
I've tried to be careful not to break B41 but I haven't tested.
Please let me know if you encounter any issue!
Enjoy ;)
co`  [ophavsmand] 19. jan. kl. 13:44 
@Mitchel Vories: Well I'm already on this discord since the begining, but no clue here either. But the good news is I finally managed to get it working for B42 ;D
irrelevantredundancy 18. jan. kl. 13:08 
Have you tried the PZ Modding Community Discord. I lurk on there and the thing those people talk about makes it feel like they might know a little bit.

https://discord.gg/gZnxBE3H
co`  [ophavsmand] 16. jan. kl. 9:51 
@Mitchel Vories: Thank you. The problem is not about the new layout for B42, it's about how to achieve the same features from Lua code. Most actions supported by this mod, such as opening box of nails, seed packages etc are just recipes. In B41 it's easy to use a recipe from Lua code, but in B42 I can't figure out how to do it. I've been asking on PZ discord server but it seems noone has a clue :/
irrelevantredundancy 14. jan. kl. 11:20 
I had a link...can't find it. But the way I understood it, minimally it involves creating two new folders, one stays empty, the other receives (copy/paste) the contents of a folder that already exists. I don't know if my uneducated summary of an article I saw once give you any motivation, but I thought I'd offer it anyways. lol
co`  [ophavsmand] 10. jan. kl. 10:00 
I'd love to update it for B42 but I have no clue how to do it. TIS completely changed the way recipes are handled. It might take a while for me to figure it out.
Klaarturo 20. dec. 2024 kl. 10:18 
Hopefully this mod will be updated for Build 42, it is one of my favorite mods. Please, when possible, I would love you to update it :)
UnrealVenn 17. dec. 2024 kl. 16:34 
just going through my subscribed list because of the b42. when update for b42? tats all
=Добро и позитив= 28. aug. 2024 kl. 23:51 
Js thanks. u r right.
we have -- Pills
elseif itemDisplayCategory == 'FirstAid' and pillsTypes[itemType] ~= nil then
ISInventoryPaneContextMenu.takePill(item, 0)
remove the first condition
-- Pills
elseif itemDisplayCategory == 'FirstAid' and pillsTypes[itemType] ~= nil then
ISInventoryPaneContextMenu.takePill(item, 0)
ma pills work now.
=Добро и позитив= 28. aug. 2024 kl. 2:44 
Thank you. Maybe it doesn't work for me.
co`  [ophavsmand] 27. aug. 2024 kl. 11:35 
@=Добро и позитив= : It's already there, last item from the feature list ;)
=Добро и позитив= 26. aug. 2024 kl. 10:16 
is it so difficlt to add Take pills?
EGXex 18. juni 2024 kl. 6:54 
can you try to add applying bandages too. because if i have "fast bleed" and cant apply good bandages with the Right Click Menu, i die
co`  [ophavsmand] 14. jan. 2024 kl. 5:15 
@sno8ne: Isn't it already working in vanilla?
iaso2h 5. jan. 2024 kl. 18:22 
Nice work!:shelove:
Sho 12. nov. 2023 kl. 17:56 
It would also be useful to be able to open cans with a double click.
Sho 12. nov. 2023 kl. 3:51 
Very useful. Thank you!

Requests
-Please make it possible to open and close the box in the backpack by double-clicking to take it out automatically.
-Please make it possible to wipe wet body with a rag or towel by double-clicking.