Cupcake: Difference between revisions

From PZwiki
(New infobox + new layout)
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{languages|Cupcake}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Cupcake
|display_name=Cupcake
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Cupcake_120px.png
|image=Cupcake_Model.png
|image_width=200px
|alternate_image=Cupcake.png
|alternate_name=Cupcake
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.1
|weight=0.2
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-20
|hunger_change=-20
Line 25: Line 29:


== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=14}}
{{Retrieved|version=41|incver=68}}
<pre> item Cupcake
<pre>   item Cupcake
HungerChange = -20,
{
Weight = 0.2,
DisplayCategory = Food,
AlwaysWelcomeGift = TRUE,
HungerChange = -20,
Type = Food,
Weight = 0.2,
DisplayName = Cupcake,
AlwaysWelcomeGift = TRUE,
Icon = Cupcake,
Type = Food,
         Carbohydrates = 67,
DisplayName = Cupcake,
         Proteins = 4,
Icon = Cupcake,
         Lipids = 4,
         Carbohydrates = 67,
         Calories = 305,</pre>
         Proteins = 4,
         Lipids = 4,
         Calories = 305,
        WorldStaticModel = Cupcake,
}</pre>


==See also==
==See also==
*[[Cake Slice]]
*[[Cake Slice]]
*[[Cookie]]
*[[Cookie]]
*[[Muffin]]
*[[Pie Slice]]
*[[Pie Slice]]
*[[Raspberry Shortbread]]
*[[Raspberry Shortbread]]


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 11:32, 14 March 2022

Cupcake
Cupcake
Cupcake
General
Category Food
Encumbrance
Heavy Load
0.2
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 non-perishable food item.

Usage

A cupcake can be eaten, providing the player with some positive effects.

Distribution

Cupcakes 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.68

    item Cupcake
	{
		DisplayCategory = Food,
		HungerChange	=	-20,
		Weight	=	0.2,
		AlwaysWelcomeGift	=	TRUE,
		Type	=	Food,
		DisplayName	=	Cupcake,
		Icon	=	Cupcake,
        	Carbohydrates = 67,
        	Proteins = 4,
        	Lipids = 4,
        	Calories = 305,
        	WorldStaticModel = Cupcake,
	}

See also