Peanut Butter Sandwich: Difference between revisions

From PZwiki
(Corrected Categories: was incorrectly non-perishable, +TOC, +updated info information, added nutritional table, removed effects, corrected summary, added to articles to improve category)
m (Automated Formatting)
(36 intermediate revisions by 11 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{languages}}
{{Page version|41.78.16}}
{{Infobox item
|name=Peanut Butter Sandwich
|model=PeanutButterSandwich_Model.png
|image_size=200px
|icon=Sandwich_peanut.png
|icon_name=Peanut Butter Sandwich
<!--GENERAL-->
|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
}}
{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
'''Peanut butter sandwich''' is a perishable [[food]] [[Items|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.
{{Consumables
{{Consumables
|image = Peanut Butter Sandwich.png
|image = Peanut Butter Sandwich.png
|hunger = -40
|hunger = -17
|unhappiness = -10
|weight = 0.4
}}{{notice|verify}}
A perishable food item that goes bad as time passes. Peanut Butter Sandwiches is a food item that is randomly found inside of houses and restaurants (*). They take two in-game days to go stale, and four in-game days to rot.
 
(*) Restaurant needs reconfirming.
 
== Nutritional Information ==
{| border=0 align=left
|
{{Consumables2
|image = Peanut Butter Sandwich.png
|hunger = -40
|unhappiness = -10
|unhappiness = -10
|thirst = 0
|unrotten hunger = -13
|unrotten hunger = 0
|unrotten boredom = +10
|unrotten boredom = +0
|rotten hunger = -7
|unrotten unhappiness = +0
|rotten boredom = +20
|unrotten thirst = 0
|rotten unhappiness = +10
|unrotten image = Peanut Butter Sandwich.png
|rotten hunger = -0
|rotten boredom = +0
|rotten unhappiness = +0
|rotten thirst = 0
|perishable = 1
|perishable = 1
|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>
Peanut butter sandwich can often found inside [[Containers#Displays|displays]] in restaurant, or in [[Bags|satchel]].


== Code ==
==Gallery==
<nowiki>item PeanutButterSandwich
<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,
}
}}
}}


HungerChange = -40,
==See also==
Weight = 0.4,
*[[Cheese Sandwich]]
Type = Food,
*[[Burger]]
UnhappyChange = -10,
DisplayName = Peanut Butter Sandwich,
Icon = Sandwich_peanut,
DaysFresh = 2,
DaysTotallyRotten = 4,


</nowiki>
{{Navbox items|food}}


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable Food]]
[[Category:Version 32.20]]
[[Category:Articles in need of improvement]]

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