Cigarettes: Difference between revisions
VaileasysBot (talk | contribs) m ([BOT] duplicate file fix, replaced: Cigarettes.png → IckySticks.png) |
No edit summary |
||
Line 27: | Line 27: | ||
If the player has the [[Traits#Negative|smoker trait]], they will require having a regular cigarette, else they'll start to gain stress and eventually [[Moodles#Unhappiness|unhappiness]]. By having a smoke, they will receive a stress relief bonus (greater than without the trait). | If the player has the [[Traits#Negative|smoker trait]], they will require having a regular cigarette, else they'll start to gain stress and eventually [[Moodles#Unhappiness|unhappiness]]. By having a smoke, they will receive a stress relief bonus (greater than without the trait). | ||
Also reduces Unhappiness by -10 if the player has the [[Traits#Negative|Smoker]] negative trait (ten smokes will fully cure unhappiness). | |||
===Farming=== | ===Farming=== |
Revision as of 12:04, 11 July 2022
Cigarettes | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 0.005 | |
Function | Reduce Stress | |
Effect | ||
Stress | -5 | |
Technical details | ||
Item ID | Base.Cigarettes |
Cigarettes are a consumable item.
Usage
A lighter or matches are required to smoke a cigarette.
Effect
Cigarettes can be used to reduce some stress of the player in exchange for causing some sickness.
If the player has the smoker trait, they will require having a regular cigarette, else they'll start to gain stress and eventually unhappiness. By having a smoke, they will receive a stress relief bonus (greater than without the trait).
Also reduces Unhappiness by -10 if the player has the Smoker negative trait (ten smokes will fully cure unhappiness).
Farming
Cigarettes can be used to make insecticide spray to combat pest flies.
The farmer profession or gardener trait are required to craft insecticide.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Insecticide Spray x1 |
none | Gardening Spray Can x1 |
Water (3 untis) (consumed) |
Cigarettes x5 (consumed) |
Distribution
Cigarettes can be found in stacks of twenty at a time, and they may be found in counters, crates, desks, garbage bins and zombies.
Code
From items.txt (Project Zomboid directory/media/scripts/)
item Cigarettes Count = 20, HungerChange = 0, Weight = 0.005, RequireInHandOrInventory = Lighter/Matches, Type = Food, DisplayName = Cigarettes, StressChange = -5, Icon = IckySticks, CustomContextMenu = Smoke, CantBeFrozen = TRUE, OnEat = OnEat_Cigarettes, CustomEatSound =