Doughnut: Difference between revisions
No edit summary |
(Update distribution file) |
||
(33 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.78.16}} | |||
{{Infobox item | |||
|name=Doughnut | |||
{{Infobox | |model=Doughnut_Model.png | ||
| | |icon=DoughnutPlain.png | ||
| | |icon_name=Doughnut | ||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
|weight=0.1 | |weight=0.1 | ||
|days_fresh=3 | |||
|days_rotten=2 | |||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-7 | |hunger_change=-7 | ||
Line 20: | Line 23: | ||
|unhappy_change=-15 | |unhappy_change=-15 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=DoughnutPlain | ||
}} | }} | ||
'''Doughnut''' is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | |||
===Consumable properties=== | |||
Doughnut can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]]. | |||
{{Consumables | |||
|image = Doughnut Anim.gif | |||
|hunger = -7 | |||
|unhappiness = -15 | |||
|perishable = 1 | |||
|unrotten hunger = -5 | |||
|unrotten unhappiness = -5 | |||
|unrotten boredom = +10 | |||
|rotten hunger = -3 | |||
|rotten unhappiness = +5 | |||
|rotten boredom = +20 | |||
|rotten image = Doughnut Anim.gif | |||
}} | |||
== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|DoughnutPlain|41.78.16--> | ||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>DoughnutPlain distribution | |||
<span class="mw-customtoggle-togglebox-DoughnutPlain" 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-DoughnutPlain"> | |||
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-DoughnutPlain" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|DoughnutPlain|41.78.16--> | |||
Doughnut can be found in bakery [[Containers#Displays|display counters]]. | |||
== Code == | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 6154 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 54: | Line 243: | ||
*[[Frosted Doughnut]] | *[[Frosted Doughnut]] | ||
*[[Jelly Doughnut]] | *[[Jelly Doughnut]] | ||
{{Navbox | |||
{{Navbox items|miscellaneous_food}} | |||
[[Category:Perishable food]] |
Latest revision as of 12:36, 30 April 2024
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 |
---|---|---|
|
|
|
Distribution
The loot distributions can be found in the table(s) below.
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% |
Doughnut can be found in bakery display counters.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}