Doughnut

From PZwiki
Revision as of 09:02, 18 December 2023 by Faalagorn (talk | contribs) (We have separate page for every one of the item, so let's remove the info about extra ones from this page)
Doughnut
Doughnut
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 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

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

See also