Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Be crafty.png

Build 42 unstable is out now!

The wiki has already begun updating. Please be patient during the transition.
Help us by contributing to the build 42 update project.
The Project Zomboid Map Project will not be updated until at least January, in the meantime use B42 Map.

404SpiffoMascotMap.png

Cake Slice

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Parts of this page may have been automatically updated to the latest build (42.0.2).
For the build 41.78.16 article, please see the old revision.
Cake Slice
CakeSlice Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerUI Hunger.png
-7
CaloriesCalories
70
CarbohydratesCarbohydrates
1
ProteinsProteins
5
FatFat
5
Effect
UnhappinessUI 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 Cake (crafted).

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.

State Icon Hunger Boredom Unhappiness Sickness chance
Fresh Cake Slice (Fresh) -7 - -10 -
Stale Cake Slice (Stale) -5 +10 - -
Rotten Cake Slice (Rotten) -3 +20 +10 100%

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.

LightBulbBlue.png
Recipes are still based on build 41, and are planned to be revamped to build 42 at a later date, depending on the game's crafting system improvement.
Product Ingredients Tools Requirements Workstation XP
Cake Slice
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:
Cake (Cooked) Cake (Cooked) ×1
none none none 0.75 Cooking

Location

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

CakeSlice distributionShow / Hide

Effective chance calculations are based off of default 'apocalypse' loot settings, with no luck modifier, and average zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits. Duplicate entries do exist, but have been removed for clarity.

Containers
Building/Room Container Effective chance
all displaycasebakery 41.46%
all displaycasebakery 23.67%
bakery displaycasebakery 41.46%
bakery displaycasebakery 23.67%
bakery grocerstand 41.46%
bakery grocerstand 23.67%
bakery restaurantdisplay 41.46%
bakery restaurantdisplay 23.67%
bakerykitchen restaurantdisplay 41.46%
bakerykitchen restaurantdisplay 23.67%
breakroom fridge 5.77%
cardealershipoffice fridge 5.77%
cornerstore displaycasebakery 41.46%
cornerstore displaycasebakery 23.67%
daycare fridge 5.77%
factory fridge 5.77%
gigamart displaycasebakery 41.46%
gigamart displaycasebakery 23.67%
grocery displaycasebakery 41.46%
grocery displaycasebakery 23.67%
medicaloffice fridge 5.77%
office fridge 5.77%
officechurch fridge 5.77%
policeoffice fridge 5.77%
security fridge 5.77%

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

Gallery

History

Base.CakeSlice

Version Description
Build 41.65 DisplayCategory added with value Food.
Build 41.54 WorldStaticModel added with value CakeSlice.
Build 41.12 StaticModel added with value CakeSlice.
Build 34.23 Calories added with value 70.
Nutrition added with value 1.
Nutrition added with value 5.
Proteins added with value 5.
Build 26 Released on this version.

Code

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

Source: ProjectZomboid\media\scripts\items_food_baking.txt

Retrieved: Build 42.0.2
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