Frosted Doughnut: Difference between revisions
(→Code: CodeBox update) |
m (Automated Formatting) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.65}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Frosted Doughnut | |name=Frosted Doughnut | ||
|model= | |model=DoughnutFrosted_Model.png | ||
|icon=DoughnutFrosted.png | |icon=DoughnutFrosted.png | ||
<!--GENERAL--> | <!--GENERAL--> | ||
Line 20: | Line 19: | ||
|item_id=Base.DoughnutFrosted | |item_id=Base.DoughnutFrosted | ||
}} | }} | ||
A '''frosted doughnut''' is a | A '''frosted doughnut''' is a non-perishable [[food]] [[Items|item]]. | ||
==Usage== | ==Usage== | ||
Frosted doughnuts can be eaten, providing the player with some positive effects, including reducing [[ | Frosted doughnuts can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]]. | ||
==Distribution== | ==Distribution== | ||
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 | |||
|- | |||
|rowspan="2"|bakery | |||
|[[displaycase]] | |||
|4 | |||
|1 | |||
|- | |||
|[[displaycase]] | |||
|4 | |||
|2 | |||
|} | |||
Frosted doughnuts can be found in bakery [[Containers#Displays|display counters]]. | Frosted doughnuts can be found in bakery [[Containers#Displays|display counters]]. | ||
Line 32: | Line 50: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| source = | | start = 6116 | ||
| source = items_food.txt | |||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item DoughnutFrosted | item DoughnutFrosted | ||
{ | { | ||
DisplayName = Frosted Doughnut, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.1, | |||
Icon = DoughnutFrosted, | |||
DaysFresh = 3, | |||
DaysTotallyRotten = 5, | |||
HungerChange = -7, | |||
UnhappyChange = -15, | |||
Calories = 180, | |||
Carbohydrates = 35, | |||
} | Lipids = 15, | ||
Proteins = 3, | |||
WorldStaticModel = Doughnut_Frosted_Ground, | |||
Tags = FitsToaster, | |||
} | |||
}} | |||
}} | }} | ||
Line 60: | Line 82: | ||
*[[Jelly Doughnut]] | *[[Jelly Doughnut]] | ||
{{Navbox | {{Navbox items|miscellaneous_food}} | ||
[[Category:Non-perishable food]] | [[Category:Non-perishable food]] |
Revision as of 08:41, 14 April 2024
Frosted Doughnut
Technical
Item ID
Base.DoughnutFrosted
A frosted doughnut is a non-perishable food item.
Usage
Frosted doughnuts can be eaten, providing the player with some positive effects, including reducing unhappiness.
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
bakery | displaycase | 4 | 1 |
displaycase | 4 | 2 |
Frosted doughnuts can be found in bakery display counters.
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_food.txt
item DoughnutFrosted
{
DisplayName = Frosted Doughnut,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = DoughnutFrosted,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -7,
UnhappyChange = -15,
Calories = 180,
Carbohydrates = 35,
Lipids = 15,
Proteins = 3,
WorldStaticModel = Doughnut_Frosted_Ground,
Tags = FitsToaster,
}