Chocolate: Difference between revisions

From PZwiki
(Updated page, +evolved recipes, +nutritional info, description, +navigation, +info,)
m (Automated Formatting)
(35 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Sweets}}
{{languages}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Chocolate
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[ Main_Page|Index]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[Chocolate|Chocolate]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Chocolate_Model.png
{{Consumables
|icon=Chocolate.png
|image = Chocolate.png
|icon_name=Chocolate
|hunger = -20
<!--GENERAL-->
|unhappiness = -10
|category=Food
|weight = 0.2
|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
}}
}}
A Bar of Chocolate is a [[Food#Non-Perishable|non-perishable]] food item which is often found in [[Containers#Kitchen_cupboard|kitchen cupboards]].
'''Chocolate''' is a non-perishable [[food]] [[Items|item]].


== Nutritional Information ==
==Usage==
<br>
Chocolate can be eaten, providing the player with some positive effects. As it is non-perishable, chocolate will never go stale or rotten.
Chocolate provides when completely eaten: -20 hunger and a bonus of -10 to happiness.<br>
<br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 110 <br>
Proteins = 10 <br>
Lipids = 66 <br>
Calories = 850 <br><br>


== Evolved Recipes ==
==Crafting==
<!-- Information for template 'Evolved Recipes', used to explain how much of the food can be put into a meal. -->
{{Main|Cooking}}
{{EvolvedRecipesForItem
|cake=10|}}


== Code ==
===Evolved recipes===
<br>
Chocolate is a [[cooking]] [[Recipe ingredients|ingredient]].
<nowiki>
{{EvolvedRecipesForItem|cake=20|pie=20|bread=10|coneicecream=5}}
item Chocolate
HungerChange = -20,
Weight = 0.2,
Type = Food,
UnhappyChange = -10,
DisplayName = Chocolate,
Icon = Chocolate,
EvolvedRecipe = Cake:10,
FoodType    = NoExplicit,
        Carbohydrates = 110,
        Proteins = 10,
        Lipids = 66,
        Calories = 850,
        Packaged = TRUE,
</nowiki>


{{Navbox/Consumables}}
==Distribution==
[[Category:Consumables]]
The loot distributions can be found in the table(s) below.
[[Category:Food]]
 
[[Category:Non-Perishable_Food]]
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
[[Category:Version 34.28]]
! 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.
 
==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 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