Cupcake: Difference between revisions

From PZwiki
m (Category Project: Sweets)
(→‎top: New infobox upgrade - Food)
Line 3: Line 3:
{{page version|41.73}}
{{page version|41.73}}
{{reupload|Missing 3D Variant Model (Rotten)}}
{{reupload|Missing 3D Variant Model (Rotten)}}
{{Infobox food
{{Infobox item
|display_name=Cupcake
|name=Cupcake
|name_colour=Food
|model=Cupcake_Model.png
|name_text_colour=Food
|icon=Cupcake.png
|image=Cupcake_Model.png
|icon_name=Cupcake
|image_width=200px
|alternate_image=Cupcake.png
|alternate_name=Cupcake
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 24: Line 20:
|carbohydrates=67
|carbohydrates=67
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Cupcake
|item_id=Base.Cupcake
}}
}}
A '''cupcake''' is a [[Food#Perishable|perishable]] food [[items|item]].
A '''cupcake''' is a [[Food#Perishable|perishable]] food [[items|item]].

Revision as of 10:52, 29 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D Variant Model (Rotten)
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Cupcake
Cupcake Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
4 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.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.

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