Chocolate Chip Cookie: Difference between revisions

From PZwiki
(added nutrition to infobox)
m (Distribution table update)
 
(36 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Cookie}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Notice|Future}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Cookie
{{Reupload|Missing baking tray 3D model}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Chocolate Chip Cookie
|image=CookieChocolateChip_120px.png
|model=Cookie_Model.png
|icon=CookieChocolateChip.png
|icon_name=Chocolate Chip Cookie
|icon2=BakingTray_CookiesBaked.png
|icon_name2=Baking Tray with Chocolate Chip Cookies
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 15: Line 19:
|carbohydrates=22
|carbohydrates=22
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-10
|unhappy_change=-5
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CookieChocolateChip
|item_id=Base.CookieChocolateChip
}}A '''cookie''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]] expected to be added in [[build 40]].
|item_id2=Base.CookieChocolateChipDough
}}
A '''chocolate chip cookie''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
A cookie can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
A cookie can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].
 
==Crafting==
===Cooking===
{{Main|Cooking}}
The player must first learn how to make chocolate chip cookies before they can be crafted. This can be done by either reading a [[Good Cooking Magazine|''Good Cooking Magazine Vol.1'']], or starting with the [[Occupation#Chef|chef occupation]] during character creation.
{{Crafting/sandbox2
|baking_tray_with_chocolate_chip_cookie_uncooked
}}


==Distribution==
==Distribution==
Cookies can often be found in kitchen [[Containers#Counter|counters]], bakeries, motel room [[Containers#Refrigerators|fridges]] and candy stores.
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|CookieChocolateChip|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>CookieChocolateChip distribution
        <span class="mw-customtoggle-togglebox-CookieChocolateChip" 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-CookieChocolateChip">
    <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
    |-
    | all
    | {{ll|Lunchbag}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|displaycasebakery}}
    | 4
    | 10.0
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 4
    | 4.0
    |-
    | daycare
    | {{ll|desk}}
    | 4
    | 1.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CookieChocolateChip" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CookieChocolateChip|41.78.16-->
Chocolate chip cookies can often be found in kitchen [[Containers#Counter|counters]], bakeries, motel room [[Containers#Refrigerators|fridges]] and candy stores.


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=5}}
| {{CodeSnip
<pre> item CookieChocolateChip
  | lang = java
Type = Food,
  | line = true
DisplayName = Cookie,
  | start = 3867
Icon = CookieChocolateChip,
  | source = items_food.txt
Weight = 0.1,
  | retrieved = true
HungerChange   = -5,
  | version = 41.78.16
UnhappyChange = -10,
  | code =
Carbohydrates = 22,
item CookieChocolateChip
Proteins = 1,
{
Lipids = 8,
DisplayName = Chocalate Chip Cookie,
Calories = 160,</pre>
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = CookieChocolateChip,
/*DaysFresh = 7,
DaysTotallyRotten = 30,*/
HungerChange = -5,
UnhappyChange = -5,
Calories = 160,
Carbohydrates = 22,
Lipids = 8,
Proteins = 1,
CustomEatSound = EatingCrispy,
WorldStaticModel = Cookie,
Tags = FitsToaster,
}
}}
}}


==See also==
==See also==
*[[Raspberry Shortbread]]
*[[Chocolate Cookie]]
*[[Oatmeal Cookie]]
*[[Shortbread Cookie]]
*[[Sugar Cookie]]
 
{{Navbox items|miscellaneous_food}}
 


{{Navbox/Consumables}}
[[Category:Non-perishable food]]

Latest revision as of 15:12, 24 April 2024

Project ZomboidItemsFoodSweetsChocolate Chip Cookie
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing baking tray 3D model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Chocolate Chip Cookie
Cookie Model.png
Baking Tray with Chocolate Chip Cookies
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-5
CaloriesCalories
160
CarbohydratesCarbohydrates
22
ProteinsProteins
1
FatFat
8
Effect
UnhappinessMoodle Icon Unhappy.png
-5
Technical
Item ID
Base.CookieChocolateChip
Base.CookieChocolateChipDough

A chocolate chip cookie is a non-perishable food item.

Usage

A cookie can be eaten, providing the player with some positive effects, including reducing unhappiness.

Crafting

Cooking

Main article: Cooking

The player must first learn how to make chocolate chip cookies before they can be crafted. This can be done by either reading a Good Cooking Magazine Vol.1, or starting with the chef occupation during character creation.

Product Ingredients Tools Requirements Workstation XP
BakingTray CookiesBaked.png
Baking Tray with Chocolate Chip Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
ChocolateChips.png Chocolate Chips ×6
Egg.png Egg (tag) ×2
Flour.png Flour ×1 unit(s)
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking

Distribution

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

CookieChocolateChip distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Lunchbag 1 10.0
all displaycasebakery 4 10.0
cafeteria displaycasebakery 4 4.0
daycare desk 4 1.0

Chocolate chip cookies can often be found in kitchen counters, bakeries, motel room fridges and candy 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 CookieChocolateChip
	{
		DisplayName = Chocalate Chip Cookie,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = CookieChocolateChip,
		/*DaysFresh = 7,
		DaysTotallyRotten = 30,*/
		HungerChange = -5,
		UnhappyChange = -5,
		Calories = 160,
		Carbohydrates = 22,
		Lipids = 8,
		Proteins = 1,
		CustomEatSound = EatingCrispy,
		WorldStaticModel = Cookie,
		Tags = FitsToaster,
	}

See also