Cake Slice: Difference between revisions

From PZwiki
mNo edit summary
mNo edit summary
Line 153: Line 153:


== Crafting ==
== Crafting ==
{{Main|Cooking}}
===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.
Line 160: Line 161:


==Distribution==
==Distribution==
Cake slices 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]].


==Gallery==
==Gallery==
<gallery>
<gallery>
File:CakeSlice Model.png|Cake slice model when placed in the world.
File:Cake Slice Model.png|Model for: [[File:CakeSlice.png]]
File:ChocolateCakeSlice Model.png|Chocolate cake slice model when placed in the world.
File:CakeBlackforest Model.png|Model for: [[File:CakeBlackForest.png]]
File:CakeSlice StrawberryShortcake Model.png|Strawberry cake slice model when placed in the world.
File:CakeCarrotCake Model.png|Model for: [[File:CakeCarrot.png]]
File:CakeCheeseCake Model.png|Model for: [[File:CakeCheesecake.png]]
File:CakeChocolate Model.png|Model for: [[File:CakeChocolate.png]]
File:CakeRedVelvet Model.png|Model for: [[File:CakeRedVelvet.png]]
File:CakeStrawberryShortcake Model.png|Model for: [[File:CakeStrawberryShortcake.png]]
</gallery>
</gallery>



Revision as of 16:09, 6 October 2022

Template:Infobox food

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