Chocolate Doughnut: Difference between revisions

From PZwiki
(missing 3d model variant rotten tag)
Tag: Reverted
m (Distribution table update)
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}
{{Page version|41.65}}
{{reupload|Missing 3D Variant Model (Rotten)}}
{{Infobox item
{{Infobox food
|name=Chocolate Doughnut
|display_name=Chocolate Doughnut
|model=DoughnutChocolate_Model.png
|name_colour=Food
|icon=DoughnutChocolate.png
|name_text_colour=Food
|image=DoughnutChocolate Model.png
|image_width=200px
|alternate_image=DoughnutChocolate.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 17:
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.DoughnutChocolate
|item_id=Base.DoughnutChocolate
}}
}}
A '''Chocolate Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
A '''Chocolate Doughnut''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Chocolate Doughnuts can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
Chocolate Doughnuts can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|DoughnutChocolate|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>DoughnutChocolate distribution
        <span class="mw-customtoggle-togglebox-DoughnutChocolate" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-DoughnutChocolate">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Lunchbag}}
    | 1
    | 10.0
    |-
    | bakery
    | {{ll|displaycase}}
    | 4
    | 20.0
    |-
    | bakery
    | {{ll|displaycase}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-DoughnutChocolate" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|DoughnutChocolate|41.78.16-->
Chocolate Doughnuts can be found in bakery [[Containers#Displays|display counters]].
Chocolate Doughnuts can be found in bakery [[Containers#Displays|display counters]].


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>
  | lang = java
    item DoughnutChocolate
  | line = true
    {
  | start = 6097
        Type = Food,
  | source = items_food.txt
        DisplayName = Chocolate Doughnut,
  | retrieved = true
        Icon = DoughnutChocolate,
  | version = 41.78.16
        Weight = 0.1,
  | code =
        HungerChange = -7,
item DoughnutChocolate
        UnhappyChange     =     -15,
{
        Carbohydrates = 35,
DisplayName = Chocolate Doughnut,
        Proteins = 3,
DisplayCategory = Food,
        Lipids = 15,
Type = Food,
        Calories = 180,
Weight = 0.1,
        WorldStaticModel = Doughnut_Chocolate_Ground,
Icon = DoughnutChocolate,
</pre>
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -7,
UnhappyChange = -15,
Calories = 180,
Carbohydrates = 35,
Lipids = 15,
Proteins = 3,
WorldStaticModel = Doughnut_Chocolate_Ground,
Tags = FitsToaster,
}
}}
}}


==See also==
==See also==
Line 55: Line 98:
*[[Jelly Doughnut]]
*[[Jelly Doughnut]]


{{Navbox food}}
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable food]]

Revision as of 15:12, 24 April 2024

Project ZomboidItemsFoodSweetsChocolate Doughnut
Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Chocolate Doughnut
DoughnutChocolate Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-7
CaloriesCalories
180
CarbohydratesCarbohydrates
35
ProteinsProteins
3
FatFat
15
Effect
UnhappinessMoodle Icon Unhappy.png
-15
Technical
Item ID
Base.DoughnutChocolate

A Chocolate Doughnut is a non-perishable food item.

Usage

Chocolate Doughnuts can be eaten, providing the player with some positive effects, including reducing unhappiness.

Distribution

The loot distributions can be found in the table(s) below.

DoughnutChocolate distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Lunchbag 1 10.0
bakery displaycase 4 20.0
bakery displaycase 4 10.0

Chocolate Doughnuts can be found in bakery display counters.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item DoughnutChocolate
	{
		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,
	}

See also