Lunchbag

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]
Lunchbag
PaperBag Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
0.1 (empty)
4.53 (full)
Equipped
One-handed
Properties
Capacity
5
Technical
Item ID
Base.Lunchbag

A lunchbag is a container item.

Usage

The lunchbag is a small container item that can be used to hold items. It has a low capacity and weight reduction. It cannot be equipped on the player's back.

Lunchboxes can spawn with:

Apple.png Apple Banana.png Banana
BeefJerky.png Beef Jerky Burrito.png Burrito
Sandwich cheese.png Cheese Sandwich Chocolate.png Chocolate
CinnamonRoll.png Cinnamon Roll CookieChocolateChip.png Chocolate Chip Cookie
CookieJelly.png Raspberry Shortbread CookiesChocolate.png Chocolate Cookie
CookiesOatmeal.png Oatmeal Cookie CookiesShortbread.png Shortbread Cookie
DehydratedMeatStick.png Dehydrated Meat Stick DoughnutChocolate.png Chocolate Doughnut
DoughnutFrosted.png Frosted Doughnut DoughnutJelly.png Jelly Doughnut
DoughnutPlain.png Doughnut GranolaBar.png Granola Bar
MuffinFruit.png Fruit Muffin MuffinGeneric.png Muffin
Orange.png Orange Painauchocolat.png Chocolate Bread
PeanutButterSandwich.png Peanut Butter Sandwich Pretzel.png Pretzel
Yoghurt.png Yogurt

Distribution

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

Lunchbag 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
bathroom locker 3.98%
breakroom fridge 23.28%
changeroom locker 3.98%
daycare fridge 23.28%
garagestorage locker 3.98%
gasstorage counter 23.28%
hall locker 6.29%
janitor counter 23.28%
schoolstorage counter 23.28%
zippeestorage counter 23.28%

Lunchboxes can spawn in break rooms, offices, fire department lockers, hospital lockers, police lockers, prison guard lockers, janitor closets, and school lockers.

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 Lunchbag
	{
		DisplayName = Lunchbag,
		DisplayCategory = Container,
		Type = Container,
		Weight = 0.1,
		WeightReduction = 10,
		Icon = Paperbag,
		Capacity = 5,
		CloseSound = CloseBag,
		OpenSound = OpenBag,
		PutInSound = PutItemInBag,
		WorldStaticModel = Paperbag_Ground,
	}

See also