Project Zomboid

Project Zomboid

100 ratings
Smoker's Cough [42 COMPAT]
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
241.534 KB
30 Nov, 2023 @ 7:55pm
23 Dec @ 2:25pm
4 Change Notes ( view )

Subscribe to download
Smoker's Cough [42 COMPAT]

In 4 collections by Scroobles McDoodle
Spooky v2
224 items
Next Wipe
190 items
MALL
180 items
something cool
296 items
Description
Ever thought the Smoker trait was too OP? Yeah me too.

Part of the 42 update added coughing after performing the smoke action...which is nice and all, definitely an appreciated nerf, but the roll on that is sooo incredibly low. This mod adds another layer on top of that and punishes smokers even further by adding a persistent cough to anyone who picks the trait.

The cough is determined by a dice roll, and anything below the set threshold number will trigger a cough (the threshold is adjustable via sandbox settings). This dice roll happens at 10 minute intervals (in-game time).

Note: I wasn't the original creator of this mod. The original author is @STKed, I have no affiliation with them whatsoever. They took their mod down because...I dunno, reasons, and I reached out to them asking if I could effectively take the reins and they said yes, so I guess this is the new official version? Although I'm not super knowledgeable when it comes to coding so don't expect many significant updates.

------------------------------------------

NEW B42 VERSION
Workshop ID: 3101368286
Mod ID: SmokersCough42

------------------------------------------

OLD VERSION FOR B41
Mod ID: SmokersCoughREUP
35 Comments
Scroobles McDoodle  [author] 26 Dec @ 2:25pm 
I've already addressed this - this mod works differently to the way vanilla now does, and nerfs it even harder.
Greηdel 26 Dec @ 11:15am 
Vanilla already nerfs smoker into the ground now
Scroobles McDoodle  [author] 25 Dec @ 5:03am 
Oh right. Yep okay, after reading that and checking, you're absolutely right broski. You do cough after smoking now, although it's not after every cigarette like you said. I chugged three cigarette packs, so a total of 60, and coughed three times throughout the first pack, two times on the second, and none on the third. So yeah you're right, it does roll a chance to cough after performing the smoke action but from the looks of it, it's a pretty low roll.

This mod works kinda differently and, I feel, serves a slightly different purpose - on top of this new vanilla "cough after smoking" mechanic, this mod gives smokers a persistent cough that'll perform another random chance roll (with an adjustable threshold) at 10 minute intervals (in-game time).

So yeah, if you want to punish smokers even more, then this is the mod for that.
br0sk1 25 Dec @ 1:17am 
This mod is in b42, idk. My character caugh after every cigarette.
Scroobles McDoodle  [author] 24 Dec @ 4:27pm 
Y'know you got me really curious by saying that, so I booted up in debug and decided to check it out, and...I'm not so sure about that. I created a fresh save with this disabled, obviously picked Smoker, and I had this character standing still while I fast forwarded for like... well over ten days straight, in fact nearly two weeks, and I didn't cough once. Enabled the mod, bam I started coughing. Disabled it again, no longer coughing. I mean, you say there's no need for it, but from what I can see vanilla doesn't do exactly what this does so I'd say it still has a place and a purpose.
WhitePillow 24 Dec @ 9:58am 
this is in vanilla btw. no need for mod.
Shipyard 24 Dec @ 6:10am 
Definitely appreciated!
Scroobles McDoodle  [author] 22 Dec @ 6:07pm 
Should be doable. In fact, I've already got the file structure sorted out and ready to go. Although with that being said, to the best of my knowledge b42 has changed a bunch of things code-wise that I haven't looked into, and likely won't, so hopefully it all still...works as intended and doesn't screw up. It seemed to work in my very brief initial debug testing so it might be fine? I'll publish the update and if anything's broken then surely it'll reveal itself
Shipyard 21 Dec @ 5:37pm 
Simple but immersive mod! Hope it gets a b42 update.
Scroobles McDoodle  [author] 28 Jul @ 8:34pm 
Sorry I don't use jiggas so that won't be happening