Cake Slice: Difference between revisions
(added model to infobox) |
m (→Code) |
||
Line 54: | Line 54: | ||
== Code == | == Code == | ||
'''''From | '''''From items_food.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version= | {{Retrieved|version=41|incver=50}} | ||
<pre> item CakeSlice | <pre> item CakeSlice | ||
Type = Food, | Type = Food, | ||
Line 65: | Line 65: | ||
DaysFresh = 3, | DaysFresh = 3, | ||
DaysTotallyRotten = 5, | DaysTotallyRotten = 5, | ||
Carbohydrates = 1, | |||
Proteins | Proteins = 5, | ||
Lipids | Lipids = 5, | ||
Calories | Calories = 70, | ||
StaticModel = CakeSlice,</pre> | |||
==See also== | ==See also== |
Revision as of 19:48, 14 May 2021
- This article is about cake slices that spawn naturally. For cake slices made by the player, see [[Cake Ingredients]].
A cake slice is a perishable food item.
Usage
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. Template:Consumables2
Crafting
Cooking
A player-made cake can be cut into slices using kitchen knife or hunting knife.
Template:Cooking table header
|-
|
|
|
| ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer
Distribution
Cake slices can be found in refrigerators and bakery display cases.
Code
From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item CakeSlice Type = Food, HungerChange = -7, UnhappyChange = -10, DisplayName = Cake Slice, Icon = CakeSlice, Weight = 0.2, DaysFresh = 3, DaysTotallyRotten = 5, Carbohydrates = 1, Proteins = 5, Lipids = 5, Calories = 70, StaticModel = CakeSlice,