Project Zomboid

Project Zomboid

Not enough ratings
Dynamic Smoker Trait
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
104.588 KB
25 Oct, 2024 @ 12:07pm
2 Nov, 2024 @ 3:44pm
6 Change Notes ( view )

Subscribe to download
Dynamic Smoker Trait

Description
Description
Adds the ability to get the smoking trait if you regularly smoke cigarettes.
Also, a long period of quitting smoking will allow you to lose the smoking trait.
This mod can be installed mid-game and on the server.

How it works

  • Each cigarette smoked adds 1 addiction point
  • Every hour 1/24 addiction points are removed (for losing one point per day)
  • The minimum value of addiction points is 0 and the maximum is 30 by default
  • At 0 addiction points, the smoking trait disappears if it was present
  • At 30 addiction points by default, the smoking trait appears if it was absent

Settings
You can change the maximum number of addiction points and
number of points to get a trait in the Sandbox settings.

If you need to change mod settings in the mid-game:
[In multiplayer] use this GUIDE[wiki.indifferentbroccoli.com] to change your sandbox settings
[In singleplayer] you can download mod Change Sandbox Options (by Star) to change the sandbox settings

For the settings to take effect, you need restart the game.

For example
If you smoke 30 cigarettes at a time you will gain this trait.
If you do not smoke for 30 days you will lose this trait.
Increasing and decreasing addiction works regardless of the presence smoking trait.

The change of this trait is accompanied by a text comment from the character. ( "I'm hooked on smokes" / "I quit smoking" )

Workshop ID: 3354608281
Mod ID: DinamicSmokerTrait
13 Comments
Unamelable 15 Jun @ 10:15am 
Kinda ironic that i've played with insanely low loot settings
So i had to actually get rid of smoker with Trait Purchase system.
Then i tried to purchase it again, and seems like that trait was kinda brokne
So i had to download this mod to earn smoker trait back due of stress debuff that annihilates my foraging zone, because i'm using nudist trait as a furry, and bloodlust that i can't drop (without it my character becomes sad for unknown reason).

And yes - its real. That all story and setup to just download this mod.
Iviuru  [author] 4 Jan @ 2:36am 
I don't know if this mod is suitable for build 42, because I'm not going to switch to it anytime soon. The mod is very simple, so there shouldn't be any problems with build 42. If anyone has tried it, please write in the comments.
Is it B42 compatible?
Iviuru  [author] 2 Jan @ 9:44am 
Add it, I'll be only glad 😁
Deathhead 30 Dec, 2024 @ 5:35am 
Would it be alright if I add your mod to a modpack for a server I'm making?
Iviuru  [author] 27 Nov, 2024 @ 3:31pm 
DaSeagull thanks for finding the error in the title. I've corrected it. I don't change the name inside the mod so as not to trigger the update.
DaSeagull 26 Nov, 2024 @ 12:21pm 
Seems like a good mod, I'll try it soon but more people might find your mod if you title it "Dynamic Smoker Trait" as that's how you actually spell it
Iviuru  [author] 31 Oct, 2024 @ 7:46pm 
The mod has been working since mid-game and on the server.
Furbaby 31 Oct, 2024 @ 6:37pm 
do I have to start a new game for this to work or can I enable it mid-playthrough
Iviuru  [author] 31 Oct, 2024 @ 8:22am 
Yes I am working on adding these options to the settings right now.:winter2019happyyul: