Cigarettes: Difference between revisions

From PZwiki
m (Added how the smoker trait affects cigarettes)
(Updated to latest version (39.50))
Line 2: Line 2:
{{languages|Cigarettes}}
{{languages|Cigarettes}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 39.50'''    </div><!-- Code for Version Tag at top -->
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Medical Items|Medical Items]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Medical Items|Medical Items]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
{{Medical
{{Medical
|image = Cigarettes.png
|image = Cigarettes_120px.png
|primaryuse= Reduce Stress Level (Penalty Happiness)
|primaryuse= Reduce Stress (Sickness Penalty)
|stress = -25
|stress = -5
|unhappiness = 10
|unhappiness = 0.0
|bandagepower = 0.0
|bandagepower = 0.0
|alcoholpower = 0.0
|alcoholpower = 0.0
|weight = 0.0
|weight = 0.005
}}
}}


[[Cigarettes]] are consumable [[Items|items]] which reduce the [[Moodles#Stress|stress]] of the [[Player|player]] in the exchange for causing some [[Moodles#Sick|sickness]]. Cigarettes spawn in stacks of twenty at a time, and they may be found in [[Containers#Cupboard|cupboards]], [[Containers#Wooden Crate|crates]], [[Containers#Desk|desks]], [[Containers#Garbage Can/Dumpster|garbage cans]] and [[Containers#Zombies|zombies]].
'''Cigarettes''' are consumable items which reduce the stress of the player character while causing unhappiness. Cigarettes spawn in stacks of twenty at a time, and they may be found in cabinets, crates, desks, garbage cans, zombies, and dumpsters.


As of build 36.4, the smoker trait negates the unhappiness effect but requires smoking periodically. Not smoking can cause anxiety and eventually unhappiness.  
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).  


Cigarettes can also be used to make Insect Spray to combat Pest Flies in your garden - see [[Farming_Guide#Plant_Health.2C_Diseases_and_Cures|Plant Health, Diseases and Cures]].
Cigarettes can be used to make [[Insecticide Spray|insecticide spray]] to combat [[Farming#Plant Diseases|pest flies]] in your garden - see [[Farming_Guide#Plant_Health.2C_Diseases_and_Cures|Plant Health, Diseases and Cures]].


As of the current build (34.28), cigarettes do not have any weight.
As of [[Build 35#IWBUMS Build 35.22|build 35.22]], cigarettes weigh 0.005 each (meaning 20 cigarettes weigh 0.1).


== Effects ==
== Effects ==
Gives a penalty of 10 to [[Moodles#Unhappiness|unhappiness]] but reduces [[Moodles#Stress|stress]] by 25.  
As of [[Build 35#IWBUMS Build 35.16|build 35.16]], cigarettes reduce stress by 5, however also causing some sickness.
<br><br><br>
<br><br><br>


== Farming ==
== Farming ==
 
The [[Professions#Farmer|farmer profession]] or [[Traits#Hobbies|gardener trait]] are required to craft insecticide.
As of Build 32, you either need the gardening trait or the farmer profession to craft insecticide.
{| class="wikitable sortable" style="text-align:center;"  
{| class="wikitable sortable" style="text-align:center;"  
|-  
|-  
Line 41: Line 39:


== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
  <nowiki>
  <nowiki>
item Cigarettes
    item Cigarettes
Count = 20,
Count = 20,
HungerChange = 0,
HungerChange = 0,
Weight = 0.0,
Weight = 0.005,
RequireInHandOrInventory = Lighter,
RequireInHandOrInventory = Lighter/Matches,
Type = Food,
Type = Food,
UnhappyChange = 10,
DisplayName = Cigarettes,
DisplayName = Cigarettes,
StressChange = -25,
StressChange = -5,
Icon = IckySticks,
Icon = IckySticks,
CustomContextMenu = Smoke,
CustomContextMenu = Smoke,
CantBeFrozen = TRUE,
CantBeFrozen = TRUE,
OnEat = OnEat_Cigarettes,
CustomEatSound =
CustomEatSound =
</nowiki>
</nowiki>
Line 59: Line 58:
{{Notice|Unconfirmed}}
{{Notice|Unconfirmed}}
It is speculated that in a future version, the player character may become addicted to cigarettes if used too often.  
It is speculated that in a future version, the player character may become addicted to cigarettes if used too often.  
<br><small>*'''''This is now unlikely since the addition of the smoker trait in Build 35, along with cigarettes causing sickness if player does not have the trait'''''*</small>
<br><br>
== See Also ==
* [[Traits]]
* [[Farming]]
* [[Farming Guide]]
* [[Occupation]]
* [[First Aid]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
Line 64: Line 71:
[[Category:Medical Items]]
[[Category:Medical Items]]
[[Category:Items]]
[[Category:Items]]
[[Category:Version 34.28]]

Revision as of 15:04, 21 April 2018


Page Updated @ Version: 39.50
   Navigation - Main Index -> The Game World -> Items -> Consumables -> Medical Items -> Cigarettes   

Template:Medical

Cigarettes are consumable items which reduce the stress of the player in the exchange for causing some sickness. Cigarettes spawn in stacks of twenty at a time, and they may be found in cupboards, crates, desks, garbage cans and zombies.

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

Cigarettes can be used to make insecticide spray to combat pest flies in your garden - see Plant Health, Diseases and Cures.

As of build 35.22, cigarettes weigh 0.005 each (meaning 20 cigarettes weigh 0.1).

Effects

As of build 35.16, cigarettes reduce stress by 5, however also causing some sickness.


Farming

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

Output Ingredients Description Level













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 			=

Future

This article or section may contain unconfirmed information about future development. It may not be entirely reliable.

It is speculated that in a future version, the player character may become addicted to cigarettes if used too often.
*This is now unlikely since the addition of the smoker trait in Build 35, along with cigarettes causing sickness if player does not have the trait*

See Also

Template:Navbox/Consumables