Croissant: Difference between revisions
m (Updated distribution table) |
m (→Code: Codebox) |
||
Line 62: | Line 62: | ||
{{CodeBox| | {{CodeBox| | ||
{{CodeSnip | {{CodeSnip | ||
|lang=java | | lang = java | ||
|line=true | | line = true | ||
|start= | | start = 6057 | ||
|source= | | source = items_food.txt | ||
|retrieved=true | | retrieved = true | ||
|version=41. | | version = 41.78.16 | ||
|code= | | code = | ||
item Croissant | |||
{ | { | ||
DisplayName = Croissant, | DisplayName = Croissant, | ||
Line 85: | Line 86: | ||
WorldStaticModel = Croissant_Ground, | WorldStaticModel = Croissant_Ground, | ||
Tags = FitsToaster, | Tags = FitsToaster, | ||
} | } | ||
}} | }} | ||
}} | }} |
Revision as of 02:19, 25 March 2024
A Croissant is a perishable food item.
Usage
Consumable properties
Croissants 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 |
Croissants can often be found in kitchen counters, bakeries, motel room fridges and candy stores.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item Croissant
{
DisplayName = Croissant,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = Croissant,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -8,
UnhappyChange = -15,
Calories = 180,
Carbohydrates = 32,
Lipids = 15,
Proteins = 4,
WorldStaticModel = Croissant_Ground,
Tags = FitsToaster,
}