Chocolate Cookie: Difference between revisions

From PZwiki
No edit summary
m (Cleanup)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Languages}}{{Header|The Game World|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}{{Infobox food
<!--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 -->
{{header|The Game World|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}<!--
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-->
{{Infobox food
|display_name=Chocolate Cookie
|display_name=Chocolate Cookie
|name_colour=Food
|name_colour=Food
Line 21: Line 17:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CookiesChocolate
|class_name=Base.CookiesChocolate
}}<!--COMMENT: General introductory for the item-->
}}A '''Chocolate Cookie''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
A '''Chocolate Cookie''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].


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


== Distribution ==
==Distribution==
Chocolate Cookies can be found in bakery [[Containers#Displays|display counters]].
Chocolate Cookies can be found in bakery [[Containers#Displays|display counters]].


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
{{Retrieved|version=41|incver=65}}
<pre>   item CookiesChocolate
<pre>
    item CookiesChocolate
     {
     {
         Type = Food,
         Type = Food,
Line 49: Line 42:
         Calories = 170,
         Calories = 170,
         CustomEatSound = EatingCrispy,
         CustomEatSound = EatingCrispy,
         WorldStaticModel = Cookie_Chocolate_Ground,</pre>
         WorldStaticModel = Cookie_Chocolate_Ground,
</pre>


==See also==
==See also==
Line 56: Line 50:
*[[Oatmeal Cookie]]
*[[Oatmeal Cookie]]
*[[Shortbread Cookie]]
*[[Shortbread Cookie]]
{{Navbox/Consumables}}
 
{{Navbox food}}

Revision as of 22:29, 5 April 2023

The Game WorldItemsFoodNon-Perishable FoodChocolate Cookie
Chocolate Cookie
Chocolate Cookie
General
Category Food
Encumbrance
Heavy Load
0.1
Nutrition
Hunger
Hunger
-5
Calories
Calories
170
Carbohydrates
Carbohydrates
25
Proteins
Proteins
2
Fat
Fat
9
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.CookiesChocolate

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.

Distribution

Chocolate Cookies can be found in bakery display counters.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    item CookiesChocolate
    {
        Type				=		Food,
        DisplayName			=		Chocolate Cookie,
        Icon				=		CookiesChocolate,
        Weight				=		0.1,
        HungerChange 		=		-5,
        UnhappyChange	    =	    -10,
        Carbohydrates = 25,
        Proteins = 2,
        Lipids = 9,
        Calories = 170,
        CustomEatSound = EatingCrispy,
        WorldStaticModel = Cookie_Chocolate_Ground,

See also