Chocolate: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (Automated Formatting)
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Chocolate
{{Infobox item
|name_colour=Food
|name=Chocolate
|name_text_colour=Food
|model=Chocolate_Model.png
|image=Chocolate_Model.png
|icon=Chocolate.png
|image_width=250px
|icon_name=Chocolate
|alternate_image=Chocolate.png
|alternate_name=Chocolate
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.2
|weight=0.2
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-20
|hunger_change=-20
Line 22: Line 19:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Chocolate
|item_id=Base.Chocolate
}}'''Chocolate''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
'''Chocolate''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 29: Line 27:


==Crafting==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
Chocolate is a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|cake=10|}}
===Evolved recipes===
Chocolate is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|cake=20|pie=20|bread=10|coneicecream=5}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|artstore
|[[shelves]]
|4
|1
|-
|rowspan="6"|bakerykitchen
|[[counter]]
|4
|8
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|5
|-
|bandkitchen
|[[counter]]
|4
|8
|-
|rowspan="2"|cafeteria
|[[displaycasebakery]]
|4
|1
|-
|[[displaycasebakery]]
|4
|1
|-
|candystorage
|[[metal_shelves]]
|4
|1
|-
|candystore
|[[counter]]
|4
|1
|-
|classroom
|[[desk]]
|4
|1
|-
|gasstorage
|[[crate]]
|4
|1
|-
|grocerystorage
|[[crate]]
|4
|1
|-
|rowspan="2"|kitchen
|[[counter]]
|4
|8
|-
|[[counter]]
|4
|6
|-
|prisoncells
|[[wardrobe]]
|4
|4
|}
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 ==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=68}}
| {{CodeSnip
<pre> item Chocolate
  | lang = java
    {
  | line = true
        DisplayCategory = Food,
  | start = 4013
        HungerChange = -20,
  | source = items_food.txt
        Weight = 0.2,
  | retrieved = true
        Type = Food,
  | version = 41.78.16
        UnhappyChange = -10,
  | code =
        DisplayName = Chocolate,
item Chocolate
        Icon = Chocolate,
{
        EvolvedRecipe = Cake:10,
DisplayName = Chocolate,
        FoodType   =   NoExplicit,
DisplayCategory = Food,
        Carbohydrates = 110,
Type = Food,
        Proteins = 10,
Weight = 0.2,
        Lipids = 66,
Icon = Chocolate,
        Calories = 850,
EvolvedRecipe = Cake:20;PieSweet:20;Bread:10;ConeIcecream:5,
        Packaged = TRUE,
FoodType = NoExplicit,
        WorldStaticModel = Chocolate,
Packaged = TRUE,
    }</pre>
HungerChange = -20,
UnhappyChange = -10,
Calories = 850,
Carbohydrates = 110,
Lipids = 66,
Proteins = 10,
WorldStaticModel = Chocolate,
}
}}
}}


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


{{Navbox_food}}
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable food]]

Revision as of 07:32, 14 April 2024

Project ZomboidItemsFoodSweetsChocolate
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
artstore shelves 4 1
bakerykitchen counter 4 8
crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5
bandkitchen counter 4 8
cafeteria displaycasebakery 4 1
displaycasebakery 4 1
candystorage metal_shelves 4 1
candystore counter 4 1
classroom desk 4 1
gasstorage crate 4 1
grocerystorage crate 4 1
kitchen counter 4 8
counter 4 6
prisoncells wardrobe 4 4

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.78.16
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