Cake Slice: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: deploy ReLookup, eid: 54fd8656f32c0ced337c10f7746a2384))
(Updated cake slice)
Line 1: Line 1:
{{languages}}
{{languages|Cake Slice}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Cake Slice
|display_name=Cake Slice
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=CakeSlice_Model.png
|image=CakeSlice 120px.png
| image_width = 300px
|alternate_image=CakeBlackForest.png
| alternate_image = CakeSlice.png
|alternate_name=Black Forest Cake Slice
| alternate_name = Cake Slice
|alternate_link=
| alternate_link =  
|alternate_image2=CakeCarrot.png
|alternate_name2=Carrot Cake Slice
|alternate_link2=
|alternate_image3=CakeCheesecake.png
|alternate_name3=Cheese Cake Slice
|alternate_link3=
|alternate_image4=CakeChocolate.png
|alternate_name4=Chocolate Cake Slice
|alternate_link4=
|alternate_image5=CakeRedVelvet.png
|alternate_name5=Red Velvet Cake Slice
|alternate_link5=
|alternate_image6=CakeStrawberryShortcake.png
|alternate_name6=Strawberry Cake Slice
|alternate_link6=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.2
|weight=0.2
|days_fresh=3
|days_fresh=3
|days_rotten=5
|days_rotten=2
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-7
|hunger_change=''See [[#Nutrition|Nutrition]]''
|calories=70
|calories=''See [[#Nutrition|Nutrition]]''
|lipids=5
|lipids=''See [[#Nutrition|Nutrition]]''
|proteins=5
|proteins=''See [[#Nutrition|Nutrition]]''
|carbohydrates=1
|carbohydrates=''See [[#Nutrition|Nutrition]]''
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-10
|unhappy_change=''See [[#Nutrition|Nutrition]]''
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeSlice
|class_name=''See [[#Item IDs|Item IDs]]''
}}{{About|cake slices that spawn naturally|cake slices made by the player|Recipe Ingredients#Cake Ingredients}}
}}{{About|cake slices that spawn naturally|cake slices made by the player|Recipe Ingredients#Cake Ingredients}}
A '''cake slice''' is a [[Food#Perishable|perishable]] food [[item]].
'''Cake slice''' is a [[Food#Perishable|perishable]] food [[item]].


==Usage==
==Usage==
=== Consumable properties ===
=== Consumable properties ===
A cake slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Cake slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables2
|image = CakeSlice.png
|image = Cake1 Anim.gif
|hunger = -7
|hunger = -7
|unhappiness = -10
|unhappiness = -10
Line 40: Line 54:
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +10
|rotten unhappiness = +10
|rotten image = CakeSlice.png
|rotten image = Cake1 Anim.gif
}}
{{Consumables2
|image = Cake2 Anim.gif
|hunger = -8
|unhappiness = -10
|perishable = 1
|unrotten hunger = -6
|unrotten boredom = +10
|rotten hunger = -3
|rotten boredom = +20
|rotten unhappiness = +10
|rotten image = Cake2 Anim.gif
}}
{{Consumables2
|image = Cake3 Anim.gif
|hunger = -10
|unhappiness = -15
|perishable = 1
|unrotten hunger = -7
|unrotten boredom = +10
|unrotten unhappiness = -5
|rotten hunger = -4
|rotten boredom = +20
|rotten unhappiness = +5
|rotten image = Cake3 Anim.gif
}}
}}
====Nutrition====
{|style="text-align:center; width:450px; border-bottom: 1px solid #{{Infobox nc|Food}};" cellspacing=0 cellpadding=5
| colspan=6 style="color:rgba(0, 0, 0, 0); font-size:70%;" |
|- style="background-color:#{{Infobox nc|Default}}; color:#{{Infobox nc|Default|text}}"
! width=90px | Cake Slice
! width=90px | Hunger
! width=90px | Calories
! width=90px | Carbohydrates
! width=90px | Proteins
! width=90px | Lipids
! width=90px | Unhappiness
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:CakeSlice.png|32px]]
| -7
| 70
| 1
| 5
| 5
| style="border-right: 1px solid #{{Infobox nc|Food}};" | -10
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:CakeBlackForest.png|32px]]
| -10
| 90
| 4
| 10
| 12
| style="border-right: 1px solid #{{Infobox nc|Food}};" | -15
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:CakeCarrot.png|32px]]
| -7
| 70
| 4
| 10
| 12
| style="border-right: 1px solid #{{Infobox nc|Food}};" | -10
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:CakeCheesecake.png|32px]]
| -8
| 80
| 4
| 10
| 12
| style="border-right: 1px solid #{{Infobox nc|Food}};" | -10
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:CakeChocolate.png|32px]]
| -10
| 90
| 4
| 10
| 12
| style="border-right: 1px solid #{{Infobox nc|Food}};" | -15
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:CakeRedVelvet.png|32px]]
| -8
| 80
| 4
| 10
| 12
| style="border-right: 1px solid #{{Infobox nc|Food}};" | -10
|- class="oddrow evenrow"
| style="border-left: 1px solid #{{Infobox nc|Food}};" | [[File:CakeStrawberryShortcake.png|32px]]
| -8
| 75
| 4
| 10
| 12
| style="border-right: 1px solid #{{Infobox nc|Food}};" | -10
|-
|}


== Crafting ==
== Crafting ==
===Cooking===
===Cooking===
A player-made [[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.
{{Crafting header|ing=2}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 2043 -->
{{Crafting header|ing=1}}
{{Crafting/core|ing=2
{{Crafting cooking|403|ing=1}}
| product_image = [[File:CakeSlice.png|link=Cake Slice|Cake Slice]] | product_name = [[Cake Slice]] | product_quantity = x5
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:CakeCooked.png|link=Cake|Cake]] | i1 = [[Cake]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:Knives.png]] | i2 = [[Butter Knife]]<br>or<br>[[Kitchen Knife]]<br>or<br>[[Hunting Knife]]<br>or<br>[[Machete]]<br>or<br>[[Meat Cleaver]]<br>or<br>[[Stone Knife]] | q2 = x1
}}
|}
|}


==Distribution==
Cake slices can be found in [[refrigerator]]s and bakery [[Containers#Displays|display cases]].
==Gallery==
<gallery>
File:CakeSlice Model.png|Cake slice model when placed in the world.
File:ChocolateCakeSlice Model.png|Chocolate cake slice model when placed in the world.
File:CakeSlice StrawberryShortcake Model.png|Strawberry cake slice model when placed in the world.
</gallery>


==Distribution==
==Item IDs==
Cake slices can be found in [[refrigerator]]s and bakery [[Containers#Displays|display cases]].  
{| class="pztable" style="width:30%; text-align:center;"
! style="width:25%" | Name
! style="width:25%" | Icon
! style="width:50%" | Base ID
|-
| Cake Slice
| [[File:CakeSlice.png]]
| {{ID|Base.CakeSlice}}
|-
| Black Forest Cake Slice
| [[File:CakeBlackForest.png]]
| {{ID|Base.CakeBlackForest}}
|-
| Carrot Cake Slice
| [[File:CakeCarrot.png]]
| {{ID|Base.CakeCarrot}}
|-
| Cheese Cake Slice
| [[File:CakeCheesecake.png]]
| {{ID|Base.CakeCheesecake}}
|-
| Chocolate Cake Slice
| [[File:CakeChocolate.png]]
| {{ID|Base.CakeChocolate}}
|-
| Red Velvet Cake Slice
| [[File:CakeRedVelvet.png]]
| {{ID|Base.CakeRedVelvet}}
|-
| Strawberry Cake Slice
| [[File:CakeStrawberryShortcake.png]]
| {{ID|Base.CakeStrawberryShortcake}}
|}


<div class="mw-collapsible mw-collapsed">
== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=50}}
Cake Slice [[File:CakeSlice.png|32px]]
<pre> item CakeSlice
{{Retrieved|version=41|incver=73}}
Type = Food,
<pre>   item CakeSlice
HungerChange = -7,
    {
UnhappyChange = -10,
DisplayName = Cake Slice,
DisplayName = Cake Slice,
DisplayCategory = Food,
Icon = CakeSlice,
Type = Food,
Weight = 0.2,
Weight = 0.2,
DaysFresh = 3,
Icon = CakeSlice,
DaysTotallyRotten = 5,
DaysFresh = 3,
Carbohydrates = 1,
DaysTotallyRotten = 5,
Proteins = 5,
HungerChange = -7,
Lipids = 5,
UnhappyChange = -10,
Calories = 70,
Calories = 70,
StaticModel = CakeSlice,</pre>
Carbohydrates = 1,
Lipids = 5,
Proteins = 5,
StaticModel = CakeSlice,
WorldStaticModel = CakeSlice,
    }</pre>
Black Forest Cake Slice [[File:CakeBlackForest.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item CakeBlackForest
    {
DisplayName = Black Forest Cake Slice,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = CakeBlackForest,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -10,
UnhappyChange = -15,
Calories = 90,
Carbohydrates = 4,
Lipids = 12,
Proteins = 10,
StaticModel = CakeSlice,
WorldStaticModel = BlackForestCake_Ground,
    }</pre>
Carrot Cake Slice [[File:CakeCarrot.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item CakeCarrot
    {
DisplayName = Carrot Cake Slice,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = CakeCarrot,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -7,
UnhappyChange = -10,
Calories = 70,
Carbohydrates = 4,
Lipids = 12,
Proteins = 10,
StaticModel = CakeSlice,
WorldStaticModel = CarrotCake_Ground,
    }</pre>
Cheese Cake Slice [[File:CakeCheesecake.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    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,
    }</pre>
Chocolate Cake Slice [[File:CakeChocolate.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    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,
    }</pre>
Red Velvet Cake Slice [[File:CakeRedVelvet.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    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,
    }</pre>
Strawberry Cake Slice [[File:CakeStrawberryShortcake.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    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,
    }</pre>
</div>


==See also==
==See also==
*[[Pie Slice]]
*[[Pie Slice]]
*[[Pumpkin Pie Slice]]
 
*[[Black Forest Cake Slice]]
{{Navbox food}}
*[[Carrot Cake Slice]]
*[[Cheese Cake Slice]]
*[[Chocolate Cake Slice]]
*[[Red Velvet Cake Slice]]
*[[Strawberry Cake Slice]]
{{Navbox/Consumables}}

Revision as of 21:16, 27 September 2022

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.

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

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
Cake Slice
Cake Slice x5
0.75 Cooking none
(keep)

Distribution

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

Black Forest Cake Slice CakeBlackForest.png Retrieved: Build 41.73

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

Carrot Cake Slice CakeCarrot.png Retrieved: Build 41.73

    item CakeCarrot
    {
		DisplayName = Carrot Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeCarrot,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -7,
		UnhappyChange = -10,
		Calories = 70,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = CarrotCake_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