Cupcake: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: test fix infobox based on file, eid: c0633c6e))
m (Minor)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Languages}}
{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}
{{Infobox food
|display_name=Cupcake
|display_name=Cupcake
|name_colour=Food
|name_colour=Food
Line 21: Line 23:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Cupcake
|class_name=Base.Cupcake
}}A '''cupcake''' is a [[Food#Perishable|perishable]] food [[items|item]].
}}
A '''cupcake''' is a [[Food#Perishable|perishable]] food [[items|item]].


==Usage==
==Usage==
===Consumable properties===
===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.
Cupcakes can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Line 46: Line 48:
==Gallery==
==Gallery==
<gallery>
<gallery>
File:Cupcake Model.png|Model for: [[File:Cupcake.png|32px]]
Cupcake Model.png|Model for: [[File:Cupcake.png|32px]]
</gallery>
</gallery>


Line 52: Line 54:
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41|incver=73}}
<pre>   item Cupcake
<pre>
    item Cupcake
{
{
DisplayName = Cupcake,
DisplayName = Cupcake,
Line 67: Line 70:
Proteins = 4,
Proteins = 4,
WorldStaticModel = Cupcake,
WorldStaticModel = Cupcake,
}</pre>
}
</pre>


==See also==
==See also==

Revision as of 15:22, 9 July 2023

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. Template:Consumables2

Distribution

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

Gallery

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