Cake Slice: Difference between revisions
m (Automated {{Languages}} removal.) |
m (Automated Formatting) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Header | {{Header|Project Zomboid|Items|Food|Prepared food}} | ||
{{Page version|41. | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=Cake Slice | |name=Cake Slice | ||
|model= | |model=Cake_Slice_Model.png | ||
|icon=CakeSlice.png | |icon=CakeSlice.png | ||
|icon_name=Cake Slice | |icon_name=Cake Slice | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 30: | Line 12: | ||
|days_rotten=2 | |days_rotten=2 | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change= | |hunger_change=-7 | ||
|calories= | |calories=70 | ||
|lipids= | |lipids=5 | ||
|proteins= | |proteins=5 | ||
|carbohydrates= | |carbohydrates=1 | ||
<!--EFFECT--> | <!--EFFECT--> | ||
|unhappy_change= | |unhappy_change=-10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id= | |item_id=Base.CakeSlice | ||
}} | }} | ||
{{About|cake slices that spawn naturally|cake slices made by the player|Recipe | {{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== | ||
Line 47: | Line 31: | ||
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. | ||
{{Consumables | {{Consumables | ||
|image = | |image = CakeSlice.png | ||
|hunger = -7 | |hunger = -7 | ||
|unhappiness = -10 | |unhappiness = -10 | ||
Line 56: | Line 40: | ||
|rotten boredom = +20 | |rotten boredom = +20 | ||
|rotten unhappiness = +10 | |rotten unhappiness = +10 | ||
|rotten image = | |rotten image = CakeSlice.png | ||
}} | }} | ||
==Crafting== | ==Crafting== | ||
Line 156: | Line 47: | ||
===Cooking=== | ===Cooking=== | ||
A player-made [[Recipe ingredients#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 | {{Crafting/sandbox2 | ||
|cake_slice | |||
}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
{| class="wikitable theme-red" | ! colspan="4" | Containers | ||
! | |||
|- | |- | ||
| | ! Building/Room | ||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |- | ||
| | |rowspan="2"|all | ||
| [[ | |[[displaycasebakery]] | ||
| | |4 | ||
|1 | |||
|- | |- | ||
|[[displaycasebakery]] | |||
| [[ | |4 | ||
| | |2 | ||
|- | |- | ||
| | |breakroom | ||
| [[ | |[[fridge]] | ||
| | |4 | ||
|4 | |||
|- | |- | ||
| | |cafeteria | ||
| [[ | |[[displaycasebakery]] | ||
| | |4 | ||
|} | |8 | ||
|}Cake slice can be found in [[refrigerator]]s and bakery [[Containers#Displays|display cases]]. | |||
==Code== | ==Code== | ||
{{CodeBox| | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| 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 234: | Line 110: | ||
StaticModel = CakeSlice, | StaticModel = CakeSlice, | ||
WorldStaticModel = CakeSlice, | WorldStaticModel = CakeSlice, | ||
} | |||
}} | |||
}} | |||
==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}} | |||
[[Category:Perishable food]] | [[Category:Perishable food]] | ||
[[Category:Sweets]] | [[Category:Sweets]] |
Revision as of 07:07, 14 April 2024
- This article is about cake slices that spawn naturally. For cake slices made by the player, see Recipe ingredients.
A naturally spawned cake slice is a perishable food item.
Note that the player made cake slice doesn't go bad and is currently non-perishable.
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.
Fresh | Stale | Rotten |
---|---|---|
|
|
|
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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Cake Slice ×5 |
One of: Kitchen Knife ×1 Hunting Knife ×1 Butter Knife ×1 Bread Knife ×1 Meat Cleaver ×1 Stone Knife ×1 Machete ×1 Each of: Cake (Cooked) ×1 |
none | none | none | 0.75 Cooking |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | displaycasebakery | 4 | 1 |
displaycasebakery | 4 | 2 | |
breakroom | fridge | 4 | 4 |
cafeteria | displaycasebakery | 4 | 8 |
Cake slice can be found in refrigerators and bakery display cases.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}