Doughnut: Difference between revisions

From PZwiki
No edit summary
(Updated Doughnut)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{languages|Doughnut}}
<!--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 -->
<!--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 -->
{{header|The Game World|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}<!--
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}<!--
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-->
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-->
{{Infobox food
{{Infobox food
Line 7: Line 7:
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=DoughnutPlain.png
|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 22: Line 31:
|class_name=Base.DoughnutPlain
|class_name=Base.DoughnutPlain
}}<!--COMMENT: General introductory for the item-->
}}<!--COMMENT: General introductory for the item-->
A '''Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
'''Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]] which can come in 4 different variations.


<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
__TOC__
== Usage ==
== Usage ==
Doughnuts can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
===Consumable properties===
Doughnut can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
{{Consumables2
|image = Doughnut Anim.gif
|hunger = -7
|perishable = 1
|unrotten hunger = -5
|unrotten unhappiness = -5
|unrotten boredom = +10
|rotten hunger = -3
|rotten unhappiness = +5
|rotten boredom = +20
|rotten image = Doughnut Anim.gif
}}


== Distribution ==
== Distribution ==
Doughnuts can be found in bakery [[Containers#Displays|display counters]].
Doughnut can be found in bakery [[Containers#Displays|display counters]].


<div class="mw-collapsible mw-collapsed">
== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
Doughnut [[File:DoughnutPlain.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item DoughnutPlain
<pre>    item DoughnutPlain
     {
     {
        Type = Food,
DisplayName = Doughnut,
        DisplayName = Doughnut,
DisplayCategory = Food,
        Icon = DoughnutPlain,
Type = Food,
        Weight = 0.1,
Weight = 0.1,
        HungerChange = -7,
Icon = DoughnutPlain,
        UnhappyChange     =     -15,
DaysFresh = 3,
        Carbohydrates = 35,
DaysTotallyRotten = 5,
        Proteins = 3,
HungerChange = -7,
        Lipids = 15,
UnhappyChange = -15,
        Calories = 180,
Calories = 180,
        WorldStaticModel = Doughnut_Ground,</pre>
Carbohydrates = 35,
Lipids = 15,
Proteins = 3,
WorldStaticModel = Doughnut_Ground,
Tags = FitsToaster,
WorldStaticModel = Cookie,
Tags = FitsToaster,
    }</pre>
Chocolate Doughnut [[File:DoughnutChocolate.png|32px]]
{{Retrieved|version=41|incver=73}}
<pre>    item DoughnutsChocolate
    {
DisplayName = Chocolate Doughnut,
DisplayCategory = Food,
Type = 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>


==See also==
{{Navbox food}}
*[[Chocolate Doughnut]]
*[[Frosted Doughnut]]
*[[Jelly Doughnut]]
{{Navbox/Consumables}}

Revision as of 18:15, 27 September 2022

Doughnut
Doughnut
Chocolate Doughnut Frosted Doughnut Jelly Doughnut
General
Category Food
Encumbrance
Heavy Load
0.1
Nutrition
Hunger
Hunger
-7
Calories
Calories
180
Carbohydrates
Carbohydrates
35
Proteins
Proteins
3
Fat
Fat
15
Effect
Unhappiness
Unhappiness
-15
Technical details
Item ID Base.DoughnutPlain

Doughnut is a non-perishable food item which can come in 4 different variations.

Usage

Consumable properties

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

Distribution

Doughnut can be found in bakery display counters.

Code

From items_food.txt (Project Zomboid directory/media/scripts/)

Doughnut DoughnutPlain.png Retrieved: Build 41.73

    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,
		WorldStaticModel = Cookie,
		Tags = FitsToaster,
    }

Chocolate Doughnut DoughnutChocolate.png Retrieved: Build 41.73

    item DoughnutsChocolate
    {
		DisplayName = Chocolate Doughnut,
		DisplayCategory = Food,
		Type = 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,
    }

Frosted Doughnut DoughnutFrosted.png Retrieved: Build 41.73

    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,
    }

Jelly Doughnut DoughnutJelly.png Retrieved: Build 41.73

    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,
    }