Chocolate: Difference between revisions

From PZwiki
mNo edit summary
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Chocolate}}
{{languages|Chocolate}}
<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=7}}{{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=Chocolate
<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 = Chocolate.png
|image=Chocolate_120px.png
|hunger = -20
<!--GENERAL-->
|unhappiness = -10
|category=Food
|weight = 0.2
|weight=0.2
}}
|packaged=True
[[Chocolate]] is a [[Food#Non-Perishable|non-perishable]] food item which can be found in gas stations, grocery stores, or [[Containers#Kitchen Counter|kitchen counters]].
<!--NUTRITION-->
|hunger_change=-20
|calories=850
|lipids=66
|proteins=10
|carbohydrates=110
<!--EFFECT-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|class_name=Base.Chocolate
}}'''Chocolate''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  


== Nutritional information ==
==Usage==
<br>
Chocolate can be eaten, providing the player with some positive effects. As it is non-perishable, chocolate will never go stale or rotten.
'''Its nutritional values are as follows:'''<br>
Carbohydrates = 110 <br>
Proteins = 10 <br>
Lipids = 66 <br>
Calories = 850 <br><br>


== Evolved recipes ==
==Crafting==
<!-- Information for template 'Evolved Recipes', used to explain how much of the food can be put into a meal. -->
=== Evolved recipes ===
{{EvolvedRecipesForItem
Chocolate is a [[cooking]] [[Recipe Ingredients|ingredient]].
|cake=10|}}
{{EvolvedRecipesForItem|cake=10|}}
 
==Distribution==
Chocolate can be found in [[Containers#Kitchen Counter|kitchen counters]], gas stations and grocery stores.


== Code ==
== Code ==
<br>
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
{{Retrieved|version=40|incver=7}}
item Chocolate
<pre> item Chocolate
HungerChange = -20,
HungerChange = -20,
Weight = 0.2,
Weight = 0.2,
Line 41: Line 48:
         Lipids = 66,
         Lipids = 66,
         Calories = 850,
         Calories = 850,
         Packaged = TRUE,
         Packaged = TRUE,</pre>
</nowiki>
 
==See also==
*[[Cookie]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 06:09, 19 August 2018

Chocolate
Chocolate
General
Category Food
Encumbrance
Heavy Load
0.2
Packaged True
Nutrition
Hunger
Hunger
-20
Calories
Calories
850
Carbohydrates
Carbohydrates
110
Proteins
Proteins
10
Fat
Fat
66
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.Chocolate

Chocolate is a non-perishable food item.

Usage

Chocolate can be eaten, providing the player with some positive effects. As it is non-perishable, chocolate will never go stale or rotten.

Crafting

Evolved recipes

Chocolate is a cooking ingredient.

Product Nutrition
Cake
Cake
10

Distribution

Chocolate can be found in kitchen counters, gas stations and grocery stores.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.7

	item Chocolate
		HungerChange	= -20,
		Weight		= 0.2,
		Type		= Food,
		UnhappyChange	= -10,
		DisplayName	= Chocolate,
		Icon		= Chocolate,
		EvolvedRecipe 	= Cake:10,
		FoodType    	= NoExplicit,
        	Carbohydrates 	= 110,
        	Proteins 	= 10,
        	Lipids 		= 66,
        	Calories 	= 850,
        	Packaged 	= TRUE,

See also

Template:Navbox/Consumables