Frosted Doughnut: Difference between revisions
No edit summary |
(Update distribution file) |
||
(28 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.65}} | |||
{{ | {{Infobox item | ||
|name=Frosted Doughnut | |||
{{Infobox | |model=DoughnutFrosted_Model.png | ||
| | |icon=DoughnutFrosted.png | ||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 20: | Line 17: | ||
|unhappy_change=-15 | |unhappy_change=-15 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.DoughnutFrosted | ||
}} | }} | ||
A ''' | A '''frosted doughnut''' is a non-perishable [[food]] [[Items|item]]. | ||
==Usage== | |||
Frosted doughnuts can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]]. | |||
== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|DoughnutFrosted|41.78.16--> | ||
Frosted | {{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== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 6116 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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== | ==See also== | ||
Line 54: | Line 223: | ||
*[[Chocolate Doughnut]] | *[[Chocolate Doughnut]] | ||
*[[Jelly Doughnut]] | *[[Jelly Doughnut]] | ||
{{Navbox | |||
{{Navbox items|miscellaneous_food}} | |||
[[Category:Non-perishable food]] |
Latest revision as of 12:48, 30 April 2024
Frosted Doughnut
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.
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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}