Chocolate: Difference between revisions

From PZwiki
No edit summary
m (Distribution table update)
(41 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Consumables
{{Page version|41.78.16}}
|image = Chocolate.png
{{Infobox item
|hunger = -10
|name=Chocolate
|weight = 0.1
|model=Chocolate_Model.png
|icon=Chocolate.png
|icon_name=Chocolate
<!--GENERAL-->
|category=Food
|weight=0.2
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-20
|calories=850
|lipids=66
|proteins=10
|carbohydrates=110
<!--EFFECT-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|item_id=Base.Chocolate
}}
}}
Chocolate is an edible item. It is often found inside of houses, usually within a [[containers#Kitchen_cupboard|kitchen cupboard]].
'''Chocolate''' is a non-perishable [[food]] [[Items|item]].


== Effects ==
==Usage==
[[Hunger]]: -10<br>
Chocolate can be eaten, providing the player with some positive effects. As it is non-perishable, chocolate will never go stale or rotten.
[[Unhappy]]: -10
== Code ==
<nowiki>item Chocolate
{
Type = Food,
DisplayName = Chocolate,
Icon = Chocolate,
Weight = 0.1,
HungerChange = -10,
UnhappyChange = -10,
}</nowiki>


{{Navbox/Consumables}}
==Crafting==
[[Category:Consumables]]
{{Main|Cooking}}
[[Category:Version 0.2.0p]]}}
 
[[Category:Consumables]]
===Evolved recipes===
Chocolate is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|cake=20|pie=20|bread=10|coneicecream=5}}
 
==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.
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 4013
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
*[[Chocolate Bread]]
*[[Chocolate Chips]]
*[[Cookie]]
 
{{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