Peanut Butter Sandwich: Difference between revisions

From PZwiki
m (template fix)
mNo edit summary
Line 1: Line 1:
{{languages}}
{{languages|Peanut Butter Sandwich}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=50}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Peanut Butter Sandwich
|display_name=Peanut Butter Sandwich
|name_colour=Food
|name_colour=Food
Line 9: Line 9:
|weight=0.4
|weight=0.4
|days_fresh=2
|days_fresh=2
|days_rotten=4
|days_rotten=2
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-40
|hunger_change=-17
|calories=250
|calories=250
|lipids=25
|lipids=25
Line 21: Line 21:
|class_name=Base.PeanutButterSandwich
|class_name=Base.PeanutButterSandwich
}}{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
}}{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
A '''peanut butter sandwich''' is a [[Food#Perishable|perishable]] food [[item]].  
'''Peanut butter sandwich''' is a [[Food#Perishable|perishable]] food [[item]].  


==Usage==
==Usage==
=== Consumable properties ===
=== Consumable properties ===
A peanut butter sandwich can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Peanut butter sandwich can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables2
|image = Peanut Butter Sandwich.png
|image = Peanut Butter Sandwich.png
|hunger = -40
|hunger = -17
|unhappiness = -10
|unhappiness = -10
|unrotten hunger = -30
|unrotten hunger = -13
|unrotten boredom = +10
|unrotten boredom = +10
|rotten hunger = -18
|rotten hunger = -7
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +10
|rotten unhappiness = +10
Line 40: Line 40:


==Distribution==
==Distribution==
Peanut butter sandwiches can be found in bakery [[Containers#Displays|display cases]].  
Peanut butter sandwich can often found inside [[Containers#Displays|displays]] in restaurant, or in [[Bags|satchel]].
 
==Gallery==
<gallery>
File:PeanutButterSandwich Model.png|Model for: [[File:Peanut Butter Sandwich.png]]
File:PeanutButterSandwichRotten Model.png|Model for: [[File:Peanut Butter Sandwich.png]] (Rotten)
</gallery>


== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=50}}
{{Retrieved|version=41|incver=73}}
<pre> item PeanutButterSandwich
<pre> item PeanutButterSandwich
HungerChange = -40,
{
Weight = 0.4,
DisplayName = Peanut Butter Sandwich,
Type = Food,
DisplayCategory = Food,
UnhappyChange = -10,
Type = Food,
DisplayName = Peanut Butter Sandwich,
Weight = 0.4,
Icon = Sandwich_peanut,
Icon = Sandwich_peanut,
DaysFresh = 2,
DaysFresh = 2,
DaysTotallyRotten = 4,
DaysTotallyRotten = 4,
                Carbohydrates           = 14,
HungerChange = -17,
                Proteins               = 7,
UnhappyChange = -10,
                Lipids                  = 25,
Calories = 250,
                Calories                = 250,</pre>
Carbohydrates = 14,
Lipids = 25,
Proteins = 7,
WorldStaticModel = PeanutButterSandwich,
}
</pre>


==See also==
==See also==
Line 63: Line 74:
*[[Burger]]
*[[Burger]]


{{Navbox/Consumables}}
{{Navbox food}}

Revision as of 11:53, 6 October 2022

Project ZomboidItemsFoodPerishable FoodPeanut Butter Sandwich
Peanut Butter Sandwich
Peanut Butter Sandwich
General
Category Food
Encumbrance
Heavy Load
0.4
Days until stale 2 days
Days until rotten 2 days
Nutrition
Hunger
Hunger
-17
Calories
Calories
250
Carbohydrates
Carbohydrates
14
Proteins
Proteins
7
Fat
Fat
25
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.PeanutButterSandwich
PlushSpiffo.pngThis article is about sandwiches that spawn naturally. For sandwiches made by the player, see Recipe ingredients.

Peanut butter sandwich is a perishable food item.

Usage

Consumable properties

Peanut butter sandwich can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. Template:Consumables2

Distribution

Peanut butter sandwich can often found inside displays in restaurant, or in satchel.

Gallery

Code

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

	item PeanutButterSandwich
	{
		DisplayName = Peanut Butter Sandwich,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.4,
		Icon = Sandwich_peanut,
		DaysFresh = 2,
		DaysTotallyRotten = 4,
		HungerChange = -17,
		UnhappyChange = -10,
		Calories = 250,
		Carbohydrates = 14,
		Lipids = 25,
		Proteins = 7,
		WorldStaticModel = PeanutButterSandwich,
	}

See also