Cake Slice: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
(3 intermediate revisions by 2 users not shown)
Line 22: Line 22:
|item_id=Base.CakeSlice
|item_id=Base.CakeSlice
}}
}}
{{About|cake slices that spawn naturally|cake slices made by the player|Recipe ingredients#Cake ingredients}}
{{About|cake slices that spawn naturally|cake slices made by the player|Recipe ingredients#Cake ingredients}}
A '''cake slice''' (that spawn naturally) is a perishable [[food]] [[Items|item]].
A naturally spawned '''cake slice''' is a perishable [[food]] [[Items|item]].


Note:The player made cake doesnt go bad and is a non-perishable food at this current state.
Note that the player made cake slice doesn't go bad and is currently non-perishable.


==Usage==
==Usage==
Line 49: Line 48:
===Cooking===
===Cooking===
A player-made [[Recipe ingredients#Cake ingredients|cake]] can be cut into slices using [[Kitchen Knife|kitchen knife]] or [[Hunting Knife|hunting knife]]. This is a lossy crafting recipe (not 1:1), making it worse, than just eating from a whole cake.
A player-made [[Recipe ingredients#Cake ingredients|cake]] can be cut into slices using [[Kitchen Knife|kitchen knife]] or [[Hunting Knife|hunting knife]]. This is a lossy crafting recipe (not 1:1), making it worse, than just eating from a whole cake.
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|403|ing=2}}
|cake_slice
|}
}}


==Distribution==
==Distribution==
Line 64: Line 63:
! style="width: 3.2em;" | Chance
! style="width: 3.2em;" | Chance
|-
|-
|rowspan="2"|all  
|rowspan="2"|all
|[[displaycasebakery]]  
|[[displaycasebakery]]
|4  
|4
|1
|1
|-
|-
|[[displaycasebakery]]  
|[[displaycasebakery]]
|4  
|4
|2
|2
|-
|-
|breakroom  
|breakroom
|[[fridge]]  
|[[fridge]]
|4  
|4
|4
|4
|-
|-
|cafeteria  
|cafeteria
|[[displaycasebakery]]  
|[[displaycasebakery]]
|4  
|4
|8
|8
|}Cake slice can be found in [[refrigerator]]s and bakery [[Containers#Displays|display cases]].
|}Cake slice can be found in [[refrigerator]]s and bakery [[Containers#Displays|display cases]].
Line 111: Line 110:
StaticModel = CakeSlice,
StaticModel = CakeSlice,
WorldStaticModel = CakeSlice,
WorldStaticModel = CakeSlice,
}  
}
}}
}}
}}
}}
Line 124: Line 123:
*[[Strawberry Cake Slice]]
*[[Strawberry Cake Slice]]


{{Navbox food}}
{{Navbox items|prepared_food}}
 


[[Category:Perishable food]]
[[Category:Perishable food]]
[[Category:Sweets]]
[[Category:Sweets]]

Revision as of 07:07, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cake Slice
Cake Slice Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
3 days
Days until rotten
2 days
Nutrition
HungerMoodle Icon Hungry.png
-7
CaloriesCalories
70
CarbohydratesCarbohydrates
1
ProteinsProteins
5
FatFat
5
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
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 naturally spawned cake slice is a perishable food item.

Note that the player made cake slice doesn't go bad and is currently non-perishable.

Usage

Consumable properties

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

Fresh Stale Rotten

CakeSlice.png
Hunger: -7

Unhappiness: -10

CakeSlice.png
Hunger: -5
Boredom: +10

CakeSlice.png
Hunger: -3
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Crafting

Main article: Cooking

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.

Product Ingredients Tools Requirements Workstation XP
CakeSlice.png
Cake Slice ×5
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
KnifeButter.png Butter Knife ×1
KnifeButter.png Bread Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
Each of:
CakeCooked.png Cake (Cooked) ×1
none none none 0.75 Cooking

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all displaycasebakery 4 1
displaycasebakery 4 2
breakroom fridge 4 4
cafeteria displaycasebakery 4 8

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

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item CakeSlice
	{
		DisplayName = Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeSlice,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -7,
		UnhappyChange = -10,
		Calories = 70,
		Carbohydrates = 1,
		Lipids = 5,
		Proteins = 5,
		StaticModel = CakeSlice,
		WorldStaticModel = CakeSlice,
	}

See also