Cupcake

From PZwiki
Revision as of 22:20, 15 December 2023 by Angostura (talk | contribs) (-gallery (dupe only))
Cupcake
Cupcake
Cupcake
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 4 days
Days until rotten 8 days
Nutrition
Hunger
Hunger
-20
Calories
Calories
305
Carbohydrates
Carbohydrates
67
Proteins
Proteins
4
Fat
Fat
4
Technical details
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.

Fresh Stale Rotten

Cupcake.png
Hunger: -20


Cupcake.png
Hunger: -15
Boredom: +10
Unhappiness: +10

Cupcake.png
Hunger: -9
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Distribution

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

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

    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