Doughnut: Difference between revisions

From PZwiki
mNo edit summary
mNo edit summary
Line 31: Line 31:
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.DoughnutPlain
|class_name=''See [[#Item IDs|Item IDs]]''
}}<!--COMMENT: General introductory for the item-->
}}<!--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 [[Food#Non-Perishable|non-perishable]] food [[items|item]] which can come in 4 different variations.
Line 60: Line 60:
File:DoughnutJelly Model.png|Jelly doughnut model when placed in the world.
File:DoughnutJelly Model.png|Jelly doughnut model when placed in the world.
</gallery>
</gallery>
==Item IDs==
{| class="pztable" style="width:30%; text-align:center;"
! style="width:25%" | Name
! style="width:25%" | Icon
! style="width:50%" | Base ID
|-
| 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">
<div class="mw-collapsible mw-collapsed">

Revision as of 18:34, 27 September 2022

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. Template:Consumables2

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