Peanut Butter Sandwich: Difference between revisions

From PZwiki
m (Remove 120px, minor fixes)
m (Automated Formatting)
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
|display_name=Peanut Butter Sandwich
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Peanut Butter Sandwich
|image=Sandwich_peanut.png
|model=PeanutButterSandwich_Model.png
|image_size=200px
|icon=Sandwich_peanut.png
|icon_name=Peanut Butter Sandwich
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.4
|weight=0.4
|days_fresh=2
|days_fresh=2
|days_rotten=2
|days_rotten=4
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-17
|hunger_change=-17
Line 18: 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}}
}}
'''Peanut butter 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===
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 = -17
|hunger = -17
Line 40: Line 43:


==Distribution==
==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
|}
Peanut butter sandwich can often found inside [[Containers#Displays|displays]] in restaurant, or in [[Bags|satchel]].
Peanut butter sandwich can often found inside [[Containers#Displays|displays]] in restaurant, or in [[Bags|satchel]].


==Gallery==
==Gallery==
<gallery>
<gallery>
File:PeanutButterSandwich Model.png|Model for: [[File:Peanut Butter Sandwich.png]]
PeanutButterSandwich Model.png|Peanut butter sandwich model [[File:Peanut Butter Sandwich.png]]
File:PeanutButterSandwichRotten Model.png|Model for: [[File:Peanut Butter Sandwich.png]] (Rotten)
PeanutButterSandwichRotten Model.png|Rotten peanut butter sandwich model [[File:Peanut Butter Sandwich.png]]
</gallery>
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
item PeanutButterSandwich
  | line = true
  | start = 4634
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PeanutButterSandwich
{
{
DisplayName = Peanut Butter Sandwich,
DisplayName = Peanut Butter Sandwich,
Line 69: Line 107:
WorldStaticModel = PeanutButterSandwich,
WorldStaticModel = PeanutButterSandwich,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 75: Line 114:
*[[Burger]]
*[[Burger]]


{{Navbox food}}
{{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