Project Zomboid

Project Zomboid

True Smoking [B42]
125 Comments
Malu 5 hours ago 
No.
Ratamus  [author] 12 hours ago 
@Malu are you using other mods for reading?
Malu 13 Jul @ 2:42am 
It's weird because it was working perfectly fine and it broke the instant I lit one up and then click read on a book. No even removing it, loading the save, the reapplying the mod an reactivating the mod fixed it, it's just broken forever on that save.
Ratamus  [author] 12 Jul @ 10:04pm 
@SIMBAproduz Should be ok, i've been keeping the translation files updated with new options that get added :)
SIMBAproduz 12 Jul @ 8:02pm 
any update that needs to update the translations friend?
Ratamus  [author] 12 Jul @ 7:19pm 
Additionally I will push a small update later to keep the smoke burning slowly while reading as that fits the intended mechanics better, its an easy tweak but something I overlooked during development
Ratamus  [author] 12 Jul @ 7:01pm 
@Malu I don't see an issue on my end. While reading a book you are unable to puff as reading a book is a Timed Action, the smoke will eventually go out while reading a book but you can relight it as normal after you finish reading or put it out and light it up again later. I tested this again to be sure and everything is working as it should. It might be possible you have a mod conflict going on, if you're using default settings for True Smoking in the sandbox consider resubscribing to it while the game is closed and/or removing and re-adding it to your save
Malu 12 Jul @ 5:07pm 
Seems that reading a book while smoking completely breaks the mod, the lit cigarette stays at 8/8 forever and stress doesn't go down. Reloading doesn't fix it, the smoking moodle goes away and the cigarette is returned but if you smoke it happens again.
Ratamus  [author] 9 Jul @ 7:05pm 
@slumsofdespair there are options for the auto puff features in the mod options menu found in the esc menu

Keep smoke lit will automatically take puffs when the smoke is about to go out, passive puffing will also puff between the interval set. Turning those off will stop the auto puffs.

In the sandbox settings there is options to tune how the smokes behave, increasing the smoke length is the easiest way to have a 'longer' smoke
slumsofdespair 9 Jul @ 3:55pm 
@Ratsmus sweet thanks bro is there also a way I can stop it from auto puffing and make it burn slower so I can keep it held in my characters mouth longer?
Ratamus  [author] 8 Jul @ 7:21pm 
@Big_Bluntz that should be intended if you have the smoker trait as you start severely addicted. If you ween off smoking over time it will go down. Default balancing is around a month in game time to lose addiction/smoker trait
Ratamus  [author] 8 Jul @ 6:43am 
@slumsofdespair yup, if you turn off the 'Smoke relighting' option the smoke should stay burning
slumsofdespair 8 Jul @ 12:14am 
hey is there any way i can disable the smoke from going out?
Ratamus  [author] 7 Jul @ 3:32pm 
Big_Bluntz as a smoker you start addicted
Big_Bluntz 7 Jul @ 1:39pm 
Are you supposed to get severely addicted after 1 smoke?
Fish n' Chips 6 Jul @ 7:56pm 
Thanks! For some reason I got it into my head that I needed to puff to actually get nicotine but I understand now that it's just for keeping it lit or burning it quick while idle.
Ratamus  [author] 6 Jul @ 4:25pm 
@Fish n' Chips
The smoke will burn without puffing as you move around, sprinting and running will increase the burn rate more than just walking, standing idle the burn rate decreases until it goes out. Puffing will of course increase the burn rate much more.

Different items have different amounts of nicotine which is gained over the duration of the smoke, so while the 'smoke length' and 'nicotine content' may not be equal in amounts they are equally distributed over time as you smoke
Fish n' Chips 6 Jul @ 9:56am 
Is puffing necessary to get nicotine or do you just gain nicotine passively as whatever your smoking burns? I'm guessing nicotine rate is equal to burn rate?
solarchos 4 Jul @ 12:13pm 
Question - Is it just me or does the thumbnail pic look like Omni-Man?
SIMBAproduz 19 Jun @ 5:29pm 
niceee one!
hezze 16 Jun @ 5:30am 
@Ratamus oh ok, thank you
Ratamus  [author] 15 Jun @ 2:55pm 
@Hezze the more addicted you are the less effective a cigarette becomes at completely removing stress. Cigarillos, Cigars, and Pipes are more effective than a single cigarette, but smoking more than you need builds addiction
hezze 15 Jun @ 6:46am 
while smoking
hezze 15 Jun @ 6:45am 
for some reason, with the trait smoker, the state of nervous breackdown does not disappear, why is that?
Flagrantly Obtuse 14 Jun @ 5:51pm 
@Ratamus thank you for the reply. I'm glad its not this mod because this is one is great. I need to figure out why my character goes from fine to "At breaking point" while most criteria isn't met to be at that level of stress. Thank you again for creating this mod.
Ratamus  [author] 14 Jun @ 4:17pm 
@Flagrantly Obtuse The mod shouldn't change anything with how stress is accumulated from how it works in the base game, stress is removed slower/less based on the addiction level of the player as they smoke with the Nicotine System active.

There are a few things that add stress to a player, being infected, hearing zombies bang on doors/windows, and having the fear of blood trait while wearing bloody clothes/being covered in blood
Flagrantly Obtuse 14 Jun @ 3:37pm 
Love this mod! Not sure if its related, but my character is always getting max stressed often. "At breaking point" moodle is always there. I smoke a cig and it eventually goes away for it to be back in a short period of time. Any suggestions?
Sadc0m 7 Jun @ 1:48am 
MORE TRAITS" mod has smoking too, please make it compatible. Is it already?
bociek139 5 Jun @ 5:02am 
holy what a banger mod !!!
SIMBAproduz 4 Jun @ 10:09pm 
it's so nice to press a shortcut button on my mouse and have it pull a cigarette out of the corner of its mouth
Ratamus  [author] 4 Jun @ 9:38pm 
@Mariposa Option to hide Addiction Moodle added

@RagingLoony I added a patch for overwriting DTEM's addiction system when the Nicotine System is added but it's untested
Ratamus  [author] 4 Jun @ 8:01pm 
@RagingLoony I'll make a patch to overwrite that with the Nicotine System enabled in the next update

@Mariposa There is an option to disable Moodles, and another for disabling the Nicotine System but I can look at adding an option for hiding the Addiction Moodle separately
Mariposa 4 Jun @ 7:19pm 
Is there an option to turn off the addiction moodle? great work with the mod!
RagingLoony 2 Jun @ 2:53pm 
May need a compatibility patch with Dynamic Traits, with your nicotine system active, it doesn't count as normal vanilla smoking, so my character just randomly lost the smoker trait as Dynamic Traits thinks I haven't smoked for over a month. This also causes your nicotine addiction system to reset to 0 addiction
Ratamus  [author] 31 May @ 2:45pm 
@backspace would require creating a 3d clothing item of their cigarette models to display on the mouth, I've built in support for modders to add this feature but no one has implemented it yet on their end so it defaults to the vanilla ones I've added.

For me it becomes a workload issue if I try to add that for every mod and every item and I also don't want to get into issues using their texture assets
backspace 31 May @ 12:48pm 
i've noticed with the cloves cigarettes mod, the custom texture does not apply when the cigarette is in the character's mouth, only when they take it out does it switch, is this a mod conflict or is there just no way around this?
Ratamus  [author] 31 May @ 9:54am 
@Galloade I'll see if I can make a decent compatibility patch but it might be awhile. In B41 I remember JGF having a lot of unique code and logic for how they implemented things. I was hoping those authors would reach out to me during their B42 development but that never happened :er_sad:
Galloade 31 May @ 7:57am 
would love to see Green Jigga mod support. love the mod
Ratamus  [author] 24 May @ 7:50am 
@RagingLoony the error is within Inventory Tetris, you'll have to post the error over there for them to fix
RagingLoony 24 May @ 5:57am 
Still getting the error when I press K to smoke, although nothing seems to be off or an issue. ErrorMagnifier says its with Inventory Tetris, will post in errors/bugs incase its something you can do, if not will make a post over at IT
Ratamus  [author] 23 May @ 2:40pm 
@RagingLoony Error should be fixed now, it was caused by the new 48.0 update which added logic for moving items back to their original containers

As for the other part, this is intended. The first action is to 'Light' the smoke, once that happens the Moodle tracks the smoke from then on and you can puff it etc

Thanks for reporting the error
RagingLoony 23 May @ 1:55pm 
I turned off the nicotine system as to not have them clash. I'm using Inventory Tetris and get an error when trying to smoke. It plays the normal smoking animation/action first, then when that finishes your smoking kicks in
Ratamus  [author] 23 May @ 1:03pm 
@RagingLoony Without looking at their code I can safely assume it will not work alongside True Smoking as my mod does not call the original function for consuming smokable items (The rest of their mod will work just not the smoking component)

From reading their google doc there is simply a 45 day timer for not smoking that is affected by exercising and endurance levels to lose the Smoker trait

My Nicotine System will also take into consideration endurance levels and accelerate the addiction decay if the character is 'Active' in that sense. Additionally you can turn off the Nicotine System completely if you want
RagingLoony 23 May @ 8:34am 
Hows compatibility with Peppercats dynamic Traits mod? That also features the ability to lose the smoker trait and has its own addiction system
Ratamus  [author] 21 May @ 3:36pm 
@Omega_Wolf Vanilla cigarettes work with the improvised battery lighter, other vanilla items should work too.

If I were to take a guess other mods that add more smokes will likely need to update their item definitions to include the new lighter type
Ratamus  [author] 21 May @ 6:34am 
@Evaliss I've updated the description, it got changed back on my last update, thanks for pointing it out :)

@Omega_Wolf I'll take a look, if it's a new item in 48.0 they might not have made it work with smokes but I haven't checked the new update yet
Evaliss 21 May @ 1:14am 
The hyperlink to the explaination of the Nicotine system just redirects to the Workshop forum, is there anywhere else I should be looking for this information? I really, really love the look of this mod. Immersion go brrrr! :grwheart:
Omega_Wolf 21 May @ 12:05am 
hey, just letting u know that smokes are currently unusable with the new improvised lighter item!
keep up the great work, love this mod ^^
CRACKBONE 20 May @ 6:41pm 
Thank you.
Ratamus  [author] 17 May @ 7:06pm 
@ElGranCristianYTOfficial There is a simpler B41 version of my mod but this version will not be back ported as there is too many features to make backwards compatible and maintain