Lunchbox: Difference between revisions
(Created page with "==General Information== Lunchboxes are a handheld container that weighs 1.0, can carry up to 4 items, and has a weight reduction of 5% Lunchboxes can commonly be found in...") |
(Update distribution file) |
||
(42 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
== | {{Header|Project Zomboid|Items|Equipment|Container items|Handheld containers|type=Baggage}} | ||
{{Page version|41.78.16}} | |||
{{Infobox item | |||
|name=Lunchbox | |||
|model=Lunchbox_01_Model.png | |||
|icon=Lunchbox01.png | |||
|icon_name=Lunchbox (blue) | |||
|model2=Lunchbox_02_Model.png | |||
|icon2=Lunchbox02.png | |||
|icon_name2=Lunchbox (pink) | |||
|category=Container | |||
|weight=1 | |||
|equipped=One-handed | |||
|capacity=5 | |||
|weight_reduction=5 | |||
|item_id=Base.Lunchbox Base.Lunchbox2 | |||
}} | |||
A '''lunchbox''' is a container [[Items|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):''' | |||
{| | |||
|[[File:Apple.png|link=Apple]] || [[Apple]] | |||
|[[File:Banana.png|link=Banana]] || [[Banana]] | |||
|- | |||
|[[File:BeefJerky.png|link=Beef Jerky]] || [[Beef Jerky]] | |||
|[[File:Burrito.png|link=Burrito]] || [[Burrito]] | |||
|- | |||
|[[File:Sandwich_cheese.png|link=Cheese Sandwich]] || [[Cheese Sandwich]] | |||
|[[File:Sandwich_peanut.png|link=Peanut Butter Sandwich]] || [[Peanut Butter Sandwich]] | |||
|- | |||
|[[File:Chocolate.png|link=Chocolate]] || [[Chocolate]] | |||
|[[File:CinnamonRoll.png|link=Cinnamon Roll]] || [[Cinnamon Roll]] | |||
|- | |||
|[[File:CookieChocolateChip.png|link=Cookie]] || [[Cookie]] | |||
|[[File:DehydratedMeatStick.png|link=Dehydrated Meat Stick]] || [[Dehydrated Meat Stick]] | |||
|- | |||
|[[File:DoughnutPlain.png|link=Doughnut]] || [[Doughnut]] | |||
|[[File:GranolaBar.png|link=Granola Bar]] || [[Granola Bar]] | |||
|- | |||
|[[File:MuffinFruit.png|link=Fruit Muffin]] || [[Fruit Muffin]] | |||
|[[File:Orange.png|link=Orange]] || [[Orange]] | |||
|- | |||
|[[File:Pretzel.png|link=Pretzel]] || [[Pretzel]] | |||
|[[File:Yoghurt.png|link=Book]] || [[Yoghurt]] | |||
|} | |||
==See | ==Distribution== | ||
[[ | 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"> | |||
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. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| bathroom | |||
| {{ll|locker}} | |||
| 3.98% | |||
|- | |||
| breakroom | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| changeroom | |||
| {{ll|locker}} | |||
| 3.98% | |||
|- | |||
| daycare | |||
| {{ll|fridge}} | |||
| 23.28% | |||
|- | |||
| garagestorage | |||
| {{ll|locker}} | |||
| 3.98% | |||
|- | |||
| gasstorage | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| hall | |||
| {{ll|locker}} | |||
| 6.29% | |||
|- | |||
| janitor | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| schoolstorage | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| zippeestorage | |||
| {{ll|counter}} | |||
| 23.28% | |||
|} | |||
</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=== | |||
{| class="wikitable theme-red" style="text-align:center;" | |||
|- | |||
!Building/Room | |||
!Container | |||
!Rolls | |||
!Chance | |||
|- | |||
|Fire Department | |||
|[[Containers#Lockers|Locker]] | |||
|4 | |||
|1 | |||
|- | |||
|Break Room | |||
|[[Appliances#Refrigerators|Fridge]] | |||
|4 | |||
|10 | |||
|- | |||
|Office | |||
|[[Appliances#Refrigerators|Fridge]] | |||
|4 | |||
|10 | |||
|- | |||
|Hospital | |||
|[[Containers#Lockers|Locker]] | |||
|4 | |||
|1 | |||
|- | |||
|Janitorial Room | |||
|[[Containers|Other]] | |||
|4 | |||
|10 | |||
|- | |||
|Police Department | |||
|[[Containers#Lockers|Locker]] | |||
|4 | |||
|1 | |||
|- | |||
|Prison | |||
|[[Containers#Lockers|Locker]] | |||
|4 | |||
|1 | |||
|- | |||
|School | |||
|[[Containers#Lockers|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 [[Wikipedia:Teenage Mutant Ninja Turtles (1987 TV series)|1987 TV series Teenage Mutant Ninja Turtles]]. | |||
*The pink lunchbox model is an image of [[Will Porter]], a member of [[The Indie Stone]]. | |||
==Code== | |||
{{CodeBox|[[File:Lunchbox01.png]] {{ID|Base.Lunchbox}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 427 | |||
| source = clothing_bags.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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, | |||
} | |||
}} | |||
[[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, | |||
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== | |||
*[[Bags]] | |||
{{Navbox items|containers}} |
Latest revision as of 13:11, 30 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.
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,
}