Chocolate Cookie: Difference between revisions

From PZwiki
No edit summary
m (RM reupload. No rotten model as per models_items.txt.)
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Header|Project Zomboid|Items|Food|Sweets}}
<!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise -->
{{Page version|41.78.16}}
{{header|The Game World|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}<!--
{{Infobox item
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_food. Image.png is the default question mark image-->
|name=Chocolate Cookie
{{Infobox food
|model=CookiesChocolate_Model.png
|display_name=Chocolate Cookie
|icon=CookiesChocolate.png
|name_colour=Food
|icon_name=Chocolate Cookie
|name_text_colour=Food
|icon2=BakingTray_CookiesBaked.png
|image=CookiesChocolate.png
|icon_name_2=Baking Tray with Chocolate Cookies
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 20:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CookiesChocolate
|item_id=Base.CookiesChocolate
}}<!--COMMENT: General introductory for the item-->
|item_id2=Base.CookiesChocolateDough
A '''Chocolate Cookie''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
}}
A '''chocolate cookie''' is a non-perishable [[food]] [[Items|item]].


<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
==Usage==
__TOC__
Chocolate cookies can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


== Usage ==
==Crafting==
Chocolate Cookies can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
===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_cookie_uncooked
}}


== Distribution ==
==Distribution==
Chocolate Cookies can be found in bakery [[Containers#Displays|display counters]].
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|CookiesChocolate|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=41|incver=65}}
<div class="togglebox theme-red">
<pre>   item CookiesChocolate
    <div>CookiesChocolate distribution
    {
        <span class="mw-customtoggle-togglebox-CookiesChocolate" 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>
        Type = Food,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CookiesChocolate">
        DisplayName = Chocolate Cookie,
    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">
        Icon = CookiesChocolate,
<div class="pz-container">
        Weight = 0.1,
<div id="containers" style="flex-basis:30%">
        HungerChange = -5,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
        UnhappyChange     =     -10,
    |+ {{ll|Containers}}
        Carbohydrates = 25,
    ! Building/Room
        Proteins = 2,
    ! Container
        Lipids = 9,
    ! Effective chance
        Calories = 170,
    |-
        CustomEatSound = EatingCrispy,
    | Lunchbag
        WorldStaticModel = Cookie_Chocolate_Ground,</pre>
    | {{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%
    |-
    | 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-CookiesChocolate" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CookiesChocolate|41.78.16-->
Chocolate cookies can be found in bakery [[Containers#Displays|display counters]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 5997
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CookiesChocolate
{
DisplayName = Chocolate Cookie,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = CookiesChocolate,
/*DaysFresh = 7,
DaysTotallyRotten = 30,*/
HungerChange = -5,
UnhappyChange = -10,
Calories = 170,
Carbohydrates = 25,
Lipids = 9,
Proteins = 2,
CustomEatSound = EatingCrispy,
WorldStaticModel = Cookie_Chocolate_Ground,
Tags = FitsToaster,
}
}}
}}


==See also==
==See also==
*[[Cookie]]
*[[Chocolate Chip Cookie]]
*[[Raspberry Shortbread]]
*[[Oatmeal Cookie]]
*[[Oatmeal Cookie]]
*[[Shortbread Cookie]]
*[[Shortbread Cookie]]
{{Navbox/Consumables}}
*[[Sugar Cookie]]
 
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable food]]

Latest revision as of 16:03, 30 April 2024

Project ZomboidItemsFoodSweetsChocolate 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 Cookie
CookiesChocolate Model.png
Chocolate Cookie
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-5
CaloriesCalories
170
CarbohydratesCarbohydrates
25
ProteinsProteins
2
FatFat
9
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.CookiesChocolate
Base.CookiesChocolateDough

A chocolate cookie is a non-perishable food item.

Usage

Chocolate cookies 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 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
CocoaPowder.png Cocoa Powder ×10 unit(s)
Egg.png Egg (tag) ×2
Flour.png Flour ×1
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.

CookiesChocolate 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%
gigamart displaycasebakery 23.28%
grocery displaycasebakery 23.28%

Chocolate cookies can be found in bakery display counters.

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 CookiesChocolate
	{
		DisplayName = Chocolate Cookie,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = CookiesChocolate,
		/*DaysFresh = 7,
		DaysTotallyRotten = 30,*/
		HungerChange = -5,
		UnhappyChange = -10,
		Calories = 170,
		Carbohydrates = 25,
		Lipids = 9,
		Proteins = 2,
		CustomEatSound = EatingCrispy,
		WorldStaticModel = Cookie_Chocolate_Ground,
		Tags = FitsToaster,
	}

See also