Doughnut: Difference between revisions

From PZwiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{languages|Doughnut}}
{{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 -->
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{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-->
{{Infobox food
|display_name=Doughnut
|display_name=Doughnut
|name_colour=Food
|name_colour=Food
Line 32: Line 29:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=''See [[#Item IDs|Item IDs]]''
|class_name=''See [[#Item IDs|Item IDs]]''
}}<!--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.


<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
== Usage ==
== Usage ==
===Consumable properties===
===Consumable properties===
Line 58: Line 53:
==Gallery==
==Gallery==
<gallery>
<gallery>
File:Doughnut Model.png|Doughnut model when placed in the world.
File:Doughnut Model.png|Model for: [[File:DoughnutPlain.png]]
File:DoughnutJelly Model.png|Jelly doughnut model when placed in the world.
DoughnutChocolate Model.png|Model for: [[File:DoughnutChocolate.png]]
DoughnutFrosted Model.png|Model for: [[File:DoughnutFrosted.png]]
File:DoughnutJelly Model.png|Model for: [[File:DoughnutJelly.png]]
</gallery>
</gallery>



Revision as of 19:25, 5 October 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.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,
    }