Cigarettes: Difference between revisions

From PZwiki
No edit summary
(Updated templates, still needs a version bump)
Line 1: Line 1:
{{languages}}
{{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 40|incver=43}}{{Infobox food
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 40|incver=43}}
{{Infobox food
|display_name=Cigarettes
|display_name=Cigarettes
|name_colour=Medical
|name_colour=Medical
|name_text_colour=Medical
|name_text_colour=Medical
|image=Cigarette_Model.png
|image=Cigarette Model.png
| image_width = 300px
|image_width = 300px
| alternate_image = IckySticks.png
|alternate_image=IckySticks.png
| alternate_name = Cigarettes
|alternate_name=Cigarettes
| alternate_link =  
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Item
|category=Item
Line 35: Line 33:


The [[Professions#Farmer|farmer profession]] or [[Traits#Hobbies|gardener trait]] are required to craft insecticide.
The [[Professions#Farmer|farmer profession]] or [[Traits#Hobbies|gardener trait]] are required to craft insecticide.
{{Crafting header|ing=3}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 5017 -->
{{Crafting header|ing=3}}
{{Crafting/core|ing=3
{{Crafting farming|001|ing=3}}
| product_image = [[File:TZ GardeningSprayCan.png|link=Insecticide Spray|Insecticide Spray]] | product_name = [[Insecticide Spray]] | product_quantity = x1
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req = [[File:MagazineFish.png|Recipe Magazines#Farming|The Farming Magazine]]
| f1 = [[File:TZ GardeningSprayCan.png|link=Gardening Spray Can|Gardening Spray Can]] | i1 = [[Gardening Spray Can]] | q1 = x1
| f2 = [[File:Water drop.png|link=Water|Water]] | i2 = [[Water]] | q2 = (3 untis) | tag2 = (consumed)
| f3 = [[File:IckySticks.png|link=Cigarettes|Cigarettes]] | i3 = [[Cigarettes]] | q3 = x5 | tag3 = (consumed)
}}
|}
|}


==Distribution==
==Distribution==
Line 70: Line 59:


==See also==
==See also==
* [[Traits]]
*[[Traits]]
* [[Farming]]
*[[Farming]]
* [[Farming Guide]]
*[[Occupation]]
* [[Occupation]]
*[[First Aid]]
* [[First Aid]]


{{Navbox/Consumables}}
{{Navbox medical}}

Revision as of 20:38, 4 April 2023

Cigarettes
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

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.

See Plant Health, Diseases and Cures

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

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
TZ GardeningSprayCan.png
Insecticide Spray
0 XP none Farmer
OR
MagazineFish.png
Gardening Spray Can (Empty)
Gardening Spray Can (Empty)
(consumed)
WaterDrop.png
Water (3 units)
(consumed)
IckySticks.png
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 			=

See also

Template:Navbox medical