Cake Slice

From PZwiki
Revision as of 12:41, 21 August 2018 by Vaileasys (talk | contribs) (New infobox + new layout)
Cake Slice
Cake Slice
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 3 days
Days until rotten 5 days
Nutrition
Hunger
Hunger
-7
Calories
Calories
70
Carbohydrates
Carbohydrates
1
Proteins
Proteins
5
Fat
Fat
5
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.CakeSlice
PlushSpiffo.pngThis article is about cake slices that spawn naturally. For cake slices made by the player, see [[Cake Ingredients]].

A cake slice is a perishable food item.

Usage

Consumable properties

A cake slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. Template:Consumables2

Crafting

Cooking

A player-made cake can be cut into slices using kitchen knife or hunting knife. Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Distribution

Cake slices can be found in refrigerators and bakery display cases.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.7

	item CakeSlice
		Type			= Food,
		HungerChange 		= -7,
		UnhappyChange		= -10,
		DisplayName		= Cake Slice,
		Icon			= CakeSlice,
		Weight			= 0.2,
		DaysFresh 		= 3,
		DaysTotallyRotten 	= 5,
        	Carbohydrates		= 1,
		Proteins		= 5,
		Lipids			= 5,
		Calories		= 70,

See also

Template:Navbox/Consumables