Lunchbox

From PZwiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Lunchbox
Lunchbox 01 Model.png
Lunchbox 02 Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
1 (empty)
5.05 (full)
Equipped
One-handed
Properties
Capacity
5
Technical
Item ID
Base.Lunchbox Base.Lunchbox2

A lunchbox is a container item. The lunchbox has blue and pink color variants.

Usage

A lunchbox cannot be equipped on the player's back. It has the same capacity and weight reduction as the First Aid Kit. It must be equipped in one of the player's hands to be accessed.

Lunchboxes can spawn with (build 41):

Apple.png Apple Banana.png Banana
BeefJerky.png Beef Jerky Burrito.png Burrito
Sandwich cheese.png Cheese Sandwich Sandwich peanut.png Peanut Butter Sandwich
Chocolate.png Chocolate CinnamonRoll.png Cinnamon Roll
CookieChocolateChip.png Chocolate Chip Cookie DehydratedMeatStick.png Dehydrated Meat Stick
DoughnutPlain.png Doughnut GranolaBar.png Granola Bar
MuffinFruit.png Fruit Muffin Orange.png Orange
Pretzel.png Pretzel Yoghurt.png Yogurt

Distribution

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

Containers
Building/Room Container Rolls Chance
bathroom locker 4 1
locker 4 1
locker 4 1
locker 4 1
breakroom fridge 4 1
gasstorage counter 4 1
hall locker 4 2

Buildings

Building/Room Container Rolls Chance
Fire Department Locker 4 1
Break Room Fridge 4 10
Office Fridge 4 10
Hospital Locker 4 1
Janitorial Room Other 4 10
Police Department Locker 4 1
Prison Locker 4 1
School Locker 4 2

It is worth noting that the pink variant is significantly rarer, with a chance of 0.001 in all possible spawn locations

Trivia

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Lunchbox01.png Base.Lunchbox
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item Lunchbox
    {
        DisplayCategory = Container,
        WeightReduction	=	5,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	4,
        DisplayName	=	Lunchbox,
        Icon	=	Lunchbox01,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        MetalValue = 15,
        ReplaceInSecondHand = Bag_Lunchbox_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Lunchbox_RHand holdingbagright,
        WorldStaticModel = LunchBox_Ground,
    }

Lunchbox02.png Base.Lunchbox2
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item Lunchbox2
    {
        DisplayCategory = Container,
        WeightReduction	=	5,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	4,
        DisplayName	=	Lunchbox,
        Icon	=	Lunchbox02,
        MetalValue = 15,
        ReplaceInSecondHand = Bag_Lunchbox2_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Lunchbox2_RHand holdingbagright,
        WorldStaticModel = LunchBox2_Ground,
    }

See also