Doughnut: Difference between revisions

From PZwiki
m (Remove 120px, minor fixes)
m (Minor cleanups)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Languages}}
{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}
{{Infobox food
|display_name=Doughnut
|display_name=Doughnut
|name_colour=Food
|name_colour=Food
Line 28: Line 30:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=''See [[#Item IDs|Item IDs]]''
|class_name=''See [[#Item IDs|Item IDs]]''
}}'''Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]] which can come in 4 different variations.
}}
'''Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]] which can come in 4 different variations.


==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 [[Moodles#Unhappy|unhappiness]].
{{Consumables2
{{Consumables
|image = Doughnut Anim.gif
|image = Doughnut Anim.gif
|hunger = -7
|hunger = -7
Line 53: Line 55:
==Gallery==
==Gallery==
<gallery>
<gallery>
File:Doughnut Model.png|Model for: [[File:DoughnutPlain.png]]
Doughnut Model.png|Model for: [[File:DoughnutPlain.png]]
DoughnutChocolate Model.png|Model for: [[File:DoughnutChocolate.png]]
DoughnutChocolate Model.png|Model for: [[File:DoughnutChocolate.png]]
DoughnutFrosted Model.png|Model for: [[File:DoughnutFrosted.png]]
DoughnutFrosted Model.png|Model for: [[File:DoughnutFrosted.png]]
File:DoughnutJelly Model.png|Model for: [[File:DoughnutJelly.png]]
DoughnutJelly Model.png|Model for: [[File:DoughnutJelly.png]]
</gallery>
</gallery>


Line 85: Line 87:
==Code==
==Code==
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
Doughnut [[File:DoughnutPlain.png|32px]]
Doughnut [[File:DoughnutPlain.png]]
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41|incver=73}}
<pre>   item DoughnutPlain
<pre>
    item DoughnutPlain
     {
     {
DisplayName = Doughnut,
DisplayName = Doughnut,
Line 106: Line 109:
WorldStaticModel = Cookie,
WorldStaticModel = Cookie,
Tags = FitsToaster,
Tags = FitsToaster,
     }</pre>
     }
</pre>
Chocolate Doughnut [[File:DoughnutChocolate.png|32px]]
Chocolate Doughnut [[File:DoughnutChocolate.png|32px]]
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41|incver=73}}
<pre>   item DoughnutsChocolate
<pre>
    item DoughnutsChocolate
     {
     {
DisplayName = Chocolate Doughnut,
DisplayName = Chocolate Doughnut,
Line 126: Line 131:
WorldStaticModel = Doughnut_Chocolate_Ground,
WorldStaticModel = Doughnut_Chocolate_Ground,
Tags = FitsToaster,
Tags = FitsToaster,
     }</pre>
     }
</pre>
Frosted Doughnut [[File:DoughnutFrosted.png|32px]]
Frosted Doughnut [[File:DoughnutFrosted.png|32px]]
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41|incver=73}}
<pre>   item DoughnutFrosted
<pre>
    item DoughnutFrosted
     {
     {
DisplayName = Frosted Doughnut,
DisplayName = Frosted Doughnut,
Line 146: Line 153:
WorldStaticModel = Doughnut_Frosted_Ground,
WorldStaticModel = Doughnut_Frosted_Ground,
Tags = FitsToaster,
Tags = FitsToaster,
     }</pre>
     }
</pre>
Jelly Doughnut [[File:DoughnutJelly.png|32px]]
Jelly Doughnut [[File:DoughnutJelly.png|32px]]
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41|incver=73}}
<pre>   item Doughnut Jelly
<pre>
    item Doughnut Jelly
     {
     {
DisplayName = Jelly Doughnut,
DisplayName = Jelly Doughnut,
Line 166: Line 175:
WorldStaticModel = Doughnut_Jelly_Ground,
WorldStaticModel = Doughnut_Jelly_Ground,
Tags = FitsToaster,
Tags = FitsToaster,
     }</pre>
     }
</pre>
</div>
</div>


{{Navbox food}}
{{Navbox food}}

Revision as of 19:45, 2 September 2023

Doughnut
Doughnut
Chocolate Doughnut Frosted Doughnut Jelly Doughnut
General
Category Food
Encumbrance
Heavy Load
0.1
Days until stale 3 days
Days until rotten 2 days
Nutrition
Hunger
Hunger
-7
Calories
Calories
180
Carbohydrates
Carbohydrates
35
Proteins
Proteins
3
Fat
Fat
15
Effect
Unhappiness
Unhappiness
-15
Technical details
Item ID See Item IDs

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.

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

Doughnut can be found in bakery display counters.

Gallery

Item IDs

Name Icon Base ID
Doughnut DoughnutPlain.png Base.DoughnutPlain
Chocolate Doughnut DoughnutChocolate.png Base.DoughnutChocolate
Frosted Doughnut DoughnutFrosted.png Base.DoughnutFrosted
Jelly Doughnut DoughnutJelly.png Base.DoughnutJelly

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