Cake Slice: Difference between revisions

From PZwiki
m (Remove 120px, minor fixes)
(added model to infobox + old model)
Line 3: Line 3:
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=CakeSlice.png
|image=Cake Slice Model.png
|alternate_image=CakeBlackForest.png
|image_width=200px
|alternate_name=Black Forest Cake Slice
|alternate_image=CakeSlice.png
|alternate_name=Cake Slice
|alternate_link=
|alternate_link=
|alternate_image2=CakeCarrot.png
|alternate_image2=CakeBlackForest.png
|alternate_name2=Carrot Cake Slice
|alternate_name2=Black Forest Cake Slice
|alternate_link2=
|alternate_link2=
|alternate_image3=CakeCheesecake.png
|alternate_image3=CakeCarrot.png
|alternate_name3=Cheese Cake Slice
|alternate_name3=Carrot Cake Slice
|alternate_link3=
|alternate_link3=
|alternate_image4=CakeChocolate.png
|alternate_image4=CakeCheesecake.png
|alternate_name4=Chocolate Cake Slice
|alternate_name4=Cheese Cake Slice
|alternate_link4=
|alternate_link4=
|alternate_image5=CakeRedVelvet.png
|alternate_image5=CakeChocolate.png
|alternate_name5=Red Velvet Cake Slice
|alternate_name5=Chocolate Cake Slice
|alternate_link5=
|alternate_link5=
|alternate_image6=CakeStrawberryShortcake.png
|alternate_image6=CakeRedVelvet.png
|alternate_name6=Strawberry Cake Slice
|alternate_name6=Red Velvet Cake Slice
|alternate_link6=
|alternate_link6=
|alternate_image7=CakeStrawberryShortcake.png
|alternate_name7=Strawberry Cake Slice
|alternate_link7=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 85: Line 89:
| colspan=6 style="color:rgba(0, 0, 0, 0); font-size:70%;" |  
| colspan=6 style="color:rgba(0, 0, 0, 0); font-size:70%;" |  
|- style="background-color:#{{Infobox nc|Default}}; color:#{{Infobox nc|Default|text}}"
|- style="background-color:#{{Infobox nc|Default}}; color:#{{Infobox nc|Default|text}}"
! width=90px | Cake Slice
! width=90px | Icon
! width=90px | Hunger
! width=90px | Hunger
! width=90px | Calories
! width=90px | Calories
Line 172: Line 176:
File:CakeRedVelvet Model.png|Model for: [[File:CakeRedVelvet.png]]
File:CakeRedVelvet Model.png|Model for: [[File:CakeRedVelvet.png]]
File:CakeStrawberryShortcake Model.png|Model for: [[File:CakeStrawberryShortcake.png]]
File:CakeStrawberryShortcake Model.png|Model for: [[File:CakeStrawberryShortcake.png]]
File:CakeSlice Model.png|Old model used for animations prior to new variants and world item models added in [[build 41]].
</gallery>
</gallery>



Revision as of 07:35, 24 June 2023

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

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