Frosted Doughnut: Difference between revisions

From PZwiki
m (Cleanup)
m (Automated Formatting)
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Sweets}}
|display_name=Frosted Doughnut
{{Page version|41.65}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Frosted Doughnut
|image=DoughnutFrosted.png
|model=DoughnutFrosted_Model.png
|icon=DoughnutFrosted.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 16: Line 17:
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.DoughnutFrosted
|item_id=Base.DoughnutFrosted
}}A '''Frosted Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
}}
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 [[Moodles#Unhappy|unhappiness]].
Frosted doughnuts can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


==Distribution==
==Distribution==
Frosted Doughnuts can be found in bakery [[Containers#Displays|display counters]].
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]].


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>
  | lang = java
    item DoughnutFrosted
  | line = true
    {
  | start = 6116
        Type = Food,
  | source = items_food.txt
        DisplayName = Frosted Doughnut,
  | retrieved = true
        Icon = DoughnutFrosted,
  | version = 41.78.16
        Weight = 0.1,
  | code =
        HungerChange = -7,
item DoughnutFrosted
        UnhappyChange     =     -15,
{
        Carbohydrates = 35,
DisplayName = Frosted Doughnut,
        Proteins = 3,
DisplayCategory = Food,
        Lipids = 15,
Type = Food,
        Calories = 180,
Weight = 0.1,
        WorldStaticModel = Doughnut_Frosted_Ground,
Icon = DoughnutFrosted,
</pre>
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -7,
UnhappyChange = -15,
Calories = 180,
Carbohydrates = 35,
Lipids = 15,
Proteins = 3,
WorldStaticModel = Doughnut_Frosted_Ground,
Tags = FitsToaster,
}
}}
}}


==See also==
==See also==
Line 49: Line 82:
*[[Jelly Doughnut]]
*[[Jelly Doughnut]]


{{Navbox food}}
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable food]]

Revision as of 08:41, 14 April 2024

Project ZomboidItemsFoodSweetsFrosted Doughnut
Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Frosted Doughnut
DoughnutFrosted Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-7
CaloriesCalories
180
CarbohydratesCarbohydrates
35
ProteinsProteins
3
FatFat
15
Effect
UnhappinessMoodle Icon Unhappy.png
-15
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 icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
	}

See also