Lunchbox: Difference between revisions

From PZwiki
m (Added gallery, removed duplicate trivia section and added it to the original section)
m (Update links)
Line 62: Line 62:
|-
|-
|Break Room
|Break Room
|[[Tiles/Appliances#Refrigerators|Fridge]]
|[[Appliances#Refrigerators|Fridge]]
|4
|4
|10
|10
|-
|-
|Office
|Office
|[[Tiles/Appliances#Refrigerators|Fridge]]
|[[Appliances#Refrigerators|Fridge]]
|4
|4
|10
|10

Revision as of 14:55, 4 June 2023

Template:Infobox containerA lunchbox is a container item. The lunchbox has blue and pink colour 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

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

Gallery

Trivia

  • Interestingly, the pink variant of the lunchbox appears to not make any sound when accessed, unlike the blue variant, which plays the generic bag sound.
  • The blue lunchbox model is a based on the logo from 1987 TV series Teenage Mutant Ninja Turtles.

Code

From clothing_bags.txt (Project Zomboid directory/media/scripts/clothing)

Lunchbox (blue) Lunchbox (blue) 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,
    }

Lunchbox (pink) Lunchbox (pink) 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