Strawberry Cake Slice

From PZwiki
Project ZomboidItemsFoodSweetsStrawberry Cake Slice
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Strawberry Cake Slice
StrawberryShortcake Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerUI Hunger.png
-8
CaloriesCalories
75
CarbohydratesCarbohydrates
4
ProteinsProteins
10
FatFat
12
Effect
UnhappinessUI Unhappy.png
-10
Technical
Item ID
Base.CakeStrawberryShortcake

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

State Icon Hunger Boredom Unhappiness Sickness chance
Fresh Strawberry Cake Slice (Fresh) -8 - -10 -
Stale Strawberry Cake Slice (Stale) -6 +10 - -
Rotten Strawberry Cake Slice (Rotten) -3 +20 +10 100%

Location

The loot distributions can be found in the table(s) below.

CakeStrawberryShortcake distributionShow / Hide

Effective chance calculations are based off of default loot settings and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.

Containers
Building/Room Container Effective chance
all displaycasebakery 23.28%
bakery displaycase 23.28%
bakery displaycasebakery 23.28%
bakery grocerstand 23.28%
bakery restaurantdisplay 23.28%
bakerykitchen restaurantdisplay 23.28%
cafe displaycase 23.28%
cafe displaycasebakery 23.28%
cafe grocerstand 23.28%
cafe shelves 23.28%
cornerstore displaycasebakery 23.28%
gigamart displaycasebakery 23.28%
grocery displaycasebakery 23.28%

Strawberry cake slices can be found in bakery display counters.

History

Base.CakeStrawberryShortcake

Version Description
41.65 Released on or before this version.

Help PZwiki by adding to this history.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
	}

See also