Peanut Butter Sandwich: Difference between revisions

From PZwiki
(Redesigned page, +Nav Bar, Reworked description, confirmed nutrition info, noted lack of nutrition values, confirmed info, + categories.)
m (Automated Formatting)
(34 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{languages}}
{{Page version|41.78.16}}
<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 -->
{{Infobox item
<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=Peanut Butter Sandwich
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[ Main_Page|Index]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[Peanut_Butter_Sandwich|Peanut Butter Sandwich]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=PeanutButterSandwich_Model.png
{{Consumables
|image_size=200px
|image = Peanut Butter Sandwich.png
|icon=Sandwich_peanut.png
|hunger = -40
|icon_name=Peanut Butter Sandwich
|unhappiness = -10
<!--GENERAL-->
|weight = 0.4
|category=Food
|weight=0.4
|days_fresh=2
|days_rotten=4
<!--NUTRITION-->
|hunger_change=-17
|calories=250
|lipids=25
|proteins=7
|carbohydrates=14
<!--EFFECT-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|item_id=Base.PeanutButterSandwich
}}
}}
Peanut Butter Sandwiches are a [[Food#Perishable|perishable]] food items that goes bad as time passes, when outside of a [[refrigerator]]. Peanut Butter Sandwiches used to be made by putting Peanut Butter and slices of bread together, but with the advent of the new cooking system, they can no longer be crafted in its original form. However the sandwiches can still spawn in the gameworld, for instance in the Bakery in Muldraugh. <br><br>
{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
Premade Peanut Butter Sandwiches take two in-game days to go stale, and four in-game days to rot.
'''Peanut butter sandwich''' is a perishable [[food]] [[Items|item]].


== Nutritional Information ==
==Usage==
{| border=0 align=left
===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.
{{Consumables2
{{Consumables
|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 28: Line 41:
|rotten image = Peanut Butter Sandwich.png
|rotten image = Peanut Butter Sandwich.png
}}
}}
==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
|-
|bandkitchen
|[[fridge]]
|4
|4
|-
|rowspan="2"|cafeteria
|[[displaycasebakery]]
|4
|1
|-
|[[displaycasebakery]]
|4
|2
|-
|camping
|[[fridge]]
|4
|1
|}
|}
<br><br><br><br><br><br><br><br><br><br><br>
Peanut butter sandwich can often found inside [[Containers#Displays|displays]] in restaurant, or in [[Bags|satchel]].
'''It's Nutritional Values are as follows:'''<br>
 
At this time, the Peanut Butter Sandwich has no nutritional benefit ingame, which could be a temporary oversight.
==Gallery==
<gallery>
PeanutButterSandwich Model.png|Peanut butter sandwich model [[File:Peanut Butter Sandwich.png]]
PeanutButterSandwichRotten Model.png|Rotten peanut butter sandwich model [[File:Peanut Butter Sandwich.png]]
</gallery>
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 4634
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}
}}


Carbohydrates = 0 <br>
==See also==
Proteins = 0 <br>
*[[Cheese Sandwich]]
Lipids = 0 <br>
*[[Burger]]
Calories = 0 <br><br>


== Code ==
{{Navbox items|food}}
<nowiki>
item PeanutButterSandwich
HungerChange = -40,
Weight = 0.4,
Type = Food,
UnhappyChange = -10,
DisplayName = Peanut Butter Sandwich,
Icon = Sandwich_peanut,
DaysFresh = 2,
DaysTotallyRotten = 4,
</nowiki>


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

Revision as of 10:53, 14 April 2024

Project ZomboidItemsFoodMiscellaneous foodPeanut Butter Sandwich
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 Sandwich
PeanutButterSandwich Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Properties
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-17
CaloriesCalories
250
CarbohydratesCarbohydrates
14
ProteinsProteins
7
FatFat
25
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
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.

Fresh Stale Rotten

Peanut Butter Sandwich.png
Hunger: -17

Unhappiness: -10

Peanut Butter Sandwich.png
Hunger: -13
Boredom: +10

Peanut Butter Sandwich.png
Hunger: -7
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Distribution

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

Containers
Building/Room Container Rolls Chance
bandkitchen fridge 4 4
cafeteria displaycasebakery 4 1
displaycasebakery 4 2
camping fridge 4 1

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

Gallery

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 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