Peanut Butter Sandwich: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(35 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}}
{{Consumables
{{Infobox item
|image = Peanut Butter Sandwich.png
|name=Peanut Butter Sandwich
|hunger = -40
|model=PeanutButterSandwich_Model.png
|unhappiness = -10
|image_size=200px
|weight = 0.4
|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
}}
}}
The Peanut Butter Sandwich is a perishable food item that goes bad as time passes. It can be found inside [[Containers|refrigerators]] or [[Containers|cupboards]] in houses and bake shops. Peanut Butter Sandwiches take two in-game days to go stale, and four in-game days to rot.
{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
'''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 24: 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>
Peanut butter sandwich can often found inside [[Containers#Displays|displays]] in restaurant, or in [[Bags|satchel]].
 
==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 ==
==Code==
<nowiki>item PeanutButterSandwich
{{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