Lunchbox: Difference between revisions
m (Removing trailing whitespace(s)) |
m (Distribution table update) |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Equipment|Container items|Handheld containers|type=Baggage}} | |||
{{Header | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
| name=Lunchbox | |name=Lunchbox | ||
|model=Lunchbox_01_Model.png | |||
|icon=Lunchbox01.png | |||
| model = Lunchbox_01_Model.png | |icon_name=Lunchbox (blue) | ||
| icon = Lunchbox01.png | |model2=Lunchbox_02_Model.png | ||
| icon_name = Lunchbox (blue) | |icon2=Lunchbox02.png | ||
| icon2 = Lunchbox02.png | |icon_name2=Lunchbox (pink) | ||
| icon_name2 = Lunchbox (pink) | |category=Container | ||
| category = Container | |weight=1 | ||
| weight = 1 | |equipped=One-handed | ||
| equipped = One-handed | |capacity=5 | ||
| capacity = 5 | |weight_reduction=5 | ||
| weight_reduction = 5 | |item_id=Base.Lunchbox Base.Lunchbox2 | ||
| item_id = Base.Lunchbox Base.Lunchbox2 | }} | ||
}}A '''lunchbox''' is a container [[item]]. The lunchbox has blue and pink color variants. | A '''lunchbox''' is a container [[Items|item]]. The lunchbox has blue and pink color variants. | ||
==Usage== | ==Usage== | ||
Line 48: | Line 48: | ||
|} | |} | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|Lunchbox|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Lunchbox distribution | |||
<span class="mw-customtoggle-togglebox-Lunchbox" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Lunchbox"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
|- | {| class="wikitable theme-red" style="margin-right:15px; width:95%;" | ||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
|- | ! Chance | ||
| | |- | ||
| | | Not referenced | ||
| | | {{ll|FridgeOffice}} | ||
| | | 4 | ||
| | | 10.0 | ||
| | |- | ||
| | | bathroom | ||
| | | {{ll|locker}} | ||
| | | 4 | ||
|4 | | 1.0 | ||
|1 | |- | ||
|- | | breakroom | ||
| breakroom | | {{ll|fridge}} | ||
| | | 4 | ||
| 4 | | 10.0 | ||
| | |- | ||
|- | | gasstorage | ||
| gasstorage | | {{ll|counter}} | ||
| | | 4 | ||
| 4 | | 10.0 | ||
| | |- | ||
|- | | hall | ||
| hall | | {{ll|locker}} | ||
| | | 4 | ||
| 4 | | 2.0 | ||
| 2 | |} | ||
|} | </div> | ||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Lunchbox" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Lunchbox|41.78.16--> | |||
===Buildings=== | ===Buildings=== | ||
Line 143: | Line 145: | ||
|} | |} | ||
It is worth noting that the pink variant is significantly rarer, with a chance of 0.001 in all possible spawn locations | It is worth noting that the pink variant is significantly rarer, with a chance of 0.001 in all possible spawn locations | ||
==Trivia== | ==Trivia== | ||
Line 156: | Line 152: | ||
==Code== | ==Code== | ||
{{CodeBox|[[File:Lunchbox01.png]] {{ID|Base.Lunchbox}}<br> | |||
[[File:Lunchbox01.png | {{CodeSnip | ||
{{ | | lang = java | ||
| line = true | |||
| start = 427 | |||
| source = clothing_bags.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Lunchbox | |||
{ | { | ||
DisplayCategory = Container, | DisplayCategory = Container, | ||
WeightReduction | WeightReduction = 5, | ||
Weight | Weight = 1, | ||
Type | Type = Container, | ||
Capacity | Capacity = 4, | ||
DisplayName | DisplayName = Lunchbox, | ||
Icon | Icon = Lunchbox01, | ||
OpenSound = OpenBag, | OpenSound = OpenBag, | ||
CloseSound = CloseBag, | CloseSound = CloseBag, | ||
Line 176: | Line 178: | ||
WorldStaticModel = LunchBox_Ground, | WorldStaticModel = LunchBox_Ground, | ||
} | } | ||
}} | |||
[[File:Lunchbox02.png | |||
{{ | [[File:Lunchbox02.png]] {{ID|Base.Lunchbox2}}<br> | ||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 444 | |||
| source = clothing_bags.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Lunchbox2 | |||
{ | { | ||
DisplayCategory = Container, | DisplayCategory = Container, | ||
WeightReduction | WeightReduction = 5, | ||
Weight | Weight = 1, | ||
Type | Type = Container, | ||
Capacity | Capacity = 4, | ||
DisplayName | DisplayName = Lunchbox, | ||
Icon | Icon = Lunchbox02, | ||
MetalValue = 15, | MetalValue = 15, | ||
ReplaceInSecondHand = Bag_Lunchbox2_LHand holdingbagleft, | ReplaceInSecondHand = Bag_Lunchbox2_LHand holdingbagleft, | ||
Line 193: | Line 203: | ||
WorldStaticModel = LunchBox2_Ground, | WorldStaticModel = LunchBox2_Ground, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Bags]] | *[[Bags]] | ||
{{Navbox | {{Navbox items|containers}} |
Revision as of 15:57, 24 April 2024
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 | Banana | ||
Beef Jerky | Burrito | ||
Cheese Sandwich | Peanut Butter Sandwich | ||
Chocolate | Cinnamon Roll | ||
Chocolate Chip Cookie | Dehydrated Meat Stick | ||
Doughnut | Granola Bar | ||
Fruit Muffin | Orange | ||
Pretzel | Yogurt |
Distribution
The loot distributions can be found in the table(s) below.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
Not referenced | FridgeOffice | 4 | 10.0 |
bathroom | locker | 4 | 1.0 |
breakroom | fridge | 4 | 10.0 |
gasstorage | counter | 4 | 10.0 |
hall | locker | 4 | 2.0 |
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
- 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.
- The pink lunchbox model is an image of Will Porter, a member of The Indie Stone.
Code
Base.Lunchbox
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt
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,
}
Base.Lunchbox2
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt
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,
}