Peanut Butter: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (Automated Formatting)
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Peanut Butter
{{Infobox item
|name_colour=Food
|name=Peanut Butter
|name_text_colour=Food
|model=PeanutButter_Model.png
|image=PeanutButter_Model.png
|icon=PeanutButter.png
|image_width=250px
|icon_name=Peanut Butter
|alternate_image=PeanutButter.png
|alternate_name=Peanut Butter
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.3
|weight=0.3
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-25
|hunger_change=-25
Line 22: Line 19:
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.PeanutButter
|item_id=Base.PeanutButter
}}'''Peanut butter''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
'''Peanut butter''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Peanut butter can be eaten, providing the player with some positive effects; however it is more effective when used in making a [[sandwich]]. As it is non-perishable, peanut butter will never go stale or rotten.
Peanut butter can be eaten, providing the player with some positive effects. As it is non-perishable, peanut butter will never go stale or rotten.
===Trapping===
{{Main|Trapping}}
Oranges can be used as bait in [[Trapping|traps]] to capture [[Dead_Mouse|mice]], [[Dead_Rat|rats]], and [[Dead_Squirrel|squirrels]].


== Crafting ==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
Peanut butter is a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|sandwich=7}}
===Evolved recipes===
Peanut butter is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|soup=5|stirfry=5|sandwich=5|toast=5|coneicecream=5}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="2"|generalstore
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|kitchen
|[[counter]]
|4
|1
|}
Peanut butter can be found in [[Containers#Kitchen Counter|kitchen counters]].
Peanut butter can be found in [[Containers#Kitchen Counter|kitchen counters]].


== Code ==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=68}}
| {{CodeSnip
<pre> item PeanutButter
  | lang = java
HungerChange = -25,
  | line = true
Weight = 0.3,
  | start = 4615
Type = Food,
  | source = items_food.txt
UnhappyChange = -15,
  | retrieved = true
DisplayName = Peanut Butter,
  | version = 41.78.16
Icon = PeanutButter,
  | code =
BoredomChange = -5,
item PeanutButter
EvolvedRecipe = Sandwich:7,
{
FoodType    = NoExplicit,
DisplayName = Peanut Butter,
        Carbohydrates = 128,
DisplayCategory = Food,
        Proteins = 84,
Type = Food,
        Lipids = 224,
Weight = 0.3,
        Calories = 2660,
Icon = PeanutButter,
        Packaged = TRUE,</pre>
EvolvedRecipe = Soup:5;Stir fry Griddle Pan:5;Stir fry:5;Sandwich:5;Sandwich Baguette:5;Toast:5;ConeIcecream:5,
FoodType = NoExplicit,
Packaged = TRUE,
HungerChange = -25,
UnhappyChange = -15,
Calories = 2660,
Carbohydrates = 128,
Lipids = 224,
Proteins = 84,
WorldStaticModel = PeanutButter,
}
}}
}}


==See also==
==See also==
* [[Honey]]
*[[Honey]]
* [[Peanut Butter Sandwich]]
*[[Peanut Butter Sandwich]]
 
{{Navbox items|food}}


{{Navbox_food}}
[[Category:Non-perishable food]]

Revision as of 10:53, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Peanut Butter
PeanutButter Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-25
CaloriesCalories
2660
CarbohydratesCarbohydrates
128
ProteinsProteins
84
FatFat
224
Effect
UnhappinessMoodle Icon Unhappy.png
-15
Technical
Item ID
Base.PeanutButter

Peanut butter is a non-perishable food item.

Usage

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

Crafting

Main article: Cooking

Evolved recipes

Peanut butter is a cooking ingredient.

Product Nutrition
Soup
Soup
5
Stir Fry
Stir Fry
5
Sandwich
Sandwich
5
Ice Cream Cone
Ice Cream Cone
5
Toast
Toast
5

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
generalstore crate 4 1
crate 4 2
kitchen counter 4 1

Peanut butter can be found in kitchen counters.

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.78.16
item PeanutButter
	{
		DisplayName = Peanut Butter,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = PeanutButter,
		EvolvedRecipe = Soup:5;Stir fry Griddle Pan:5;Stir fry:5;Sandwich:5;Sandwich Baguette:5;Toast:5;ConeIcecream:5,
		FoodType = NoExplicit,
		Packaged = TRUE,
		HungerChange = -25,
		UnhappyChange = -15,
		Calories = 2660,
		Carbohydrates = 128,
		Lipids = 224,
		Proteins = 84,
		WorldStaticModel = PeanutButter,
	}

See also