Peanut Butter Sandwich: Difference between revisions

From PZwiki
mNo edit summary
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Peanut Butter Sandwich}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
|display_name=Peanut Butter Sandwich
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name_colour=Food
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name_text_colour=Food
{{Consumables
|image=Sandwich_peanut_120px.png
|image = Peanut Butter Sandwich.png
<!--GENERAL-->
|hunger = -40
|category=Food
|unhappiness = -10
|weight=0.4
|weight = 0.4
|days_fresh=2
}}
|days_rotten=4
A '''peanut butter sandwich''' is a [[Food#Perishable|perishable]] food item which is often found in bakery display cases.<br> Peanut butter sandwiches take two in-game days to go stale, and four in-game days to rot.
<!--NUTRITION-->
|hunger_change=-40
|calories=250
|lipids=25
|proteins=7
|carbohydrates=14
<!--EFFECT-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|class_name=Base.PeanutButterSandwich
}}A '''cheese sandwich''' is a [[Food#Perishable|perishable]] food [[item]].  


In earlier versions of Project Zomboid, a peanut butter sandwich could have been created using bread and peanut butter. This recipe has since been removed due to the introduction of the cooking system.
==Usage==
== Nutritional information ==
=== Consumable properties ===
{| border=0 align=left
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.
|
{{Consumables2
{{Consumables2
|image = Peanut Butter Sandwich.png
|image = Peanut Butter Sandwich.png
Line 28: Line 37:
|rotten image = Peanut Butter Sandwich.png
|rotten image = Peanut Butter Sandwich.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''Its nutritional values are as follows:'''<br>
At this time, a peanut butter sandwich has no nutritional benefit ingame, which could be a temporary oversight.


Carbohydrates = 0 <br>
==Distribution==
Proteins = 0 <br>
Peanut butter sandwiches can be found in bakery [[Containers#Displays|display cases]].
Lipids = 0 <br>
Calories = 0 <br><br>


== Code ==
== Code ==
<nowiki>
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
item PeanutButterSandwich
{{Retrieved|version=40|incver=7}}
HungerChange = -40,
<pre> item PeanutButterSandwich
Weight = 0.4,
HungerChange = -40,
Type = Food,
Weight = 0.4,
UnhappyChange = -10,
Type = Food,
DisplayName = Peanut Butter Sandwich,
UnhappyChange = -10,
Icon = Sandwich_peanut,
DisplayName = Peanut Butter Sandwich,
DaysFresh = 2,
Icon = Sandwich_peanut,
DaysTotallyRotten = 4,
DaysFresh = 2,
</nowiki>
DaysTotallyRotten = 4,</pre>
 
==See also==
*[[Cheese Sandwich]]
*[[Burger]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 14:50, 21 August 2018

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 4 days
Nutrition
Hunger
Hunger
-40
Calories
Calories
250
Carbohydrates
Carbohydrates
14
Proteins
Proteins
7
Fat
Fat
25
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.PeanutButterSandwich

A cheese sandwich is a perishable food item.

Usage

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. Template:Consumables2

Distribution

Peanut butter sandwiches can be found in bakery display cases.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.7

	item PeanutButterSandwich
		HungerChange		= -40,
		Weight			= 0.4,
		Type			= Food,
		UnhappyChange		= -10,
		DisplayName		= Peanut Butter Sandwich,
		Icon			= Sandwich_peanut,
		DaysFresh		= 2,
		DaysTotallyRotten	= 4,

See also

Template:Navbox/Consumables