Project Zomboid

Project Zomboid

Not enough ratings
Chewing Tobacco Fix (build 42.12)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.006 MB
10 Oct @ 3:59am
16 Oct @ 4:34am
3 Change Notes ( view )

Subscribe to download
Chewing Tobacco Fix (build 42.12)

Description
Chewing Tobacco Fix

Build 42.12 introduced a nasty bug that makes one use of chewing tobacco permanently remove stress and unhappiness for good in a save (only posibility is to fix it through the debug menu).

This fix restores the original behavior of chewing tobacco.

How it works

For smokers — chewing tobacco will completely remove stress (as it used to before the bug).

For non-smokers — it will remove 5 points of stress.

For both — it removes 10 points of unhappiness.

The fix applies to all vanilla chewing tobacco items, so no manual setup is required.

Compatibility

This mod is ONLY compatible with Build 42.12.
It is completely safe to add or remove from an existing save.
No vanilla files are overwritten.

Feedback and Support

If you encounter any issues, please report them in the discussion thread.
Your feedback helps keep Project Zomboid’s world sane and balanced.




ver. 1.1

Restoring balance, one line of code at a time
— by pimatstudio

[ko-fi.com]

Every tip means the world to me, it really does!




Be sure to check out my other mods from the QoL factory!










Workshop ID: 3584126711
Mod ID: ChewingTobaccoFix
Popular Discussions View All (1)
0
10 Oct @ 4:03am
Bug reports
pimatstudio
13 Comments
pimatstudio  [author] 16 Oct @ 4:38am 
@Sibuscus, great news, and thank you very much for this information, I'll make sure to limit it for these versions, update incoming... and done!
Sibuscus 15 Oct @ 6:57pm 
I can confirm this worked on my existing save, you need to use Chewing Tobacco again(Or cigarettes, I think, I tested it with Chewing Tobacco) to get it to start working. After a while the moodlets start appearting again
Note to @primatstudio: Please make your mod only for versions 42.12.0-42.12.1 as this mod wont be needed next update, confirmed by the Zomboid QA team themselves
uggi75 15 Oct @ 12:05pm 
Should this also fix existing games where the stress level is already messed up? Because it doesn't seem to fix my character.
pimatstudio  [author] 12 Oct @ 12:06pm 
Happy to have it solved :)
SBlack 12 Oct @ 10:04am 
Doh. That seems to have been it. I know about the issue, but I usually don't have to do that. And it looked like it updated, but I guess that could have been another mod.
pimatstudio  [author] 12 Oct @ 8:58am 
I've just tested it and seems fine, have you tried unsubscribing and re-subscribing to foce the update? (wait a few seconds between clicking the button)
SBlack 12 Oct @ 6:03am 
Still happens every time you click on a door or window. And you can't open them with the right click menu. Only works with the interact key
pimatstudio  [author] 12 Oct @ 5:49am 
Applied a quick hotfix before going out, please check, it should work without the bug now, and sorry for that :)
Let me know if the bug's gone.
pimatstudio  [author] 12 Oct @ 5:43am 
Thanks for the feedback, I'll fix it later today!
SBlack 12 Oct @ 2:17am 
Throws an error when just walking around the house and opening doors:

attempted index: getFullType of non-table: null
function: OnActionPerformed -- file: zzz_ChewingTobaccoFix.lua line # 68 | MOD: Chewing Tobacco Fix
function: Fire -- file: EventHandler.lua line # 93 | MOD: Chewing Tobacco Fix
function: perform -- file: EventHandler.lua line # 148 | MOD: Chewing Tobacco Fix
function: perform -- file: ISWaitWhileGettingUp.lua line # 40 | Vanilla

....