Onigiri: 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...") |
(Update distribution file) |
||
(32 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Miscellaneous food}} | ||
{{Page version|41.78.16}} | |||
{{Infobox item | |||
|name=Onigiri | |||
{{Infobox | |model=Onigiri_Model.png | ||
| | |icon=Onigiri.png | ||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
|weight=0.1 | |weight=0.1 | ||
|days_fresh=2 | |days_fresh=2 | ||
|days_rotten= | |days_rotten=4 | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-10 | |hunger_change=-10 | ||
Line 20: | Line 17: | ||
|carbohydrates=12 | |carbohydrates=12 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Onigiri | ||
}} | }} | ||
Onigiri is a [[ | '''Onigiri''' is a perishable [[food]] [[Items|item]]. | ||
==Usage== | |||
===Consumable properties=== | |||
== Usage == | |||
=== Consumable properties === | |||
Onigiri can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. | Onigiri can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. | ||
{{ | {{Consumables | ||
|image = Onigiri.png | |image = Onigiri.png | ||
|hunger = -10 | |hunger = -10 | ||
Line 43: | Line 37: | ||
}} | }} | ||
== Distribution == | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|Onigiri|41.78.16--> | ||
{{Clear}} | |||
{{ | <div class="togglebox theme-red"> | ||
< | <div>Onigiri distribution | ||
<span class="mw-customtoggle-togglebox-Onigiri" 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-Onigiri"> | |||
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 | |||
|- | |||
| sushidining | |||
| {{ll|displaycase}} | |||
| 23.28% | |||
|- | |||
| sushidining | |||
| {{ll|displaycase}} | |||
| 41.14% | |||
|- | |||
| sushikitchen | |||
| {{ll|restaurantdisplay}} | |||
| 23.28% | |||
|- | |||
| sushikitchen | |||
| {{ll|restaurantdisplay}} | |||
| 41.14% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Onigiri" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Onigiri|41.78.16--> | |||
Onigiri can often found inside [[Containers#Displays|displays]] in restaurant. | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 6626 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Onigiri | |||
{ | |||
DisplayName = Onigiri, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.1, | |||
Icon = Onigiri, | |||
DaysFresh = 2, | |||
DaysTotallyRotten = 4, | |||
HungerChange = -10, | |||
Calories = 25, | |||
Carbohydrates = 12, | |||
Lipids = 4, | |||
Proteins = 18, | |||
WorldStaticModel = Onigiri_Ground, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
{{Navbox | |||
{{Navbox items|food}} | |||
[[Category:Perishable food]] |
Latest revision as of 13:25, 30 April 2024
Onigiri is a perishable food item.
Usage
Consumable properties
Onigiri can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Fresh | Stale | Rotten |
---|---|---|
|
|
|
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
sushidining | displaycase | 23.28% |
sushidining | displaycase | 41.14% |
sushikitchen | restaurantdisplay | 23.28% |
sushikitchen | restaurantdisplay | 41.14% |
Onigiri can often found inside displays in restaurant.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item Onigiri
{
DisplayName = Onigiri,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = Onigiri,
DaysFresh = 2,
DaysTotallyRotten = 4,
HungerChange = -10,
Calories = 25,
Carbohydrates = 12,
Lipids = 4,
Proteins = 18,
WorldStaticModel = Onigiri_Ground,
}