Cake Slice

From PZwiki
Revision as of 09:39, 4 March 2024 by CalvyBot (talk | contribs) (Automated header update.)
Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Cake Slice
Cake Slice Model.png
Black Forest Cake Slice
Carrot Cake Slice
Cheese Cake Slice
Chocolate Cake Slice
Red Velvet Cake Slice
Strawberry Cake Slice
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
CaloriesCalories
CarbohydratesCarbohydrates
ProteinsProteins
FatFat
Effect
UnhappinessMoodle Icon Unhappy.png
Technical
Item ID
PlushSpiffo.pngThis article is about cake slices that spawn naturally. For cake slices made by the player, see Recipe ingredients.

Cake slice is a perishable food item which can come in 7 different variations.

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

File:Cake1 Anim.gif
Hunger: -7

Unhappiness: -10

File:Cake1 Anim.gif
Hunger: -5
Boredom: +10

File:Cake1 Anim.gif
Hunger: -3
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Fresh Stale Rotten

File:Cake2 Anim.gif
Hunger: -8

Unhappiness: -10

File:Cake2 Anim.gif
Hunger: -6
Boredom: +10

File:Cake2 Anim.gif
Hunger: -3
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Fresh Stale Rotten

File:Cake3 Anim.gif
Hunger: -10

Unhappiness: -15

File:Cake3 Anim.gif
Hunger: -7
Boredom: +10
Unhappiness: -5

File:Cake3 Anim.gif
Hunger: -4
Boredom: +20
Unhappiness: +5
Dangerous, will cause sickness.

Nutrition

Icon Hunger Calories Carbohydrates Proteins Lipids Unhappiness
CakeSlice.png -7 70 1 5 5 -10
CakeBlackForest.png -10 90 4 10 12 -15
CakeCarrot.png -7 70 4 10 12 -10
CakeCheesecake.png -8 80 4 10 12 -10
CakeChocolate.png -10 90 4 10 12 -15
CakeRedVelvet.png -8 80 4 10 12 -10
CakeStrawberryShortcake.png -8 75 4 10 12 -10

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 XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Cake Slice
Cake Slice x5
0.75 Cooking none
(keep)
Cake (Cooked)
Cake (Cooked)
(consumed)

Distribution

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

Gallery

Item IDs

Name Icon Base ID
Cake Slice CakeSlice.png Base.CakeSlice
Black Forest Cake Slice CakeBlackForest.png Base.CakeBlackForest
Carrot Cake Slice CakeCarrot.png Base.CakeCarrot
Cheese Cake Slice CakeCheesecake.png Base.CakeCheesecake
Chocolate Cake Slice CakeChocolate.png Base.CakeChocolate
Red Velvet Cake Slice CakeRedVelvet.png Base.CakeRedVelvet
Strawberry Cake Slice CakeStrawberryShortcake.png Base.CakeStrawberryShortcake

Code

From items_food.txt (Project Zomboid directory/media/scripts/)

Cake Slice CakeSlice.png Retrieved: Build 41.73

    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,
    }

Apple Pie Slice Pie Apple.png Retrieved: Build 41.73

    item PieApple
    {
		DisplayName = Apple Pie Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.5,
		Icon = Pie_Apple,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -30,
		Calories = 404,
		Carbohydrates = 20.45,
		Lipids = 20.61,
		Proteins = 54.53,
		WorldStaticModel = PieApple_Ground,
    }

Carrot Cake Slice CakeCarrot.png Retrieved: Build 41.73

    item CakeCarrot
    {
		DisplayName = Blueberry Pie Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.5,
		Icon = Pie_Blueberry,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -30,
		Calories = 404,
		Carbohydrates = 20.45,
		Lipids = 20.61,
		Proteins = 54.53,
		WorldStaticModel = PieBlueberry_Ground,
    }

Cheese Cake Slice CakeCheesecake.png Retrieved: Build 41.73

    item CakeCheeseCake
    {
		DisplayName = Cheese Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeCheesecake,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -8,
		UnhappyChange = -10,
		Calories = 80,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = CheeseCake_Ground,
    }

Chocolate Cake Slice CakeChocolate.png Retrieved: Build 41.73

    item CakeChocolate
    {
		DisplayName = Chocolate Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeChocolate,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -10,
		UnhappyChange = -15,
		Calories = 90,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = ChocolateCake_Ground,
    }

Red Velvet Cake Slice CakeRedVelvet.png Retrieved: Build 41.73

    item CakeRedVelvet
    {
		DisplayName = Red Velvet Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeRedVelvet,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -8,
		UnhappyChange = -10,
		Calories = 80,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = RedVelvetCake_Ground,
    }

Strawberry Cake Slice CakeStrawberryShortcake.png Retrieved: Build 41.73

    item CakeStrawberryShortcake
    {
		DisplayName = Strawberry Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeStrawberryShortcake,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -8,
		UnhappyChange = -10,
		Calories = 75,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = StrawberryShortcake_Ground,
    }

See also