Chocolate: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (Distribution table update)
(29 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.
<!--BOT FLAG|Chocolate|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Chocolate distribution
        <span class="mw-customtoggle-togglebox-Chocolate" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Chocolate">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|TheatreSnacks}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|Bag_ALICEpack}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|Bag_FoodSnacks}}
    | 2
    | 10.0
    |-
    | all
    | {{ll|Bag_FoodSnacks}}
    | 2
    | 20.0
    |-
    | all
    | {{ll|Bag_WorkerBag}}
    | 1
    | 8.0
    |-
    | all
    | {{ll|FoodBox}}
    | 15
    | 6.0
    |-
    | all
    | {{ll|SurvivorCrate}}
    | 4
    | 8.0
    |-
    | artstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | bandkitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | cafekitchen
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | cafekitchen
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | cafekitchen
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 4
    | 10.0
    |-
    | candystorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | candystore
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | classroom
    | {{ll|desk}}
    | 4
    | 1.0
    |-
    | gasstorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 4
    | 4.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | SurvivalistGlovebox
    | 4
    | 8
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Chocolate" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Chocolate|41.78.16-->
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 15:11, 24 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.

Chocolate distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced TheatreSnacks 4 8.0
all Bag_ALICEpack 1 1.0
all Bag_FoodSnacks 2 10.0
all Bag_FoodSnacks 2 20.0
all Bag_WorkerBag 1 8.0
all FoodBox 15 6.0
all SurvivorCrate 4 8.0
artstore shelves 4 10.0
bandkitchen counter 4 8.0
cafekitchen crate 4 20.0
cafekitchen crate 4 10.0
cafekitchen crate 4 50.0
cafeteria displaycasebakery 4 10.0
candystorage metal_shelves 4 10.0
candystore counter 4 10.0
classroom desk 4 1.0
gasstorage crate 4 10.0
grocerystorage crate 4 1.0
kitchen counter 4 6.0
kitchen counter 4 8.0
prisoncells wardrobe 4 4.0
Vehicles
Vehicle Type/Location Rolls Chance
SurvivalistGlovebox 4 8

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