Cake Slice: Difference between revisions
(→Code: Codebox) |
m (Distribution table update) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
{{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 | ||
Line 22: | Line 22: | ||
|item_id=Base.CakeSlice | |item_id=Base.CakeSlice | ||
}} | }} | ||
{{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 48: | ||
===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 | {{Crafting/sandbox2 | ||
|cake_slice | |||
}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|CakeSlice|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>CakeSlice distribution | |||
<span class="mw-customtoggle-togglebox-CakeSlice" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CakeSlice"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| Not referenced | |||
| {{ll|FridgeOffice}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| all | |||
| {{ll|displaycasebakery}} | |||
| 4 | |||
| 20.0 | |||
|- | |||
| all | |||
| {{ll|displaycasebakery}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| breakroom | |||
| {{ll|fridge}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| cafeteria | |||
| {{ll|displaycasebakery}} | |||
| 4 | |||
| 8.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-CakeSlice" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|CakeSlice|41.78.16--> | |||
Cake slice 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> | |||
File:CakeSlice Model.png|Model and texture previously used for eating animation | |||
</gallery> | |||
==Code== | ==Code== | ||
Line 64: | Line 115: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item CakeSlice | |||
{ | { | ||
DisplayName = Cake Slice, | DisplayName = Cake Slice, | ||
Line 94: | Line 145: | ||
*[[Strawberry Cake Slice]] | *[[Strawberry Cake Slice]] | ||
{{Navbox | {{Navbox items|prepared_food}} | ||
[[Category:Perishable food]] | [[Category:Perishable food]] | ||
[[Category:Sweets]] | [[Category:Sweets]] |
Revision as of 15:06, 24 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.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
Not referenced | FridgeOffice | 4 | 4.0 |
all | displaycasebakery | 4 | 20.0 |
all | displaycasebakery | 4 | 10.0 |
breakroom | fridge | 4 | 4.0 |
cafeteria | displaycasebakery | 4 | 8.0 |
Cake slice can be found in refrigerators and bakery display cases.
Gallery
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,
}