Project Zomboid

Project Zomboid

评价数不足
Chewing Tobacco Fix (build 42.12)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.006 MB
10 月 10 日 上午 3:59
10 月 16 日 上午 4:34
3 项改动说明 ( 查看 )

订阅以下载
Chewing Tobacco Fix (build 42.12)

描述
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
热门讨论 查看全部(1)
0
10 月 10 日 上午 4:03
Bug reports
pimatstudio
13 条留言
pimatstudio  [作者] 11 小时以前 
@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 21 小时以前 
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 10 月 15 日 下午 12:05 
Should this also fix existing games where the stress level is already messed up? Because it doesn't seem to fix my character.
pimatstudio  [作者] 10 月 12 日 下午 12:06 
Happy to have it solved :)
SBlack 10 月 12 日 上午 10:04 
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  [作者] 10 月 12 日 上午 8:58 
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 10 月 12 日 上午 6:03 
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  [作者] 10 月 12 日 上午 5:49 
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  [作者] 10 月 12 日 上午 5:43 
Thanks for the feedback, I'll fix it later today!
SBlack 10 月 12 日 上午 2:17 
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

....