Cake Slice

From PZwiki
Revision as of 07:52, 20 September 2021 by Gendalf (talk | contribs)
Cake Slice
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 Recipe 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. This is a lossy crafting recipe (not 1:1), making it worse, than just eating from a whole cake. Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Distribution

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

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

	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,
		StaticModel 		= CakeSlice,

See also

Template:Navbox/Consumables