Cigarettes: Difference between revisions
VaileasysBot (talk | contribs) m (clean up, replaced: wikitable → pztable) |
(added header template, and new infobox, reorganised content) |
||
Line 1: | Line 1: | ||
{{languages}} | |||
{{languages | {{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 40|incver=43}} | ||
{{Infobox food | |||
|display_name=Cigarettes | |||
|name_colour=Medical | |||
{{Medical | |name_text_colour=Medical | ||
|image = Cigarettes_120px.png | |image=Cigarettes_120px.png | ||
<!--GENERAL--> | |||
| | |category=Item | ||
| | |weight=0.005 | ||
| | |function=Reduce [[Moodles#Stressed|Stress]] | ||
| | <!--EFFECT--> | ||
| | |stress_change=-5 | ||
}} | <!--TECHNICAL DETAILS--> | ||
|class_name=Base.Cigarettes | |||
}}'''Cigarettes''' are a consumable [[items|item]]. | |||
==Usage== | |||
===Effect=== | |||
Cigarettes can be used to reduce some [[Moodles#Stress|stress]] of the [[player]] in exchange for causing some [[Moodles#Sick|sickness]]. | |||
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). | ||
Cigarettes can be used to make [[Insecticide Spray|insecticide spray]] to combat [[Farming#Plant Diseases|pest flies]] | ===Farming=== | ||
Cigarettes can be used to make [[Insecticide Spray|insecticide spray]] to combat [[Farming#Plant Diseases|pest flies]]. | |||
:''See [[Farming Guide#Plant Health.2C Diseases and Cures|Plant Health, Diseases and Cures]]'' | |||
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. | ||
{| class="pztable sortable" style="text-align:center;" | {| class="pztable sortable" style="text-align:center;" | ||
Line 38: | Line 35: | ||
{{RecipeLookup|5017}} | {{RecipeLookup|5017}} | ||
|} | |} | ||
== Code == | ==Distribution== | ||
Cigarettes can be found in stacks of twenty at a time, and they may be found in [[Containers#Counters|counters]], [[Containers#Wooden Crate|crates]], [[Containers#Desks|desks]], [[Containers#Bins|garbage bins]] and [[Containers#Corpses|zombies]]. | |||
==Code== | |||
'''''From items.txt (Project Zomboid directory/media/scripts/)''''' | '''''From items.txt (Project Zomboid directory/media/scripts/)''''' | ||
<pre> | |||
item Cigarettes | item Cigarettes | ||
Count = 20, | Count = 20, | ||
Line 56: | Line 55: | ||
OnEat = OnEat_Cigarettes, | OnEat = OnEat_Cigarettes, | ||
CustomEatSound = | CustomEatSound = | ||
</ | </pre> | ||
== See also == | ==See also== | ||
* [[Traits]] | * [[Traits]] | ||
* [[Farming]] | * [[Farming]] | ||
Line 72: | Line 65: | ||
{{Navbox/Consumables}} | {{Navbox/Consumables}} | ||
Revision as of 13:17, 29 September 2019
Cigarettes | |
---|---|
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
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.
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 =