Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Cupcake

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cupcake
Cupcake Model.png
CupcakeRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
4 days
Days until rotten
8 days
Nutrition
HungerUI Hunger.png
-20
CaloriesCalories
305
CarbohydratesCarbohydrates
67
ProteinsProteins
4
FatFat
4
Technical
Item ID
Base.Cupcake

A cupcake is a perishable food item.

Usage

Consumable properties

Cupcakes can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

State Icon Hunger Boredom Unhappiness Sickness chance
Fresh Cupcake (Fresh) -20 - - -
Stale Cupcake (Stale) -15 +10 +10 -
Rotten Cupcake (Rotten) -9 +20 +20 100%

Location

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

Cupcake 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%
cafekitchen restaurantdisplay 23.28%
cafeteria displaycasebakery 10.78%
cornerstore displaycasebakery 23.28%
gigamart displaycasebakery 23.28%
grocery displaycasebakery 23.28%

Cupcake can be found in bakeries, cafes, candy stores, and some convenience store shelves.

History

Base.Cupcake

Version Description
0.2.0q 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 Cupcake
	{
		DisplayName = Cupcake,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Cupcake,
		DaysFresh = 4,
		DaysTotallyRotten = 8,
		HungerChange = -20,
		Calories = 305,
		Carbohydrates = 67,
		Lipids = 4,
		Proteins = 4,
		WorldStaticModel = Cupcake,
	}

See also