Peanut Butter Sandwich: Difference between revisions

From PZwiki
m (Automated header update.)
m (Distribution table update)
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Page version|41.73}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Peanut Butter Sandwich
|name=Peanut Butter Sandwich
|model=PeanutButterSandwich Model.png
|model=PeanutButterSandwich_Model.png
|image_size=200px
|image_size=200px
|icon=Sandwich_peanut.png
|icon=Sandwich_peanut.png
Line 24: Line 24:
}}
}}
{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
{{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]].
'''Peanut butter sandwich''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 42: Line 42:
}}
}}


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
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;"
<!--BOT FLAG|PeanutButterSandwich|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>PeanutButterSandwich distribution
!Container
        <span class="mw-customtoggle-togglebox-PeanutButterSandwich" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PeanutButterSandwich">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| bandkitchen
    |+ {{ll|Containers}}
| [[fridge]]
    ! Building / Room
| 4
    ! Container
| 4
    ! Rolls
|-
    ! Chance
| rowspan="2"|cafeteria
    |-
| [[displaycasebakery]]
    | all
| 4
    | {{ll|Bag_WorkerBag}}
| 1
    | 1
|-
    | 10.0
|[[displaycasebakery]]
    |-
|4
    | all
|2
    | {{ll|Lunchbag}}
|-
    | 1
| camping
    | 20.0
| [[fridge]]
    |-
| 4
    | bandkitchen
| 1
    | {{ll|fridge}}
|}
    | 4
    | 4.0
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 4
    | 10.0
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 4
    | 20.0
    |-
    | camping
    | {{ll|fridge}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-PeanutButterSandwich" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|PeanutButterSandwich|41.78.16-->
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]].


Line 85: Line 105:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 4634
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.73
   | version = 41.78.16
   | code =
   | code =
item PeanutButterSandwich
item PeanutButterSandwich
{
{
    DisplayName             = Peanut Butter Sandwich,
DisplayName = Peanut Butter Sandwich,
    DisplayCategory         = Food,
DisplayCategory = Food,
    Type                   = Food,
Type = Food,
    Weight                 = 0.4,
Weight = 0.4,
    Icon                   = Sandwich_peanut,
Icon = Sandwich_peanut,
    DaysFresh               = 2,
DaysFresh = 2,
    DaysTotallyRotten       = 4,
DaysTotallyRotten = 4,
    HungerChange           = -17,
HungerChange = -17,
    UnhappyChange           = -10,
UnhappyChange = -10,
    Calories               = 250,
Calories = 250,
    Carbohydrates           = 14,
Carbohydrates = 14,
    Lipids                 = 25,
Lipids = 25,
    Proteins               = 7,
Proteins = 7,
    WorldStaticModel       = PeanutButterSandwich,
WorldStaticModel = PeanutButterSandwich,
}
}
  }}
}}
}}
}}


Line 114: Line 135:
*[[Burger]]
*[[Burger]]


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

Revision as of 16:15, 24 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.

PeanutButterSandwich distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Bag_WorkerBag 1 10.0
all Lunchbag 1 20.0
bandkitchen fridge 4 4.0
cafeteria displaycasebakery 4 10.0
cafeteria displaycasebakery 4 20.0
camping fridge 4 10.0

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