Black Forest Cake Slice: Difference between revisions
m (Updated distribution table) |
m (Automated CodeBox update) |
||
Line 66: | Line 66: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| source = | | start = 5827 | ||
| source = items_food.txt | |||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item CakeBlackForest | 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, | ||
} | |||
}} | |||
}} | }} | ||
Revision as of 01:00, 25 March 2024
A Black Forest Cake Slice is a perishable food item.
Usage
A Black Forest Cake Slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Consumable properties
Fresh | Stale | Rotten |
---|---|---|
|
|
|
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | displaycasebakery | 4 | 1 |
Black Forest Cake Slices can be found in bakery display counters.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}