Doughnut: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Doughnut}}
{{Header|Project Zomboid|Items|Food|Sweets}}
<!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise -->
{{Page version|41.78.16}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}<!--
{{Infobox item
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_food. Image.png is the default question mark image-->
|name=Doughnut
{{Infobox food
|model=Doughnut_Model.png
|display_name=Doughnut
|icon=DoughnutPlain.png
|name_colour=Food
|icon_name=Doughnut
|name_text_colour=Food
 
|image=DoughnutPlain 120px.png
 
|alternate_image=DoughnutChocolate.png
 
|alternate_name=Chocolate Doughnut
|alternate_link=
|alternate_image2=DoughnutFrosted.png
|alternate_name2=Frosted Doughnut
|alternate_link2=
|alternate_image3=DoughnutJelly.png
|alternate_name3=Jelly Doughnut
|alternate_link3=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 31: Line 23:
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=''See [[#Item IDs|Item IDs]]''
|item_id=DoughnutPlain
}}<!--COMMENT: General introductory for the item-->
}}
'''Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]] which can come in 4 different variations.
'''Doughnut''' is a non-perishable [[food]] [[Items|item]].


<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
==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]].
{{Consumables2
{{Consumables
|image = Doughnut Anim.gif
|image = Doughnut Anim.gif
|hunger = -7
|hunger = -7
|unhappiness = -15
|perishable = 1
|perishable = 1
|unrotten hunger = -5
|unrotten hunger = -5
Line 52: Line 44:
}}
}}


== Distribution ==
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|DoughnutPlain|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>DoughnutPlain distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-DoughnutPlain">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{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]].


==Gallery==
==Code==
<gallery>
{{CodeBox
File:Doughnut Model.png|Doughnut model when placed in the world.
| {{CodeSnip
File:DoughnutJelly Model.png|Jelly doughnut model when placed in the world.
  | lang = java
</gallery>
  | line = true
 
  | start = 6154
==Item IDs==
  | source = items_food.txt
{| class="pztable" style="width:30%; text-align:center;"
  | retrieved = true
! style="width:25%" | Name
  | version = 41.78.16
! style="width:25%" | Icon
  | code =
! style="width:50%" | Base ID
item DoughnutPlain
|-
{
| Doughnut
| [[File:DoughnutPlain.png]]
| {{ID|Base.DoughnutPlain}}
|-
| Chocolate Doughnut
| [[File:DoughnutChocolate.png]]
| {{ID|Base.DoughnutChocolate}}
|-
| Frosted Doughnut
| [[File:DoughnutFrosted.png]]
| {{ID|Base.DoughnutFrosted3}}
|-
| Jelly Doughnut
| [[File:DoughnutJelly.png]]
| {{ID|Base.DoughnutJelly}}
|}
 
<div class="mw-collapsible mw-collapsed">
== Code ==
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
Doughnut [[File:DoughnutPlain.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item DoughnutPlain
    {
DisplayName = Doughnut,
DisplayName = Doughnut,
DisplayCategory = Food,
DisplayCategory = Food,
Line 106: Line 109:
WorldStaticModel = Doughnut_Ground,
WorldStaticModel = Doughnut_Ground,
Tags = FitsToaster,
Tags = FitsToaster,
WorldStaticModel = Cookie,
}
Tags = FitsToaster,
}}
    }</pre>
}}
Chocolate Doughnut [[File:DoughnutChocolate.png|32px]]
 
{{Retrieved|version=41|incver=73}}
==See also==
<pre>    item DoughnutsChocolate
*[[Chocolate Doughnut]]
    {
*[[Frosted Doughnut]]
DisplayName = Chocolate Doughnut,
*[[Jelly Doughnut]]
DisplayCategory = Food,
 
Type = Food,
{{Navbox items|miscellaneous_food}}
Weight = 0.1,
 
Icon = DoughnutChocolate,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -7,
UnhappyChange = -15,
Calories = 180,
Carbohydrates = 35,
Lipids = 15,
Proteins = 3,
WorldStaticModel = Doughnut_Chocolate_Ground,
Tags = FitsToaster,
    }</pre>
Frosted Doughnut [[File:DoughnutFrosted.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    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,
    }</pre>
Jelly Doughnut [[File:DoughnutJelly.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item Doughnut Jelly
    {
DisplayName = Jelly Doughnut,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = DoughnutJelly,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -7,
UnhappyChange = -15,
Calories = 180,
Carbohydrates = 35,
Lipids = 15,
Proteins = 3,
WorldStaticModel = Doughnut_Jelly_Ground,
Tags = FitsToaster,
    }</pre>
</div>


{{Navbox 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