Peanut Butter Sandwich: Difference between revisions
m (template fix) |
(Update distribution file) |
||
(29 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Miscellaneous food}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Peanut Butter Sandwich | ||
| | |model=PeanutButterSandwich_Model.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=- | |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--> | ||
| | |item_id=Base.PeanutButterSandwich | ||
}}{{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 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. | |||
{{ | {{Consumables | ||
|image = Peanut Butter Sandwich.png | |image = Peanut Butter Sandwich.png | ||
|hunger = - | |hunger = -17 | ||
|unhappiness = -10 | |unhappiness = -10 | ||
|unrotten hunger = - | |unrotten hunger = -13 | ||
|unrotten boredom = +10 | |unrotten boredom = +10 | ||
|rotten hunger = - | |rotten hunger = -7 | ||
|rotten boredom = +20 | |rotten boredom = +20 | ||
|rotten unhappiness = +10 | |rotten unhappiness = +10 | ||
Line 40: | Line 43: | ||
==Distribution== | ==Distribution== | ||
Peanut butter | The loot distributions can be found in the table(s) below. | ||
<!--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 == | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 4634 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
Icon | | code = | ||
DaysFresh | item PeanutButterSandwich | ||
DaysTotallyRotten = 4, | { | ||
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 63: | Line 186: | ||
*[[Burger]] | *[[Burger]] | ||
{{Navbox | {{Navbox items|food}} | ||
[[Category:Perishable food]] |
Latest revision as of 13:29, 30 April 2024
- This 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 |
---|---|---|
|
|
|
Distribution
The loot distributions can be found in the table(s) below.
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
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}