Cupcake: Difference between revisions

From PZwiki
(Adjusted incorrect weight value in consumables, removed TOC, added version reference, confirmed stats, removed link to egg (not sure why this was here))
(New infobox + new layout)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
{{languages|Cupcake}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{Consumables
|display_name=Cupcake
|image = Cupcake.png
|name_colour=Food
|weight = 0.2
|name_text_colour=Food
|hunger = -15
|image=Cupcake_120px.png
}}
<!--GENERAL-->
|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]].


The cupcake is a non-perishable food that will replenish a moderately low amount of hunger for the person who eats it. The cupcake can be found in food markets. Similar to [[chips]], cupcakes are handy to carry around: they are non-perishable, light and do not require a can opener.
==Usage==
A cupcake can be eaten, providing the player with some positive effects.


== Effects ==
==Distribution==
[[Hunger]]: -15
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}}
<pre> item Cupcake
HungerChange = -20,
Weight = 0.2,
AlwaysWelcomeGift = TRUE,
Type = Food,
DisplayName = Cupcake,
Icon = Cupcake,
        Carbohydrates = 67,
        Proteins = 4,
        Lipids = 4,
        Calories = 305,</pre>


HungerChange = -15,
==See also==
Weight = 0.2,
*[[Cake Slice]]
AlwaysWelcomeGift = TRUE,
*[[Cookie]]
Type = Food,
*[[Pie Slice]]
DisplayName = Cupcake,
*[[Raspberry Shortbread]]
Icon = Cupcake,
 
</nowiki>
 
== History ==
 
{| class="wikitable" width="550" style="text-align:center;"
|-
! Alpha || 
|-
| RC 2.9.8a || Added to the game.
|}


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Items]]
[[Category:Food]]
[[Category:Non-Perishable Food]]
[[Category:Version 32.20]]

Revision as of 16: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