Project Zomboid

Project Zomboid

Dynamic Traits and Expanded Moodles [B41 & B42]
Cadence 26 Mar, 2023 @ 11:02pm
smoker
Do you lose the smoking addiction after a while or is it perm?
< >
Showing 1-2 of 2 comments
TheWarlock 20 Apr, 2023 @ 3:00pm 
Been a month since you posted this but there's a spreadsheet in the main description of the mod that has a list of what traits are static/dynamic and how to obtain/lose them to some extent.

Smoker is a dynamic trait that can be lost by not smoking for 45 days.
Demarky 22 Aug, 2024 @ 1:41am 
Hey, I noticed something in the code that might need a small adjustment! Right now, it checks if currentTimeSinceLastSmoke == 10 to update the DTdaysSinceLastSmoke counter. However, it might be better to use >= 10 instead of == 10. The reason for this is that if the exact value of 10 is missed, like if it skips to 11 or higher, the code won't update properly. By using >= 10, it ensures that the counter still increments even if the exact value isn't hit.
< >
Showing 1-2 of 2 comments
Per page: 1530 50