Cigarettes: Difference between revisions

From PZwiki
mNo edit summary
No edit summary
Line 9: Line 9:
}}
}}
   
   
'''Cigarettes''' are consumable items which reduce the stress and hunger of the player character while causing unhappiness. It is planned that characters will become addicted to cigarettes if they take too many. Cigarettes are relatively uncommon, but may be found in cabinets, and crates, and desks. A current oversight suggests that cigarettes are eaten instead of smoked; however this is probably down to the lack of a 'smoke' function.
'''Cigarettes''' are consumable items which reduce the stress and hunger of the player character while causing unhappiness. It is planned that characters will become addicted to cigarettes if they take too many. Cigarettes are relatively common now as they spawn in stacks of twenty at a time, and they may be found in cabinets, and crates, and desks. A bug currently exists that means cigarettes have an 'eat' option when they are in a stack of two or more. When only a single unit is present, however, they correctly display a 'smoke' option.




Line 21: Line 21:
  <nowiki>item Cigarettes
  <nowiki>item Cigarettes
{
{
Type = Food,
Count = 20,
DisplayName = Cigarettes,
HungerChange = -5,
Icon = IckySticks,
Weight = 0.0,
Weight = 0.2,
RequireInHandOrInventory = Lighter,
Count = 20,
Type = Food,
RequireInHandOrInventory = Lighter,
UnhappyChange = 10,
HungerChange = -5,
DisplayName = Cigarettes,
StressChange = -15,
StressChange = -25,
UnhappyChange = 10,
Icon = IckySticks,
CustomContextMenu = Smoke,
}</nowiki>
}</nowiki>



Revision as of 10:50, 18 January 2014


Cigarettes are consumable items which reduce the stress and hunger of the player character while causing unhappiness. It is planned that characters will become addicted to cigarettes if they take too many. Cigarettes are relatively common now as they spawn in stacks of twenty at a time, and they may be found in cabinets, and crates, and desks. A bug currently exists that means cigarettes have an 'eat' option when they are in a stack of two or more. When only a single unit is present, however, they correctly display a 'smoke' option.


Effects

Hungry: -5
Stressed: -2500
Unhappy: 10


Code

item Cigarettes
{
	Count	=	20,
	HungerChange	=	-5,
	Weight	=	0.0,
	RequireInHandOrInventory	=	Lighter,
	Type	=	Food,
	UnhappyChange	=	10,
	DisplayName	=	Cigarettes,
	StressChange	=	-25,
	Icon	=	IckySticks,
	CustomContextMenu = Smoke,
}

History

Alpha
RC 2.9 Added to the game.

See Also

Template:Navbox/Consumables