Doughnut: Difference between revisions

From PZwiki
m (Automated capitalisation)
m (Distribution table update)
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{Page version|41.78.16}}
{{Page version|41.73}}
{{Infobox item
{{Infobox item
|name=Doughnut
|name=Doughnut
|model=Doughnut Model.png
|model=Doughnut_Model.png
|icon=DoughnutPlain.png
|icon=DoughnutPlain.png
|icon_name=Doughnut
|icon_name=Doughnut
|icon2=
|icon_name2=


|icon3=
|icon_name3=


|icon4=
|icon_name4=


<!--GENERAL-->
<!--GENERAL-->
Line 32: Line 25:
|item_id=DoughnutPlain
|item_id=DoughnutPlain
}}
}}
'''Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
'''Doughnut''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
Doughnut can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
Doughnut can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].
{{Consumables
{{Consumables
|image = Doughnut Anim.gif
|image = Doughnut Anim.gif
Line 51: Line 44:
}}
}}


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
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;"
<!--BOT FLAG|DoughnutPlain|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>DoughnutPlain distribution
!Container
        <span class="mw-customtoggle-togglebox-DoughnutPlain" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-DoughnutPlain">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="2"|bakery  
    |+ {{ll|Containers}}
| [[displaycase]]
    ! Building / Room
| 4  
    ! Container
| 1
    ! Rolls
|-
    ! Chance
|[[displaycase]]
    |-
|4
    | all
|2
    | {{ll|Lunchbag}}
|}
    | 1
    | 10.0
    |-
    | bakery
    | {{ll|displaycase}}
    | 4
    | 20.0
    |-
    | bakery
    | {{ll|displaycase}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-DoughnutPlain" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|DoughnutPlain|41.78.16-->
Doughnut can be found in bakery [[Containers#Displays|display counters]].
Doughnut can be found in bakery [[Containers#Displays|display counters]].


Line 78: Line 86:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =  
   | start = 6154
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.73
   | version = 41.78.16
   | code =
   | code =
item DoughnutPlain
item DoughnutPlain
{
{
    DisplayName           = Doughnut,
DisplayName = Doughnut,
    DisplayCategory       = Food,
DisplayCategory = Food,
    Type                 = Food,
Type = Food,
    Weight               = 0.1,
Weight = 0.1,
    Icon                 = DoughnutPlain,
Icon = DoughnutPlain,
    DaysFresh             = 3,
DaysFresh = 3,
    DaysTotallyRotten     = 5,
DaysTotallyRotten = 5,
    HungerChange         = -7,
HungerChange = -7,
    UnhappyChange         = -15,
UnhappyChange = -15,
    Calories             = 180,
Calories = 180,
    Carbohydrates         = 35,
Carbohydrates = 35,
    Lipids               = 15,
Lipids = 15,
    Proteins             = 3,
Proteins = 3,
    WorldStaticModel     = Doughnut_Ground,
WorldStaticModel = Doughnut_Ground,
    Tags                 = FitsToaster,
Tags = FitsToaster,
}
}
  }}
}}
}}
}}


Line 110: Line 118:
*[[Jelly Doughnut]]
*[[Jelly Doughnut]]


{{Navbox food}}
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Perishable food]]
[[Category:Perishable food]]

Revision as of 15:23, 24 April 2024

Project ZomboidItemsFoodSweetsDoughnut
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Doughnut
Doughnut Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Days fresh
3 days
Days until rotten
2 days
Nutrition
HungerMoodle Icon Hungry.png
-7
CaloriesCalories
180
CarbohydratesCarbohydrates
35
ProteinsProteins
3
FatFat
15
Effect
UnhappinessMoodle Icon Unhappy.png
-15
Technical
Item ID
DoughnutPlain

Doughnut is a non-perishable food item.

Usage

Consumable properties

Doughnut can be eaten, providing the player with some positive effects, including reducing unhappiness.

Fresh Stale Rotten

Doughnut Anim.gif
Hunger: -7

Unhappiness: -15

Doughnut Anim.gif
Hunger: -5
Boredom: +10
Unhappiness: -5

Doughnut Anim.gif
Hunger: -3
Boredom: +20
Unhappiness: +5
Dangerous, will cause sickness.

Distribution

The loot distributions can be found in the table(s) below.

DoughnutPlain distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Lunchbag 1 10.0
bakery displaycase 4 20.0
bakery displaycase 4 10.0

Doughnut 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 DoughnutPlain
	{
		DisplayName = Doughnut,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = DoughnutPlain,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -7,
		UnhappyChange = -15,
		Calories = 180,
		Carbohydrates = 35,
		Lipids = 15,
		Proteins = 3,
		WorldStaticModel = Doughnut_Ground,
		Tags = FitsToaster,
	}

See also