Onigiri

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Onigiri
Onigiri Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Days fresh
2 days
Days until rotten
4 days
Nutrition
HungerUI Hunger.png
-10
CaloriesCalories
25
CarbohydratesCarbohydrates
12
ProteinsProteins
18
FatFat
4
Technical
Item ID
Base.Onigiri

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.

State Icon Hunger Boredom Unhappiness Sickness chance
Fresh Onigiri (Fresh) -10 - - -
Stale Onigiri (Stale) -8 +10 +10 -
Rotten Onigiri (Rotten) -4 +20 +20 100%

Location

The loot distributions can be found in the table(s) below.

Onigiri distributionShow / 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
sushidining displaycase 23.28%
sushidining displaycase 41.14%
sushikitchen restaurantdisplay 23.28%
sushikitchen restaurantdisplay 41.14%

Onigiri can often found inside displays in restaurant.

History

Base.Onigiri

Version Description
41.65 Released on or before this version.

Help PZwiki by adding to this history.

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