Peanut Butter Sandwich: Difference between revisions

From PZwiki
m (about)
m (Automated Formatting)
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Peanut Butter Sandwich}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Peanut Butter Sandwich
{{Infobox item
|name_colour=Food
|name=Peanut Butter Sandwich
|name_text_colour=Food
|model=PeanutButterSandwich_Model.png
|image=Sandwich_peanut_120px.png
|image_size=200px
|icon=Sandwich_peanut.png
|icon_name=Peanut Butter Sandwich
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 11: Line 13:
|days_rotten=4
|days_rotten=4
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-40
|hunger_change=-17
|calories=250
|calories=250
|lipids=25
|lipids=25
Line 19: Line 21:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.PeanutButterSandwich
|item_id=Base.PeanutButterSandwich
}}{{About|sandwiches that spawn naturally|sandwiches made by the player|[[Recipe Ingredients#Sandwich & Burger Ingredients|Sandwich & Burger Ingredients]]}}
}}
A '''cheese sandwich''' is a [[Food#Perishable|perishable]] food [[item]].  
{{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==
==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
{{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 40: Line 43:


==Distribution==
==Distribution==
Peanut butter sandwiches can be found in bakery [[Containers#Displays|display cases]].  
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
|}
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==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=7}}
| {{CodeSnip
<pre> item PeanutButterSandwich
  | lang = java
HungerChange = -40,
  | line = true
Weight = 0.4,
  | start = 4634
Type = Food,
  | source = items_food.txt
UnhappyChange = -10,
  | retrieved = true
DisplayName = Peanut Butter Sandwich,
  | version = 41.78.16
Icon = Sandwich_peanut,
  | code =
DaysFresh = 2,
item PeanutButterSandwich
DaysTotallyRotten = 4,</pre>
{
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==
==See also==
Line 59: Line 114:
*[[Burger]]
*[[Burger]]


{{Navbox/Consumables}}
{{Navbox items|food}}
 
[[Category:Perishable food]]

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