Strawberry 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 = 5922 | ||
| source = items_food.txt | |||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item CakeStrawberryShortcake | 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, | ||
} | |||
}} | |||
}} | }} | ||
Revision as of 01:55, 25 March 2024
A strawberry cake slice is a perishable food item.
Usage
A strawberry 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 |
Strawberry cake slices can be found in bakery display counters.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}