Chocolate: Difference between revisions

From PZwiki
(→‎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

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Chocolate
Chocolate Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-20
CaloriesCalories
850
CarbohydratesCarbohydrates
110
ProteinsProteins
10
FatFat
66
Effect
UnhappinessMoodle Icon Unhappy.png
-10
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)
Pie (savory)
20
Cake
Cake
20
Ice Cream Cone
Ice Cream Cone
5
Bread
Bread
10

Distribution

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

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.73
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,
}

See also