Chocolate: Difference between revisions

From PZwiki
(New infobox + new layout)
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{languages|Chocolate}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Chocolate
|display_name=Chocolate
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Chocolate_120px.png
|image=Chocolate_Model.png
|image_width=250px
|alternate_image=Chocolate.png
|alternate_name=Chocolate
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 33: Line 37:


== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
{{Retrieved|version=41|incver=68}}
<pre> item Chocolate
<pre> item Chocolate
HungerChange = -20,
    {
Weight = 0.2,
        DisplayCategory = Food,
Type = Food,
        HungerChange = -20,
UnhappyChange = -10,
        Weight = 0.2,
DisplayName = Chocolate,
        Type = Food,
Icon = Chocolate,
        UnhappyChange = -10,
EvolvedRecipe = Cake:10,
        DisplayName = Chocolate,
FoodType   = NoExplicit,
        Icon = Chocolate,
        Carbohydrates = 110,
        EvolvedRecipe = Cake:10,
        Proteins = 10,
        FoodType   =   NoExplicit,
        Lipids = 66,
        Carbohydrates = 110,
        Calories = 850,
        Proteins = 10,
        Packaged = TRUE,</pre>
        Lipids = 66,
        Calories = 850,
        Packaged = TRUE,
        WorldStaticModel = Chocolate,
    }</pre>


==See also==
==See also==
*[[Chocolate Bread]]
*[[Chocolate Cake Slice]]
*[[Chocolate Chips]]
*[[Chocolate Cookie]]
*[[Chocolate Doughnut]]
*[[Cookie]]
*[[Cookie]]


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

Revision as of 11:20, 14 March 2022

Chocolate
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_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

	item Chocolate
    {
        DisplayCategory = Food,
        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,
        WorldStaticModel = Chocolate,
    }

See also