Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Granola Bar

From PZwiki
Project ZomboidItemsFoodGrainsGranola Bar
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Granola Bar
GranolaBar Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Nutrition
HungerUI Hunger.png
-15
CaloriesCalories
270
CarbohydratesCarbohydrates
120
ProteinsProteins
20
FatFat
44
Technical
Item ID
Base.GranolaBar

Granola bar is a non-perishable food item.

Usage

Granola bar can be eaten, providing the player with some positive effects.

Location

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

GranolaBar distributionShow / Hide

Effective chance calculations are based off of default 'apocalypse' loot settings, with no luck modifier, and average 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. Duplicate entries do exist, but have been removed for clarity.

Containers
Building/Room Container Effective chance
all Camper (male outfit)
Camper (female outfit)
6.53%
artstore shelves 19.68%
bandkitchen counter 19.68%
bandkitchen overhead 19.68%
bookstore shelves 19.68%
butcher shelves 19.68%
cafeteria shelves 19.68%
camerastore shelves 19.68%
candystorage crate 23.67%
candystorage metal_shelves 23.67%
candystore shelves 19.68%
closet crate 23.67%
clothingstore shelves 19.68%
conveniencestore shelves 19.68%
cornerstore shelves 19.68%
departmentstore shelves 19.68%
electronicsstore shelves 19.68%
fossoil shelves 19.68%
garagestorage crate 23.67%
gasstorage crate 19.68%
gasstorage metal_shelves 19.68%
gasstore shelves 19.68%
generalstore crate 23.67%
generalstore shelves 23.67%
generalstore shelves 19.68%
generalstorestorage shelves 23.67%
generalstorestorage shelves 19.68%
giftstore shelves 19.68%
gigamart crate 23.67%
gigamart shelves 23.67%
gigamart shelves 19.68%
grocery crate 23.67%
grocery shelves 23.67%
grocery shelves 19.68%
grocery smallcrate 23.67%
grocerystorage crate 4.44%
grocerystorage metal_shelves 4.44%
grocerystorage smallcrate 4.44%
kitchen counter 19.68%
kitchen overhead 19.68%
liquorstore shelves 19.68%
livingroom counter 19.68%
livingroom overhead 19.68%
movierental shelves 19.68%
musicstore shelves 19.68%
pawnshop shelves 19.68%
pharmacy shelves 19.68%
storageunit crate 23.67%
toolstore shelves 19.68%
toystore shelves 19.68%
zippeestorage crate 19.68%
zippeestorage metal_shelves 19.68%
zippeestore shelves 19.68%
Foraging
Amount Skill level Biome: chance Weather modifiers % Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
1 - Nav: 1
TownZone: 1
TrailerPark: 1
- - - - - - -

Granola bar can be found in supermarkets, stores, and kitchen counters.

Trivia

  • This item is currently non-perishable, though it has commented out 40 days to spoil and 80 to rot in the game files.

History

Base.GranolaBar

Version Description
Build 41.72 DaysFresh removed.
DaysTotallyRotten removed.
Build 41.66 WorldStaticModel added with value GranolaBar_Ground.
Build 41.65 Released on this version.

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 GranolaBar
	{
		DisplayName = Granola Bar,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = GranolaBar,
		/*DaysFresh = 40,
		DaysTotallyRotten = 80,*/
		HungerChange = -15,
		Calories = 270,
		Carbohydrates = 120,
		Lipids = 44,
		Proteins = 20,
		WorldStaticModel = GranolaBar_Ground,
	}