Chocolate Chip Cookie: Difference between revisions

From PZwiki
m (b40 update)
m (RM reupload. No rotten model as per models_items.txt.)
 
(38 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=30}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Cookie
{{Infobox item
|name_colour=Food
|name=Chocolate Chip Cookie
|name_text_colour=Food
|model=Cookie_Model.png
|image=CookieChocolateChip_120px.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 18:
|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]].
|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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Lunchbag
    | {{ll|Lunchbag}}
    | 6.41%
    |-
    | Lunchbox
    | {{ll|Lunchbox}}
    | 6.41%
    |-
    | Lunchbox2
    | {{ll|Lunchbox2}}
    | 6.41%
    |-
    | all
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycase}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | bakery
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | bakerykitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycase}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | cafe
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | cafe
    | {{ll|shelves}}
    | 23.28%
    |-
    | cafekitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 10.78%
    |-
    | cornerstore
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | daycare
    | {{ll|desk}}
    | 3.98%
    |-
    | gigamart
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | grocery
    | {{ll|displaycasebakery}}
    | 23.28%
    |}
</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=30}}
| {{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 16:04, 30 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]
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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Lunchbag Lunchbag 6.41%
Lunchbox Lunchbox 6.41%
Lunchbox2 Lunchbox2 6.41%
all displaycasebakery 23.28%
bakery displaycase 23.28%
bakery displaycasebakery 23.28%
bakery grocerstand 23.28%
bakery restaurantdisplay 23.28%
bakerykitchen restaurantdisplay 23.28%
cafe displaycase 23.28%
cafe displaycasebakery 23.28%
cafe grocerstand 23.28%
cafe shelves 23.28%
cafekitchen restaurantdisplay 23.28%
cafeteria displaycasebakery 10.78%
cornerstore displaycasebakery 23.28%
daycare desk 3.98%
gigamart displaycasebakery 23.28%
grocery displaycasebakery 23.28%

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