Cake Slice: Difference between revisions

From PZwiki
m (template fix)
Line 1: Line 1:
{{languages|Cake Slice}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
|display_name=Cake Slice
|display_name=Cake Slice
Line 24: Line 24:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeSlice
|class_name=Base.CakeSlice
}}{{About|cake slices that spawn naturally|cake slices made by the player|[[Recipe Ingredients#Cake Ingredients|Cake Ingredients]]}}
}}{{About|cake slices that spawn naturally|cake slices made by the player|Recipe Ingredients#Cake Ingredients}}
A '''cake slice''' is a [[Food#Perishable|perishable]] food [[item]].
A '''cake slice''' is a [[Food#Perishable|perishable]] food [[item]].



Revision as of 13:02, 27 July 2021

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