Oatmeal Cookie: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
(→‎Code: Codebox Update)
Line 39: Line 39:


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
item CookiesOatmeal
  | line = true
{
  | start = 0
DisplayName = Oatmeal Cookie,
  | source = items.txt
DisplayCategory = Food,
  | retrieved = true
Type = Food,
  | version = 41
Weight = 0.1,
  | incver = 78.16
Icon = CookiesOatmeal,
  | code =
/*DaysFresh = 7,
item CookiesOatmeal
DaysTotallyRotten = 30,*/
{
HungerChange = -5,
  DisplayName       = Oatmeal Cookie,
UnhappyChange = -10,
  DisplayCategory   = Food,
Calories = 110,
  Type               = Food,
Carbohydrates = 20,
  Weight             = 0.1,
Lipids = 6,
  Icon               = CookiesOatmeal,
Proteins = 1,
  /*DaysFresh = 7,
CustomEatSound = EatingCrispy,
  DaysTotallyRotten = 30,*/
WorldStaticModel = Cookie_Oatmeal_Ground,
  HungerChange       = -5,
Tags = FitsToaster,
  UnhappyChange     = -10,
}
  Calories           = 110,
</pre>
  Carbohydrates     = 20,
  Lipids             = 6,
  Proteins           = 1,
  CustomEatSound     = EatingCrispy,
  WorldStaticModel   = Cookie_Oatmeal_Ground,
  Tags               = FitsToaster,
}
  }}
}}


==See also==
==See also==

Revision as of 09:14, 14 January 2024

Oatmeal Cookie
Oatmeal Cookie
Oatmeal Cookie
General
Category Food
Encumbrance
Heavy Load
0.1
Nutrition
Hunger
Hunger
-5
Calories
Calories
110
Carbohydrates
Carbohydrates
20
Proteins
Proteins
1
Fat
Fat
6
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.CookiesOatmeal

An oatmeal cookie is a non-perishable food item.

Usage

Oatmeal 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 XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5 Ingredient 6 Ingredient 7 Ingredient 8 Ingredient 9 Ingredient 10 Ingredient 11
BakingTray CookiesBaked.png
Baking Tray with Oatmeal Cookie (Uncooked)
0.75 Cooking none Chef
OR
Cook (trait)
OR
Good Cooking Magazine Vol. 1
Bowl.png
Empty Bowl
(keep)
RollingPin.png
Rolling Pin
(keep)

(keep)
Flour.png
Flour
(1 unit)

(consumed)
BakingTray.png
Baking Tray
(consumed)
BakingSoda.png
Baking Soda
(1 unit)

(consumed)
OatsRaw.png
Can of Oats
(10 units)

(consumed)
Water.png
Water
(1 unit)

(consumed)

(consumed)
One of:
Egg.png Egg x2
WildEggs.png Wild Eggs x2

(consumed)

(consumed)

Distribution

Oatmeal 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.txt

Retrieved: Build 41.78.16
item CookiesOatmeal
{
  DisplayName        = Oatmeal Cookie,
  DisplayCategory    = Food,
  Type               = Food,
  Weight             = 0.1,
  Icon               = CookiesOatmeal,
  /*DaysFresh = 7,
  DaysTotallyRotten = 30,*/
  HungerChange       = -5,
  UnhappyChange      = -10,
  Calories           = 110,
  Carbohydrates      = 20,
  Lipids             = 6,
  Proteins           = 1,
  CustomEatSound     = EatingCrispy,
  WorldStaticModel   = Cookie_Oatmeal_Ground,
  Tags               = FitsToaster,
}

See also