Chocolate: Difference between revisions
(→Code: CodeBox update) |
m (Fix) |
||
Line 36: | Line 36: | ||
Chocolate can be found in [[Containers#Kitchen Counter|kitchen counters]], gas stations and grocery stores. | Chocolate can be found in [[Containers#Kitchen Counter|kitchen counters]], gas stations and grocery stores. | ||
==Code== | |||
{{CodeBox | {{CodeBox | ||
| {{CodeSnip | | {{CodeSnip |
Revision as of 09:41, 31 January 2024
Chocolate
Properties
Packaged
Yes
Technical
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
- Main article: Cooking
Evolved recipes
Chocolate is a cooking ingredient.
Product | Nutrition |
---|---|
Pie (savory) |
20 |
Cake |
20 |
Ice Cream Cone |
5 |
Bread |
10 |
Distribution
Chocolate can be found in kitchen counters, gas stations and grocery stores.
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_food.txt
item Chocolate
{
DisplayName = Chocolate,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Chocolate,
EvolvedRecipe = Cake:20;PieSweet:20;Bread:10;ConeIcecream:5,
FoodType = NoExplicit,
Packaged = TRUE,
HungerChange = -20,
UnhappyChange = -10,
Calories = 850,
Carbohydrates = 110,
Lipids = 66,
Proteins = 10,
WorldStaticModel = Chocolate,
}