Peanut Butter Sandwich: Difference between revisions
m (Updated code) |
m (Automated Formatting) |
||
(28 intermediate revisions by 8 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| | }} | ||
{{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. | ||
{| 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== | ||
{{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 114: | ||
*[[Burger]] | *[[Burger]] | ||
{{Navbox | {{Navbox items|food}} | ||
[[Category:Perishable food]] |
Revision as of 10:53, 14 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.
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
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,
}