Cigarettes

From PZwiki
Revision as of 12:17, 29 September 2019 by Vaileasys (talk | contribs) (added header template, and new infobox, reorganised content)
Cigarettes
Cigarettes
General
Category Item
Encumbrance
Heavy Load
0.005
Function Reduce Stress
Effect
Stress
Stress
-5
Technical details
Item ID Base.Cigarettes

Cigarettes are a consumable item.

Usage

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).

Farming

Cigarettes can be used to make insecticide spray to combat pest flies.

See Plant Health, Diseases and Cures

The farmer profession or gardener trait are required to craft insecticide.

Output Ingredients Description Level












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 			=

See also

Template:Navbox/Consumables