Pickles: Difference between revisions

From PZwiki
(→‎top: New infobox upgrade - Food)
(→‎Code: CodeBox update)
Line 33: Line 33:


==Code==
==Code==
'''''From item_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
    item Pickles
  | line = false
    {
  | source = item_food.txt
        DisplayCategory = Food,
  | retrieved = true
        HungerChange = -5,
  | version = 41
        Weight = 0.1,
  | incver = 73
        AlwaysWelcomeGift = true,
  | code =
        Type = Food,
item Pickles
         DisplayName = Pickles,
{
        Icon = Pickles,
    DisplayCategory     = Food,
        EvolvedRecipe = Sandwich:5;Sandwich Baguette:5;Burger:5;Salad:5;RicePot:5;RicePan:5;PastaPot:5;PastaPan:5,
    HungerChange       = -5,
        FoodType   =   NoExplicit,
    Weight             = 0.1,
        Carbohydrates = 1,
    AlwaysWelcomeGift   = true,
        Proteins = 0,
    Type               = Food,
        Lipids = 0,
    DisplayName         = Pickles,
        Calories = 5,
    Icon               = Pickles,
        WorldStaticModel = Pickles,
    EvolvedRecipe       = Sandwich:5;Sandwich Baguette:5;Burger:5;Salad:5;RicePot:5;RicePan:5;PastaPot:5;PastaPan:5,
    }
    FoodType           = NoExplicit,
</pre>
    Carbohydrates       = 1,
    Proteins           = 0,
    Lipids             = 0,
    Calories           = 5,
    WorldStaticModel   = Pickles,
}
  }}
}}


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

Revision as of 09:54, 31 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
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.
Pickles
Pickles Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-5
CaloriesCalories
5
CarbohydratesCarbohydrates
1
ProteinsProteins
0
FatFat
0
Technical
Item ID
Base.Pickles

Pickles are a non-perishable food item.

Usage

Pickles can be eaten, providing the player with some positive effects, however it is more effective when used in cooking. As it is non-perishable, pickles will never go stale or rotten.

Crafting

Evolved recipes

Pickles are a cooking ingredient.

Product Nutrition
Salad
Salad
5
Sandwich
Sandwich
5
Burger
Burger
5
Rice Pot/Saucepan
Rice Pot/Saucepan
5
Pasta Pot/Saucepan
Pasta Pot/Saucepan
5

Distribution

Pickles can be found in refrigerators and grocery displays.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\item_food.txt

Retrieved: Build 41.73
item Pickles
{
    DisplayCategory     = Food,
    HungerChange        = -5,
    Weight              = 0.1,
    AlwaysWelcomeGift   = true,
    Type                = Food,
    DisplayName         = Pickles,
    Icon                = Pickles,
    EvolvedRecipe       = Sandwich:5;Sandwich Baguette:5;Burger:5;Salad:5;RicePot:5;RicePan:5;PastaPot:5;PastaPan:5,
    FoodType            = NoExplicit,
    Carbohydrates       = 1,
    Proteins            = 0,
    Lipids              = 0,
    Calories            = 5,
    WorldStaticModel    = Pickles,
}

See also