Cake Slice

From PZwiki
Revision as of 01:25, 18 February 2023 by Faalagorn (talk | contribs) (Remove 120px, minor fixes)
Cake Slice
Cake Slice
Black Forest Cake Slice Carrot Cake Slice Cheese Cake Slice Chocolate Cake Slice Red Velvet Cake Slice Strawberry Cake Slice
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 3 days
Days until rotten 2 days
Nutrition
Hunger
Hunger
See Nutrition
Calories
Calories
See Nutrition
Carbohydrates
Carbohydrates
See Nutrition
Proteins
Proteins
See Nutrition
Fat
Fat
See Nutrition
Effect
Unhappiness
Unhappiness
See Nutrition
Technical details
Item ID See Item IDs
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. Template:Consumables2 Template:Consumables2 Template:Consumables2

Nutrition

Cake Slice 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