Paper Bag: Difference between revisions

From PZwiki
m (Updated distribution table)
(Move gallery to infobox)
Line 8: Line 8:
|icon=Paperbag.png
|icon=Paperbag.png
|icon_name=Paper Bag
|icon_name=Paper Bag
|model2=PaperBagJays_Model.png
|icon2=Paperbag Jays.png
|icon2=Paperbag Jays.png
|icon_name2=Paper Bag (Jays)
|icon_name2=Paper Bag (Jays)
|model3=PaperBagSpiffo_Model.png
|icon3=Paperbag Spiffos.png
|icon3=Paperbag Spiffos.png
|icon_name3=Paper Bag (Spiffo's)
|icon_name3=Paper Bag (Spiffo's)
Line 77: Line 79:
===Buildings===
===Buildings===
Often found in restaurants, schools (as a "Lunchbag" with the same stats), and office kitchens.
Often found in restaurants, schools (as a "Lunchbag" with the same stats), and office kitchens.
==Gallery==
<gallery>
PaperBag_Model.png|A plain paper bag.
PaperBagJays_Model.png|A paper bag with a [[Jay's Chicken]] logo.
PaperBagSpiffo_Model.png|A paper bag with a [[Spiffo's]] logo.
</gallery>


==Code==
==Code==

Revision as of 23:55, 20 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Paper Bag
PaperBag Model.png
PaperBagJays Model.png
PaperBagSpiffo Model.png
Paper Bags (Animated)
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
0.1 (empty)
4.53 (full)
Equipped
One-handed
Properties
Capacity
5
Technical
Item ID
Base.PaperBag
Base.Paperbag_Jays
Base.Paperbag_Spiffos
Base.Lunchbag

A paper bag is a common container item.

Usage

The paper bag is very weak, with 5 capacity and only 10% weight reduction.

It can sometimes be found with food inside of it, such as burgers and fries.

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

Often found in restaurants, schools (as a "Lunchbag" with the same stats), and office kitchens.

Code

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

Paperbag.png Paper Bag
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item PaperBag
    {
        DisplayCategory = Container,
        WeightReduction = 10,
        Weight = 0.1,
        Type = Container,
        Capacity = 5,
        DisplayName = Paper Bag,
        Icon = Paperbag,
        OpenSound = OpenBag,
        CloseSound = CloseBag,
        PutInSound = PutItemInBag,
        WorldStaticModel = Paperbag_Ground,
     }

Paperbag Spiffos.png Paper Bag
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Paperbag_Spiffos
    {
        DisplayCategory = Container,
        WeightReduction = 10,
        Weight = 0.1,
        Type = Container,
        Capacity = 5,
        DisplayName = Paper Bag,
        Icon = Paperbag_Spiffos,
        OpenSound = OpenBag,
        CloseSound = CloseBag,
        PutInSound = PutItemInBag,
        WorldStaticModel = PaperbagSpiffo_Ground,
     }

Paperbag Jays.png Paper Bag
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Paperbag_Jays
    {
        DisplayCategory = Container,
        WeightReduction = 10,
        Weight = 0.1,
        Type = Container,
        Capacity = 5,
        DisplayName = Paper Bag,
        Icon = Paperbag_Jays,
        OpenSound = OpenBag,
        CloseSound = CloseBag,
        PutInSound = PutItemInBag,
        WorldStaticModel = PaperbagJays_Ground,
     }

Paperbag.png Lunchbag
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Lunchbag
    {
        DisplayName = Lunchbag,
        DisplayCategory = Container,
        Type = Container,
        Weight = 0.1,
        WeightReduction = 10,
        Icon = Paperbag,
        Capacity = 5,
        CloseSound = CloseBag,
        OpenSound = OpenBag,
        PutInSound = PutItemInBag,
        WorldStaticModel = Paperbag_Ground,
     }