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
HungerMoodle Icon Hungry.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.

Fresh Stale Rotten

Onigiri.png
Hunger: -10


Onigiri.png
Hunger: -7
Boredom: +10
Unhappiness: +10

Onigiri.png
Hunger: -4
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Distribution

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

Onigiri 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.
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.

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