Raspberry Shortbread: Difference between revisions

From PZwiki
(→‎top: New infobox upgrade - Food)
(→‎Code: CodeBox update)
Line 29: Line 29:
Cookies can often be found in kitchen [[Containers#Counter|counters]], bakeries, motel room [[Containers#Refrigerators|fridges]] and candy stores.
Cookies can often be found in kitchen [[Containers#Counter|counters]], bakeries, motel room [[Containers#Refrigerators|fridges]] and candy stores.


== Code ==
{{CodeBox
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
| {{CodeSnip
{{Retrieved|version=41.68}}
  | lang = java
<pre>    item CookieJelly
  | line = false
    {
  | source = items_food.txt
        DisplayCategory = Food,
  | retrieved = true
        Type = Food,
  | version = 41
         DisplayName = Raspberry Shortbread,
  | incver = 68
        Icon = CookieJelly,
  | code =
        Weight = 0.1,
item CookieJelly
        HungerChange = -5,
{
        UnhappyChange     = -10,
  DisplayCategory     = Food,
        Carbohydrates = 22,
  Type               = Food,
        Proteins = 1,
  DisplayName         = Raspberry Shortbread,
        Lipids = 8,
  Icon               = CookieJelly,
        Calories = 160,
  Weight             = 0.1,
        WorldStaticModel = CookieJelly,
  HungerChange       = -5,
    }</pre>
  UnhappyChange       = -10,
  Carbohydrates       = 22,
  Proteins           = 1,
  Lipids             = 8,
  Calories           = 160,
  WorldStaticModel   = CookieJelly,
}
  }}
}}


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

Revision as of 09:12, 31 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.68).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Raspberry Shortbread
CookieJelly Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-7
CaloriesCalories
160
CarbohydratesCarbohydrates
22
ProteinsProteins
1
FatFat
8
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.CookieJelly

A raspberry shortbread, previously called cookie jelly, is a non-perishable food item.

Usage

Raspberry shortbread 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 icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.68
item CookieJelly
{
  DisplayCategory     = Food,
  Type                = Food,
  DisplayName         = Raspberry Shortbread,
  Icon                = CookieJelly,
  Weight              = 0.1,
  HungerChange        = -5,
  UnhappyChange       = -10,
  Carbohydrates       = 22,
  Proteins            = 1,
  Lipids              = 8,
  Calories            = 160,
  WorldStaticModel    = CookieJelly,
}

See also