Chocolate Chip Cookie: Difference between revisions
(added nutrition to infobox) |
m (b40 update) |
||
Line 1: | Line 1: | ||
{{languages|Cookie}} | {{languages|Cookie}} | ||
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver= | {{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=30}}{{Infobox food | ||
|display_name=Cookie | |display_name=Cookie | ||
|name_colour=Food | |name_colour=Food | ||
Line 18: | Line 18: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|class_name=Base.CookieChocolateChip | |class_name=Base.CookieChocolateChip | ||
}}A '''cookie''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item | }}A '''cookie''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]]. | ||
==Usage== | ==Usage== | ||
Line 28: | Line 28: | ||
== Code == | == Code == | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | '''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=40|incver= | {{Retrieved|version=40|incver=30}} | ||
<pre> item CookieChocolateChip | <pre> item CookieChocolateChip | ||
Type = Food, | Type = Food, |
Revision as of 09:08, 31 October 2018
Cookie | |
---|---|
Cookie | |
General | |
Category | Food |
Encumbrance | 0.1 |
Nutrition | |
Hunger | -5 |
Calories | 160 |
Carbohydrates | 22 |
Proteins | 1 |
Fat | 8 |
Effect | |
Unhappiness | -10 |
Technical details | |
Item ID | Base.CookieChocolateChip |
A cookie is a non-perishable food item.
Usage
A cookie can be eaten, providing the player with some positive effects, including reducing unhappiness.
Distribution
Cookies can often be found in kitchen counters, bakeries, motel room fridges and candy stores.
Code
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.30
item CookieChocolateChip Type = Food, DisplayName = Cookie, Icon = CookieChocolateChip, Weight = 0.1, HungerChange = -5, UnhappyChange = -10, Carbohydrates = 22, Proteins = 1, Lipids = 8, Calories = 160,