Cupcake: Difference between revisions

From PZwiki
mNo edit summary
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Cupcake}}
{{languages|Cupcake}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|display_name=Cupcake
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name_colour=Food
{{Consumables
|name_text_colour=Food
|image = Cupcake.png
|image=Cupcake_120px.png
|hunger = -20
<!--GENERAL-->
|weight = 0.2
|category=Food
}}
|weight=0.1
A [[cupcake]] is a [[Food#Non-Perishable|non-perishable]] food item which is often found in food markets.
<!--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]].


== Nutritional information ==
==Usage==
<br>
A cupcake can be eaten, providing the player with some positive effects.
'''Its nutritional values are as follows:'''<br>
 
Carbohydrates = 67 <br>
==Distribution==
Proteins = 4 <br>
Cupcakes can be found in bakeries, cafes, candy stores, and some convenience store [[Containers#Shelves|shelves]].
Lipids = 4 <br>
Calories = 305 <br><br>


== Code ==
== Code ==
<br>
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
{{Retrieved|version=40|incver=14}}
item Cupcake
<pre> item Cupcake
HungerChange = -20,
HungerChange = -20,
Weight = 0.2,
Weight = 0.2,
Line 32: Line 37:
         Proteins = 4,
         Proteins = 4,
         Lipids = 4,
         Lipids = 4,
         Calories = 305,
         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 34.28]]

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