Plastic Bag: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
(→Code: Codebox Update) |
||
Line 88: | Line 88: | ||
|} | |} | ||
==Code== | == Code == | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = | |||
| source = clothing_bags.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Plasticbag | |||
{ | |||
DisplayCategory = Container, | |||
WeightReduction = 30, | |||
Weight = 0.1, | |||
Type = Container, | |||
Capacity = 8, | |||
DisplayName = Plastic Bag, | |||
Icon = Plasticbag, | |||
ReplaceInSecondHand = Bag_Plasticbag_LHand holdingbagleft, | |||
ReplaceInPrimaryHand = Bag_Plasticbag_RHand holdingbagright, | |||
WorldStaticModel = PlasticBag_Ground, | |||
SoundParameter = EquippedBaggageContainer PlasticBag, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 13:46, 31 January 2024
Plastic Bag | ||
---|---|---|
| ||
General | ||
Category | Container | |
Encumbrance | 0.1 | |
Body location | One-handed | |
Capacity | 8 | |
Encumbrance reduction | 30% | |
Technical details | ||
Item ID | Base.Plasticbag |
A plastic bag is a common container item.
Usage
A plastic bag has a poor capacity and average weight reduction. It can be found in most kitchens and vehicles, making it a good substitute until something better is found. It must be equipped in either the primary or secondary hand to be accessed and can usually be dropped if a backpack is found.
Plastic bags can spawn with:
Plastic Bag |
Distribution
Buildings
Building/Room | Container | Rolls | Chance |
---|---|---|---|
All | Male Corpse | 1 | 0.1 |
Female Corpse | 1 | 0.1 | |
Plastic Bag | 3 | 5 (x4) | |
Tote Bag | 10 | 50 (x7 +55) | |
Kitchen | Counter | 2 | 9 |
Spiffo's Kitchen | Counter | 6 | 3 (x2) |
Pile-o-crepe Kitchen | Counter | 6 | 3 (x3) |
Motel Room (occupied) | Other | 2 | 0.5 |
Vehicles
Profession | Container | Rolls | Chance |
---|---|---|---|
All | Trunk | 4 | 10 |
Code
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt
item Plasticbag
{
DisplayCategory = Container,
WeightReduction = 30,
Weight = 0.1,
Type = Container,
Capacity = 8,
DisplayName = Plastic Bag,
Icon = Plasticbag,
ReplaceInSecondHand = Bag_Plasticbag_LHand holdingbagleft,
ReplaceInPrimaryHand = Bag_Plasticbag_RHand holdingbagright,
WorldStaticModel = PlasticBag_Ground,
SoundParameter = EquippedBaggageContainer PlasticBag,
}