Doughnut: Difference between revisions
(Created page with "{{languages|{{PAGENAME}}}} <!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template...") |
m (Distribution table update) |
||
(32 intermediate revisions by 7 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=- | |hunger_change=-7 | ||
|calories=180 | |calories=180 | ||
|lipids=15 | |lipids=15 | ||
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"> | |||
<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-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 117: | ||
*[[Frosted Doughnut]] | *[[Frosted Doughnut]] | ||
*[[Jelly Doughnut]] | *[[Jelly Doughnut]] | ||
{{Navbox | |||
[[Category: | {{Navbox items|miscellaneous_food}} | ||
[[Category:Perishable food]] |
Revision as of 15:23, 24 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 | Rolls | Chance |
---|---|---|---|
all | Lunchbag | 1 | 10.0 |
bakery | displaycase | 4 | 20.0 |
bakery | displaycase | 4 | 10.0 |
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,
}