|
|
(27 intermediate revisions by 9 users not shown) |
Line 1: |
Line 1: |
| {{languages|Cake Slice}} | | {{Header|Project Zomboid|Items|Food|Prepared food}} |
| {{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
| | {{Page version|41.78.16}} |
| |display_name=Cake Slice | | {{Infobox item |
| |name_colour=Food
| | |name=Cake Slice |
| |name_text_colour=Food
| | |model=Cake_Slice_Model.png |
| |image=CakeSlice 120px.png
| | |icon=CakeSlice.png |
| |alternate_image=CakeBlackForest.png
| | |icon_name=Cake Slice |
| |alternate_name=Black Forest Cake Slice
| |
| |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 |
Line 29: |
Line 12: |
| |days_rotten=2 | | |days_rotten=2 |
| <!--NUTRITION--> | | <!--NUTRITION--> |
| |hunger_change=''See [[#Nutrition|Nutrition]]'' | | |hunger_change=-7 |
| |calories=''See [[#Nutrition|Nutrition]]'' | | |calories=70 |
| |lipids=''See [[#Nutrition|Nutrition]]'' | | |lipids=5 |
| |proteins=''See [[#Nutrition|Nutrition]]'' | | |proteins=5 |
| |carbohydrates=''See [[#Nutrition|Nutrition]]'' | | |carbohydrates=1 |
| <!--EFFECT--> | | <!--EFFECT--> |
| |unhappy_change=''See [[#Nutrition|Nutrition]]'' | | |unhappy_change=-10 |
| <!--TECHNICAL DETAILS--> | | <!--TECHNICAL DETAILS--> |
| |class_name=''See [[#Item IDs|Item IDs]]'' | | |item_id=Base.CakeSlice |
| }}{{About|cake slices that spawn naturally|cake slices made by the player|Recipe Ingredients#Cake Ingredients}} | | }} |
| '''Cake slice''' is a [[Food#Perishable|perishable]] food [[item]] which can come in 7 different variations. | | {{About|cake slices that spawn naturally|cake slices made by the player|Recipe ingredients#Cake ingredients}} |
| | A naturally spawned '''cake slice''' is a perishable [[food]] [[Items|item]]. |
| | |
| | Note that the player made cake slice doesn't go bad and is currently non-perishable. |
|
| |
|
| ==Usage== | | ==Usage== |
| === Consumable properties === | | ===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. | | 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 | | {{Consumables |
| |image = Cake1 Anim.gif | | |image = CakeSlice.png |
| |hunger = -7 | | |hunger = -7 |
| |unhappiness = -10 | | |unhappiness = -10 |
Line 54: |
Line 40: |
| |rotten boredom = +20 | | |rotten boredom = +20 |
| |rotten unhappiness = +10 | | |rotten unhappiness = +10 |
| |rotten image = Cake1 Anim.gif | | |rotten image = CakeSlice.png |
| }}
| |
| {{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==== | | ==Crafting== |
| {|style="text-align:center; width:450px; border-bottom: 1px solid #{{Infobox nc|Food}};" cellspacing=0 cellpadding=5
| | {{Main|Cooking}} |
| | 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 ==
| |
| ===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. |
| {{Crafting header|ing=2}} | | {{Crafting/sandbox2 |
| {{Crafting cooking|403|ing=2}}
| | |cake_slice |
| |}
| | }} |
|
| |
|
| ==Distribution== | | ==Distribution== |
| Cake slices can be found in [[refrigerator]]s and bakery [[Containers#Displays|display cases]].
| | The loot distributions can be found in the table(s) below. |
| | |
| ==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>
| |
|
| |
|
| ==Item IDs==
| | {| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" |
| {| class="pztable" style="width:30%; text-align:center;" | | ! colspan="4" | Containers |
| ! 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 | | ! Building/Room |
| | [[File:CakeBlackForest.png]]
| | ! Container |
| | {{ID|Base.CakeBlackForest}}
| | ! style="width: 3.2em;" | Rolls |
| | ! style="width: 3.2em;" | Chance |
| |- | | |- |
| | Carrot Cake Slice | | |rowspan="2"|all |
| | [[File:CakeCarrot.png]] | | |[[displaycasebakery]] |
| | {{ID|Base.CakeCarrot}} | | |4 |
| | |1 |
| |- | | |- |
| | Cheese Cake Slice
| | |[[displaycasebakery]] |
| | [[File:CakeCheesecake.png]] | | |4 |
| | {{ID|Base.CakeCheesecake}} | | |2 |
| |- | | |- |
| | Chocolate Cake Slice | | |breakroom |
| | [[File:CakeChocolate.png]] | | |[[fridge]] |
| | {{ID|Base.CakeChocolate}} | | |4 |
| | |4 |
| |- | | |- |
| | Red Velvet Cake Slice | | |cafeteria |
| | [[File:CakeRedVelvet.png]] | | |[[displaycasebakery]] |
| | {{ID|Base.CakeRedVelvet}} | | |4 |
| |- | | |8 |
| | Strawberry Cake Slice | | |}Cake slice can be found in [[refrigerator]]s and bakery [[Containers#Displays|display cases]]. |
| | [[File:CakeStrawberryShortcake.png]]
| |
| | {{ID|Base.CakeStrawberryShortcake}} | |
| |}
| |
|
| |
|
| <div class="mw-collapsible mw-collapsed">
| | ==Code== |
| == Code == | | {{CodeBox| |
| <div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
| | {{CodeSnip |
| Cake Slice [[File:CakeSlice.png|32px]]
| | | lang = java |
| {{Retrieved|version=41|incver=73}}
| | | line = true |
| <pre> item CakeSlice
| | | start = 5202 |
| {
| | | source = items_food.txt |
| | | retrieved = true |
| | | version = 41.78.16 |
| | | code = |
| | item CakeSlice |
| | { |
| DisplayName = Cake Slice, | | DisplayName = Cake Slice, |
| DisplayCategory = Food, | | DisplayCategory = Food, |
Line 226: |
Line 110: |
| StaticModel = CakeSlice, | | StaticModel = CakeSlice, |
| WorldStaticModel = CakeSlice, | | WorldStaticModel = CakeSlice, |
| }</pre>
| | } |
| Apple Pie Slice [[File:Pie Apple.png|32px]]
| | }} |
| {{Retrieved|version=41|incver=73}}
| | }} |
| <pre> 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,
| |
| }</pre>
| |
| Carrot Cake Slice [[File:CakeCarrot.png|32px]]
| |
| {{Retrieved|version=41|incver=73}}
| |
| <pre> 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,
| |
| }</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]] |
| | *[[Black Forest Cake Slice]] |
| | *[[Carrot Cake Slice]] |
| | *[[Cheese Cake Slice]] |
| | *[[Chocolate Cake Slice]] |
| | *[[Red Velvet Cake Slice]] |
| | *[[Strawberry Cake Slice]] |
| | |
| | {{Navbox items|prepared_food}} |
| | |
|
| |
|
| {{Navbox food}}
| | [[Category:Perishable food]] |
| | [[Category:Sweets]] |