Project Zomboid

Project Zomboid

Not enough ratings
ActionsPatch
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
84.214 KB
4 Sep, 2021 @ 7:55pm
30 Sep, 2021 @ 10:28am
3 Change Notes ( view )

Subscribe to download
ActionsPatch

Description
This mod corrects some bugged behaviours as it can be from LUA until TIS does it the right way.
Last Tested B41.54

1/ This mod removes an invalid timedaction instead of clearing the whole queue.
e.g. you ask twice to transfer an axe from your inventory to your bag then you ask for a smoke: the smoke action will be started once the axe is in the bag.
as a consequence the text "bugged action, cleared queue" in your Console.txt should be there less often.

2/ This mod interprets the request to eat an item as a request to eat one instance of its type.
eg double click on a RedRadish now does "I want to eat a RedRadish" instead of "I want to eat that RedRadish"
as a consequence you can pipe requests to eat radishes and when the initial radish is fully eaten it will try to eat another one from you inventory or bags.

3a/ [deactivated from B41.55]WalkTo Action now has the same* endurance cost and fitness xp and sprint xp as the one applied when moving with keyboard.
bug discussion[theindiestone.com]
*not exactly the same conditions are tested because some java internals are not available from lua.

3b/ [deactivated from B41.55] same as Walk To for MoveTo mod.

If you find other actions that need that kind of changes, ask here with as many details as you can.

Workshop ID: 2593854936
Mod ID: ActionsPatch
4 Comments
Tchernobill  [author] 24 Mar, 2022 @ 7:50am 
I suspect some incompatibility leading to broken actions queue forcing the user to restart the game. For the few still using this mod: you should stop for now.
Vaeringjar 15 Jan, 2022 @ 4:21am 
is this still relevant in 41.60+?
Tchernobill  [author] 18 Oct, 2021 @ 11:36am 
@Ickerion Kane Thanx mate, it's exactly my main use case.
Ickerion Kane 18 Oct, 2021 @ 11:21am 
Thanks for the mod, guess it'll be really useful when eating tons of vegetables and/or berries!