Peanut Butter Sandwich: Difference between revisions
m (Automatic formatting) |
m (Automated CodeBox update) |
||
Line 85: | Line 85: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 4634 | |||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item PeanutButterSandwich | 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, | |||
} | } | ||
}} | |||
}} | }} | ||
Revision as of 01:44, 25 March 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,
}