Cupcake: Difference between revisions

From PZwiki
No edit summary
(New infobox + new layout)
(12 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{languages|Cupcake}}
{{Consumables
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
|image = Cupcake.png
|display_name=Cupcake
|hunger = -15
|name_colour=Food
|weight = 1
|name_text_colour=Food
}}
|image=Cupcake_120px.png
== Effects ==
<!--GENERAL-->
[[Hunger]]: -15
|category=Food
|weight=0.1
<!--NUTRITION-->
|hunger_change=-20
|calories=305
|lipids=4
|proteins=4
|carbohydrates=67
<!--TECHNICAL DETAILS-->
|class_name=Base.Cupcake
}}A '''cupcake''' is a [[Food#Non-Perishable|non-perishable]] food [[items|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 [[Containers#Shelves|shelves]].
 
== Code ==
== Code ==
<nowiki>item Cupcake
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{
{{Retrieved|version=40|incver=14}}
Type = Food,
<pre> item Cupcake
DisplayName = Cupcake,
HungerChange = -20,
Icon = Cupcake,
Weight = 0.2,
Weight = 1,
AlwaysWelcomeGift = TRUE,
HungerChange = -15,
Type = Food,
AlwaysWelcomeGift = true,
DisplayName = Cupcake,
Icon = Cupcake,
        Carbohydrates = 67,
        Proteins = 4,
        Lipids = 4,
        Calories = 305,</pre>


}</nowiki>
==See also==
*[[Cake Slice]]
*[[Cookie]]
*[[Pie Slice]]
*[[Raspberry Shortbread]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable Food]]
[[Category:Version 0.2.0p]]

Revision as of 15:45, 12 September 2018

Cupcake
Cupcake
General
Category Food
Encumbrance
Heavy Load
0.1
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.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.14

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

See also

Template:Navbox/Consumables