Peanut Butter: Difference between revisions

From PZwiki
m (→‎Usage: Grammar)
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{languages|Peanut Butter}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Peanut Butter
|display_name=Peanut Butter
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=PeanutButter_120px.png
|image=PeanutButter_Model.png
|image_width=250px
|alternate_image=PeanutButter.png
|alternate_name=Peanut Butter
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 17: Line 21:
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-15
|unhappy_change=-15
|boredom_change=-5
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.PeanutButter
|class_name=Base.PeanutButter
Line 37: Line 40:


== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
{{Retrieved|version=41|incver=68}}
<pre> item PeanutButter
<pre> item PeanutButter
HungerChange = -25,
HungerChange = -25,
Line 57: Line 60:
==See also==
==See also==
* [[Honey]]
* [[Honey]]
* [[Peanut Butter Sandwich]]


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 05:44, 14 March 2022

Peanut Butter
Peanut Butter
Peanut Butter
General
Category Food
Encumbrance
Heavy Load
0.3
Packaged True
Nutrition
Hunger
Hunger
-25
Calories
Calories
2660
Carbohydrates
Carbohydrates
128
Proteins
Proteins
84
Fat
Fat
224
Effect
Unhappiness
Unhappiness
-15
Technical details
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; however it is more effective when used in making a sandwich. As it is non-perishable, peanut butter will never go stale or rotten.

Trapping

Main article: Trapping

Oranges can be used as bait in traps to capture mice, rats, and squirrels.

Crafting

Evolved recipes

Peanut butter is a cooking ingredient.

Product Nutrition
Sandwich
Sandwich
7

Distribution

Peanut butter can be found in kitchen counters.

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

	item PeanutButter
		HungerChange	= -25,
		Weight		= 0.3,
		Type		= Food,
		UnhappyChange	= -15,
		DisplayName	= Peanut Butter,
		Icon		= PeanutButter,
		BoredomChange	= -5,
		EvolvedRecipe 	= Sandwich:7,
		FoodType    	= NoExplicit,
        	Carbohydrates 	= 128,
        	Proteins 	= 84,
        	Lipids 		= 224,
        	Calories 	= 2660,
        	Packaged 	= TRUE,

See also