Peanuts: Difference between revisions

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


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.73}}
| {{CodeSnip
<pre>
  | lang = java
    item Peanuts
  | line = false
{
  | source = items_food.txt
DisplayName = Peanuts,
  | retrieved = true
DisplayCategory = Food,
  | version = 41
Type = Food,
  | incver = 73
Weight = 0.2,
  | code =
Icon = Peanut,
item Peanuts
CantBeFrozen = TRUE,
{
EvolvedRecipe = Soup:8;Stir fry Griddle Pan:8;Stir fry:8;Salad:4;RicePot:8;RicePan:8;ConeIcecream:4,
    DisplayName             = Peanuts,
FoodType = Nut,
    DisplayCategory         = Food,
HungerChange = -8,
    Type                   = Food,
Calories = 161,
    Weight                 = 0.2,
Carbohydrates = 4.57,
    Icon                   = Peanut,
Lipids = 13.96,
    CantBeFrozen           = TRUE,
Proteins = 7.31,
    EvolvedRecipe           = Soup:8;Stir fry Griddle Pan:8;Stir fry:8;Salad:4;RicePot:8;RicePan:8;ConeIcecream:4,
WorldStaticModel = Peanuts,
    FoodType               = Nut,
EvolvedRecipeName = Peanut,
    HungerChange           = -8,
}
    Calories               = 161,
</pre>
    Carbohydrates           = 4.57,
    Lipids                 = 13.96,
    Proteins               = 7.31,
    WorldStaticModel       = Peanuts,
    EvolvedRecipeName       = Peanut,
}
  }}
}}


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

Revision as of 11:32, 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.
Peanuts
Peanuts Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Nutrition
HungerMoodle Icon Hungry.png
-8
CaloriesCalories
161
CarbohydratesCarbohydrates
4.57
ProteinsProteins
7.31
FatFat
13.96
Technical
Item ID
Base.Peanuts

Peanuts are a non-perishable food item.

Usage

Trapping

Main article: Trapping

Peanuts can be used as bait in traps to capture Squirrels.

Consumable properties

Peanuts can be eaten, providing the player with some positive effects. As it is non-perishable, peanuts will never go stale or rotten.

Crafting

Cooking

Main article: Cooking

Peanuts can be used as an ingredient in some custom recipes.

Evolved recipes

Product Nutrition
Soup
Soup
8
Salad
Salad
4
Stir Fry
Stir Fry
8
Rice Pot/Saucepan
Rice Pot/Saucepan
8
Ice Cream Cone
Ice Cream Cone
4

Distribution

Peanuts can often be found in shelves inside a bar, or motel room. As of build 41, they can also be found while foraging.

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.73
item Peanuts
{
    DisplayName             = Peanuts,
    DisplayCategory         = Food,
    Type                    = Food,
    Weight                  = 0.2,
    Icon                    = Peanut,
    CantBeFrozen            = TRUE,
    EvolvedRecipe           = Soup:8;Stir fry Griddle Pan:8;Stir fry:8;Salad:4;RicePot:8;RicePan:8;ConeIcecream:4,
    FoodType                = Nut,
    HungerChange            = -8,
    Calories                = 161,
    Carbohydrates           = 4.57,
    Lipids                  = 13.96,
    Proteins                = 7.31,
    WorldStaticModel        = Peanuts,
    EvolvedRecipeName       = Peanut,
}

See also