Bagel: Difference between revisions
(Cleanups) |
(→Code: Codebox) |
||
Line 61: | Line 61: | ||
==Code== | ==Code== | ||
{{ | {{CodeBox| | ||
{{ | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 5688 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item BagelPlain | |||
{ | |||
DisplayName = Bagel, | |||
DisplayCategory = Food, | DisplayCategory = Food, | ||
Type = Food, | Type = Food, | ||
Line 72: | Line 78: | ||
Icon = BagelPlain, | Icon = BagelPlain, | ||
DaysFresh = 1, | DaysFresh = 1, | ||
DaysTotallyRotten = | DaysTotallyRotten = 6, | ||
HungerChange = -10, | HungerChange = -10, | ||
Calories = 177, | Calories = 177, | ||
Line 80: | Line 86: | ||
WorldStaticModel = Bagel_Ground, | WorldStaticModel = Bagel_Ground, | ||
Tags = FitsToaster, | Tags = FitsToaster, | ||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 03:39, 16 March 2024
A bagel is a perishable food item.
Usage
Consumable properties
Bagel 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 |
all | displaycasebakery | 4 | 1 |
Bagel can be found in bakery display counters.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item BagelPlain
{
DisplayName = Bagel,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = BagelPlain,
DaysFresh = 1,
DaysTotallyRotten = 6,
HungerChange = -10,
Calories = 177,
Carbohydrates = 33,
Lipids = 2.22,
Proteins = 5.9,
WorldStaticModel = Bagel_Ground,
Tags = FitsToaster,
}