Frosted Doughnut: Difference between revisions

From PZwiki
No edit summary
(Update distribution file)
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Header|Project Zomboid|Items|Food|Sweets}}
<!--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 -->
{{Page version|41.65}}
{{header|The Game World|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=65}}<!--
{{Infobox item
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-->
|name=Frosted Doughnut
{{Infobox food
|model=DoughnutFrosted_Model.png
|display_name=Frosted Doughnut
|icon=DoughnutFrosted.png
|name_colour=Food
|name_text_colour=Food
|image=DoughnutFrosted.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 17:
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.DoughnutFrosted
|item_id=Base.DoughnutFrosted
}}<!--COMMENT: General introductory for the item-->
}}
A '''Frosted Doughnut''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
A '''frosted doughnut''' is a non-perishable [[food]] [[Items|item]].


<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
==Usage==
__TOC__
Frosted doughnuts can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


== Usage ==
==Distribution==
Frosted Doughnuts can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
The loot distributions can be found in the table(s) below.


== Distribution ==
<!--BOT FLAG|DoughnutFrosted|41.78.16-->
Frosted Doughnuts can be found in bakery [[Containers#Displays|display counters]].
{{Clear}}
<div class="togglebox theme-red">
    <div>DoughnutFrosted distribution
        <span class="mw-customtoggle-togglebox-DoughnutFrosted" 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-DoughnutFrosted">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Lunchbag
    | {{ll|Lunchbag}}
    | 6.41%
    |-
    | Lunchbox
    | {{ll|Lunchbox}}
    | 6.41%
    |-
    | Lunchbox2
    | {{ll|Lunchbox2}}
    | 6.41%
    |-
    | bakery
    | {{ll|displaycase}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycase}}
    | 41.14%
    |-
    | bakery
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | bakery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | bakery
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | bakery
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | bakery
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | bakerykitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | bakerykitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | cafe
    | {{ll|displaycase}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycase}}
    | 41.14%
    |-
    | cafe
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | cafe
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | cafe
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | cafe
    | {{ll|shelves}}
    | 23.28%
    |-
    | cafe
    | {{ll|shelves}}
    | 41.14%
    |-
    | cafekitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cafekitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | dining
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | dining
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | donut_dining
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | donut_dining
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | donut_kitchen
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | donut_kitchen
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | restaurant
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | restaurant
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | restaurantkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | restaurantkitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-DoughnutFrosted" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|DoughnutFrosted|41.78.16-->
Frosted 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>    item DoughnutFrosted
  | lang = java
    {
  | line = true
        Type = Food,
  | start = 6116
        DisplayName = Frosted Doughnut,
  | source = items_food.txt
        Icon = DoughnutFrosted,
  | retrieved = true
        Weight = 0.1,
  | version = 41.78.16
        HungerChange = -7,
  | code =
        UnhappyChange     =     -15,
item DoughnutFrosted
        Carbohydrates = 35,
{
        Proteins = 3,
DisplayName = Frosted Doughnut,
        Lipids = 15,
DisplayCategory = Food,
        Calories = 180,
Type = Food,
        WorldStaticModel = Doughnut_Frosted_Ground,</pre>
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,
}
}}
}}


==See also==
==See also==
Line 54: Line 223:
*[[Chocolate Doughnut]]
*[[Chocolate Doughnut]]
*[[Jelly Doughnut]]
*[[Jelly Doughnut]]
{{Navbox/Consumables}}
 
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable food]]

Latest revision as of 12:48, 30 April 2024

Project ZomboidItemsFoodSweetsFrosted 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.
Frosted Doughnut
DoughnutFrosted 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.DoughnutFrosted

A frosted doughnut is a non-perishable food item.

Usage

Frosted 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.

DoughnutFrosted distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Lunchbag Lunchbag 6.41%
Lunchbox Lunchbox 6.41%
Lunchbox2 Lunchbox2 6.41%
bakery displaycase 23.28%
bakery displaycase 41.14%
bakery displaycasebakery 23.28%
bakery displaycasebakery 41.14%
bakery grocerstand 23.28%
bakery grocerstand 41.14%
bakery restaurantdisplay 23.28%
bakery restaurantdisplay 41.14%
bakerykitchen restaurantdisplay 23.28%
bakerykitchen restaurantdisplay 41.14%
cafe displaycase 23.28%
cafe displaycase 41.14%
cafe displaycasebakery 23.28%
cafe displaycasebakery 41.14%
cafe grocerstand 23.28%
cafe grocerstand 41.14%
cafe shelves 23.28%
cafe shelves 41.14%
cafekitchen restaurantdisplay 23.28%
cafekitchen restaurantdisplay 41.14%
dinerkitchen restaurantdisplay 23.28%
dinerkitchen restaurantdisplay 41.14%
dining restaurantdisplay 23.28%
dining restaurantdisplay 41.14%
donut_dining displaycasebakery 23.28%
donut_dining displaycasebakery 41.14%
donut_kitchen displaycasebakery 23.28%
donut_kitchen displaycasebakery 41.14%
restaurant restaurantdisplay 23.28%
restaurant restaurantdisplay 41.14%
restaurantkitchen restaurantdisplay 23.28%
restaurantkitchen restaurantdisplay 41.14%

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

See also