Peanut Butter Sandwich: Difference between revisions

From PZwiki
(Update of NavBar.)
(Update distribution file)
 
(36 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{languages}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Peanut Butter Sandwich
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=PeanutButterSandwich_Model.png
{{Consumables
|image_size=200px
|image = Peanut Butter Sandwich.png
|icon=Sandwich_peanut.png
|hunger = -40
|icon_name=Peanut Butter Sandwich
|unhappiness = -10
<!--GENERAL-->
|weight = 0.4
|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
}}
}}
Peanut Butter Sandwiches are a [[Food#Perishable|perishable]] food items that goes bad as time passes, when outside of a [[refrigerator]]. Peanut Butter Sandwiches used to be made by putting Peanut Butter and slices of bread together, but with the advent of the new cooking system, they can no longer be crafted in its original form. However the sandwiches can still spawn in the gameworld, for instance in the Bakery in Muldraugh. <br><br>
{{About|sandwiches that spawn naturally|sandwiches made by the player|Recipe Ingredients#Sandwich & Burger Ingredients}}
Premade Peanut Butter Sandwiches take two in-game days to go stale, and four in-game days to rot.
'''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 28: Line 41:
|rotten image = Peanut Butter Sandwich.png
|rotten image = Peanut Butter Sandwich.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''It's Nutritional Values are as follows:'''<br>
At this time, the Peanut Butter Sandwich has no nutritional benefit ingame, which could be a temporary oversight.


Carbohydrates = 0 <br>
==Distribution==
Proteins = 0 <br>
The loot distributions can be found in the table(s) below.
Lipids = 0 <br>
 
Calories = 0 <br><br>
<!--BOT FLAG|PeanutButterSandwich|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>PeanutButterSandwich distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PeanutButterSandwich">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_Satchel
    | {{ll|Bag_Satchel}}
    | 12.41%
    |-
    | Bag_WorkerBag
    | {{ll|Bag_WorkerBag}}
    | 6.41%
    |-
    | Lunchbag
    | {{ll|Lunchbag}}
    | 12.41%
    |-
    | Lunchbox
    | {{ll|Lunchbox}}
    | 12.41%
    |-
    | Lunchbox2
    | {{ll|Lunchbox2}}
    | 12.41%
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 10.78%
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | camping
    | {{ll|fridge}}
    | 23.28%
    |-
    | conveniencestore
    | {{ll|fridge}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | fossoil
    | {{ll|fridge}}
    | 23.28%
    |-
    | gasstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | gigamart
    | {{ll|fridge}}
    | 23.28%
    |-
    | grocery
    | {{ll|fridge}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|fridge}}
    | 23.28%
    |-
    | zippeestore
    | {{ll|fridge}}
    | 23.28%
    |}
</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]].
 
==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==
{{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,
}
}}
}}
 
==See also==
*[[Cheese Sandwich]]
*[[Burger]]


== Code ==
{{Navbox items|food}}
<nowiki>
item PeanutButterSandwich
HungerChange = -40,
Weight = 0.4,
Type = Food,
UnhappyChange = -10,
DisplayName = Peanut Butter Sandwich,
Icon = Sandwich_peanut,
DaysFresh = 2,
DaysTotallyRotten = 4,
</nowiki>


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable_Food]]
[[Category:Version 34.28]]

Latest revision as of 13:29, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_Satchel Bag_Satchel 12.41%
Bag_WorkerBag Bag_WorkerBag 6.41%
Lunchbag Lunchbag 12.41%
Lunchbox Lunchbox 12.41%
Lunchbox2 Lunchbox2 12.41%
bandkitchen fridge 10.78%
cafeteria displaycasebakery 23.28%
cafeteria displaycasebakery 41.14%
camping fridge 23.28%
conveniencestore fridge 23.28%
cornerstore fridge 23.28%
fossoil fridge 23.28%
gasstore fridge 23.28%
generalstore fridge 23.28%
generalstorestorage fridge 23.28%
gigamart fridge 23.28%
grocery fridge 23.28%
grocerystorage fridge 23.28%
pharmacy fridge 23.28%
zippeestore fridge 23.28%

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