Duffel Bag: Difference between revisions

From PZwiki
(→‎See also: added Large Backpack)
(Add distro table)
 
(36 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers|type=Baggage}}
{{header|The Game World|Items|Baggage|type=Baggage|version=Version 40|incver=50}}{{Infobox container
{{Page version|41.78.16}}
| display_name = Duffelbag
{{Infobox item
| name_colour = Container
|name=Duffel Bag
| name_text_colour = Container
|model=DuffelBag_Blue_Model.png
| image = Duffelbag_120px.png
|icon=Duffelbag.png
| category = Container
|icon_name=Duffel Bag (blue)
| weight = 1
|model2=DuffelBag_Green_Model.png
| equipped = Back
|icon2=Duffelbag.png
| capacity = 18
|icon_name2=Duffel Bag (green)
| weight_reduction = 65
|model3=DuffelBag_Grey_Model.png
| class_name = Base.Duffelbag
|icon3=DuffelBagWhite.png
}}A '''duffelbag''' is a container [[item]].  
|icon_name3=Duffel Bag (gray)
|model4=DuffelBag_White_Model.png
|icon4=DuffelBagWhite.png
|icon_name4=Duffel Bag (white)
|model5=DuffelBag_Military_Model.png
|icon5=DuffelbagMilitary.png
|icon_name5=Duffel Bag (military)
<!--GENERAL-->
|category=Bag
|weight=1.0
|capacity=18
|weight_reduction=65
|body_location=Back
|run_speed=0.95
<!--TECHNICAL DETAILS-->
|item_id=See [[#Variants|Variants]]
}}
A '''duffel bag''' is a bag [[Items|item]].


==Usage==
===Variants===
A duffelbag can be equipped on the back, allowing the player to equip other items in their hands at the same time. It is one of the poorer wearable baggage items with stats exceeding only the [[schoolbag]].  
There are several different variants of duffel bag that can be found throughout [[Knox Country]], each with contents pertaining to a specific theme.


'''Duffelbags can spawn with:'''
{| class="wikitable theme-red sortable" style="text-align: center;"
{|
! Icon
|[[File:VestAnim.gif|link=Vest]] || [[Vest]]
! Name
|-
! style="width: 220px" | Item ID
|[[File:ShirtAnim.gif|link=Sweater]] || [[Sweater]]
! style="width: 220px" | Color
|-
|[[File:ShirtAnim.gif|link=Blouse]] || [[Blouse]]
|-
|-
|[[File:TrousersAnim.gif|link=Pants]] || [[Pants]]
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_InamateEscapedBag}}
| Random
|-
|-
|[[File:SkirtAnim.gif|link=Skirt]] || [[Skirt]]
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_ShotgunBag}}
| Gray
|-
|-
|[[File:Shoes.png|link=Shoes]] || [[Shoes]]
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_FoodSnacks}}
| Gray
|-
|-
|[[File:SocksAnim.gif|link=Socks]] || [[Socks]]
| [[File:DuffelbagMilitary.png]]
| Duffel Bag
| {{ID|Base.Bag_Military}}
| Army
|-
|-
|[[File:UnderwearAnim.gif|link=Underwear]] || [[Underwear]]
| [[File:Duffelbag.png]]
|}
| Duffel Bag
 
| {{ID|Base.Bag_WeaponBag}}
==Distribution==
| Gray
It can usually be found inside [[Containers#Bedroom Storage|wardrobes]], along with other bags such as the [[Big Hiking Bag|big hiking bag]], [[Normal Hiking Bag|normal hiking bag]] and [[schoolbag]].  
===Buildings===
{| class="pztable" style="text-align:center;"
|-
|-
!Building/Room
| [[File:Duffelbag.png]]
!Container
| Duffel Bag
!Rolls
| {{ID|Base.Bag_ToolBag}}
!Chance
| Gray
|-
|-
|rowspan="3"|All
| [[File:DuffelBagWhite.png]]
|[[Containers#Corpse|Male Corpse]]
| Duffel Bag
|1
| {{ID|Base.Bag_DuffelBagTINT}}
|0.1
| Random
|-
|-
<!--|All-->
| [[File:Duffelbag.png]]
|[[Containers#Corpse|Female Corpse]]
| Duffel Bag
|1
| {{ID|Base.Bag_WorkerBag}}
|0.1
| Random
|-
|-
<!--|All-->
| [[File:Duffelbag.png]]
|[[Containers#Bedrooms Storage|Wardrobe]]
| Duffel Bag
|4
| {{ID|Base.Bag_MoneyBag}}
|1
| Gray
|-
|-
|Bedroom
| [[File:Duffelbag.png]]
|[[Containers#Bedrooms Storage|Wardrobe]]
| Duffel Bag
|2
| {{ID|Base.Bag_FoodCanned}}
|1
| Gray
|-
|-
|Changeroom
| [[File:Duffelbag.png]]
|[[Containers#Lockers|Locker]]
| Duffel Bag
|2
| {{ID|Base.Bag_ShotgunDblSawnoffBag}}
|1
| Gray
|-
|-
|Motel Room (occupied)
| [[File:Duffelbag.png]]
|[[Containers|Other]]
| Duffel Bag
|2
| {{ID|Base.Bag_DuffelBag}}
|0.3
| Random
|-
|-
|rowspan="2"|Sport Store
| [[File:Duffelbag.png]]
|[[Containers#Shelves|Shelves]]
| Duffel Bag
|3
| {{ID|Base.Bag_ShotgunDblBag}}
|1
| Gray
|-
<!--|Sport Store-->
|[[Containers#Displays|Clothing Rack]]
|3
|1
|-
|Sport Storage
|[[Containers#Shelves|Metal Shelves]]
|3
|1
|-
|-
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_ShotgunSawnoffBag}}
| Gray
|}
|}


==Build 41==
;Weapon Bag:
{{Infobox container
*[[JS-2000 Shotgun]]
| display_name = Duffel Bag
*[[Double Barrel Shotgun]]
| name_colour = Container
*[[Box of Shotgun Shells]]
| name_text_colour = Container
*[[Machete]]
| image = Model_DuffelBag_Blue.png
*[[M9 Pistol]]
| image_width = 200px
*[[M1911 Pistol]]
| alternate_image = Duffelbag.png
*[[D-E Pistol]]
| alternate_name = Duffel Bag
*[[M36 Revolver]]
| alternate_link =
*[[M625 Revolver]]
| alternate_image2 = DuffelBagWhite.png
*[[Magnum]]
| alternate_name2 = Duffel Bag
*[[Box of 9mm Bullets]]
| alternate_link2 =
*[[Box of .38 Special Bullets]]
<!--GENERAL-->
*[[Box of .44 Magnum Bullets]]
| category = Container
*[[Box of .45 Auto Bullets]]
| weight = 1.0
*[[Baseball Bat]]
| body_location = Back
*[[Crowbar]]
| capacity = 18
| weight_reduction = 65
| run_speed = 0.95
<!--TECHNICAL DETAILS-->
| class_name = Base.Bag_DuffelBag<br>Base.Bag_DuffelBagTINT
}}A '''duffel bag''' is a container [[item]].


===Variants===
;Inmate Escaped Bag:
There are several different variants of duffel bag that can be found throughout [[Knox Country]], each with contents pertaining to a specific theme.
*[[Rope]]
*[[Ripped Sheets]]
*[[Screwdriver]]
*[[Hammer]]
*[[Duct Tape]]


;Weapon Bag:  
;Money Bag:
* [[Shotgun]]
*[[Money]]
* [[Double Barrel Shotgun]]
* [[Box of Shotgun Shells]]
* [[Machete]]
* [[M9 Pistol]]
* [[M1911 Pistol]]
* [[D-E Pistol]]
* [[M36 Revolver]]
* [[M625 Revolver]]
* [[Magnum]]
* [[Box of 9mm Bullets]]
* [[Box of .38 Special Bullets]]
* [[Box of .44 Magnum Bullets]]
* [[Box of .45 Auto Bullets]]
* [[Baseball Bat]]
* [[Crowbar]]


;Inmate Escaped Bag:  
;Worker Bag:
* [[Rope]]
*[[Pen]]
* [[Ripped Sheets]]
*[[Pen|Blue Pen]]
* [[Screwdriver]]
*[[Pen|Red Pen]]
* [[Hammer]]
*[[Pencil]]
* [[Duct Tape]]
*[[Rubber Band]]
*[[Pencil]]
*[[Scissors]]
*[[Cigarettes]]
*[[Grilled Cheese Sandwich]]
*[[Peanut Butter Sandwich]]
*[[Pop]]
*[[Water Bottle]]


;Money Bag:
==Distribution==
* [[Money]]
The loot distributions can be found in the table(s) below.


;Worker Bag:  
<!--BOT FLAG|Bag_DuffelBag|41.78.16-->
* [[Pen]]
{{Clear}}
* [[Pen|Blue Pen]]
<div class="togglebox theme-red">
* [[Pen|Red Pen]]
    <div>Bag_DuffelBag distribution
* [[Pencil]]
        <span class="mw-customtoggle-togglebox-Bag_DuffelBag" 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>
* [[Rubber Band]]
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Bag_DuffelBag">
* [[Pencil]]
    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">
* [[Scissors]]
<div class="pz-container">
* [[Cigarettes]]
<div id="containers" style="flex-basis: 30%;">
* [[Grilled Cheese Sandwich]]
    {| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;"
* [[Peanut Butter Sandwich]]
    |+ {{ll|Containers}}
* [[Pop]]
    ! Building/Room
* [[Water Bottle]]
    ! Container
    ! Effective chance
    |-
    | armysurplus
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | armysurplus
    | {{ll|shelves}}
    | 15.1%
    |-
    | camping
    | {{ll|counter}}
    | 15.1%
    |-
    | camping
    | {{ll|shelves}}
    | 15.1%
    |-
    | campingstorage
    | {{ll|crate}}
    | 15.1%
    |-
    | fishingstorage
    | {{ll|counter}}
    | 15.1%
    |-
    | hunting
    | {{ll|counter}}
    | 15.1%
    |-
    | pawnshop
    | {{ll|counter}}
    | 15.1%
    |-
    | pawnshop
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | pawnshop
    | {{ll|shelves}}
    | 15.1%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Bag_DuffelBag" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Bag_DuffelBag|41.78.16-->


==Gallery==
<!--BOT FLAG|Bag_DuffelBagTINT|41.78.16-->
<gallery>
{{Clear}}
Duffelbag_120px.png|Icon prior to build 41.
<div class="togglebox theme-red">
Model_DuffelBag_Blue.png|Model for blue colour variant of the duffel bag.
    <div>Bag_DuffelBagTINT distribution
Model_DuffelBag_Green.png|Model for green colour variant of the duffel bag.
        <span class="mw-customtoggle-togglebox-Bag_DuffelBagTINT" 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>
Model_DuffelBag_Grey.png|Model for grey colour variant of the duffel bag.
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Bag_DuffelBagTINT">
Model_DuffelBag_White.png|Model for white colour variant of the duffel bag.
    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">
</gallery>
<div class="pz-container">
 
<div id="containers" style="flex-basis: 30%;">
{{clear}}
    {| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|locker}}
    | 2.81%
    |-
    | all
    | {{ll|wardrobe}}
    | 2.81%
    |-
    | bathroom
    | {{ll|locker}}
    | 2.81%
    |-
    | bedroom
    | {{ll|locker}}
    | 2.81%
    |-
    | bedroom
    | {{ll|wardrobe}}
    | 2.81%
    |-
    | changeroom
    | {{ll|locker}}
    | 2.81%
    |-
    | closet
    | {{ll|crate}}
    | 2.81%
    |-
    | closet
    | {{ll|metal_shelves}}
    | 2.81%
    |-
    | druglab
    | {{ll|counter}}
    | 2.81%
    |-
    | druglab
    | {{ll|metal_shelves}}
    | 2.81%
    |-
    | druglab
    | {{ll|overhead}}
    | 2.81%
    |-
    | drugshack
    | {{ll|counter}}
    | 2.81%
    |-
    | drugshack
    | {{ll|crate}}
    | 2.81%
    |-
    | factorystorage
    | {{ll|locker}}
    | 2.81%
    |-
    | garagestorage
    | {{ll|crate}}
    | 2.81%
    |-
    | garagestorage
    | {{ll|locker}}
    | 2.81%
    |-
    | laundry
    | {{ll|locker}}
    | 2.81%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 2.81%
    |-
    | motelroomoccupied
    | {{ll|dresser}}
    | 0.71%
    |-
    | storageunit
    | {{ll|crate}}
    | 2.81%
    |}
</div>
<div id="vehicles" style="flex-basis: 30%;">
    {| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Survivalist
    | {{ll|Truck Bed}}
    | 2.81%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Bag_DuffelBagTINT" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Bag_DuffelBagTINT|41.78.16-->


==Code==
==Code==
''Build 40''
{{CodeBox
 
| {{CodeSnip
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
  | lang = java
{{Retrieved|version=40|incver=6}}
  | line = true
<pre> item BigHikingBag
  | start = 237
WeightReduction = 65,
  | source = clothing_bags.txt
Weight         = 1,
  | retrieved = true
Type         = Container,
  | version = 41.78.16
Capacity = 18,
  | code =
DisplayName = Duffelbag,
item Bag_DuffelBag
Icon         = Duffelbag,
CanBeEquipped = Back,</pre>
 
''Build 41''
 
'''''From clothing_others.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{Retrieved|version=41|incver=50}}
<pre>    item Bag_DuffelBag
     {
     {
        DisplayCategory = Bag,
         Type = Container,
         Type = Container,
         DisplayName = Duffel Bag,
         DisplayName = Duffel Bag,
Line 207: Line 355:
         ReplaceInSecondHand = Bag_DuffelBag_LHand holdingbagleft,
         ReplaceInSecondHand = Bag_DuffelBag_LHand holdingbagleft,
         ReplaceInPrimaryHand = Bag_DuffelBag_RHand holdingbagright,
         ReplaceInPrimaryHand = Bag_DuffelBag_RHand holdingbagright,
     }</pre>
        WorldStaticModel = DuffelBag_Ground,
 
        SoundParameter = EquippedBaggageContainer DuffleBag,
     }
}}
}}


==See also==
==See also==
* [[Large Backpack]]
*[[Trauma Bag]]
* [[Big Hiking Bag]]
*[[Large Backpack]]
* [[Normal Hiking Bag]]
*[[Big Hiking Bag]]
* [[Schoolbag]]
*[[Normal Hiking Bag]]
*[[School Bag]]


{{Navbox/Baggage}}
{{Navbox items|containers}}
{{Navbox_clothing}}

Latest revision as of 14:50, 4 May 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Duffel Bag
DuffelBag Blue Model.png
DuffelBag Green Model.png
DuffelBag Grey Model.png
DuffelBag White Model.png
DuffelBag Military Model.png
General
Category
Bag
Encumbrance
Moodle Icon HeavyLoad.png
1.0 (empty)
6.6 (full)
Equipped
Back
Properties
Capacity
18
Run speed
95% (disabled)
Technical
Item ID

A duffel bag is a bag item.

Variants

There are several different variants of duffel bag that can be found throughout Knox Country, each with contents pertaining to a specific theme.

Icon Name Item ID Color
Duffelbag.png Duffel Bag Base.Bag_InamateEscapedBag Random
Duffelbag.png Duffel Bag Base.Bag_ShotgunBag Gray
Duffelbag.png Duffel Bag Base.Bag_FoodSnacks Gray
DuffelbagMilitary.png Duffel Bag Base.Bag_Military Army
Duffelbag.png Duffel Bag Base.Bag_WeaponBag Gray
Duffelbag.png Duffel Bag Base.Bag_ToolBag Gray
DuffelBagWhite.png Duffel Bag Base.Bag_DuffelBagTINT Random
Duffelbag.png Duffel Bag Base.Bag_WorkerBag Random
Duffelbag.png Duffel Bag Base.Bag_MoneyBag Gray
Duffelbag.png Duffel Bag Base.Bag_FoodCanned Gray
Duffelbag.png Duffel Bag Base.Bag_ShotgunDblSawnoffBag Gray
Duffelbag.png Duffel Bag Base.Bag_DuffelBag Random
Duffelbag.png Duffel Bag Base.Bag_ShotgunDblBag Gray
Duffelbag.png Duffel Bag Base.Bag_ShotgunSawnoffBag Gray
Weapon Bag
Inmate Escaped Bag
Money Bag
Worker Bag

Distribution

The loot distributions can be found in the table(s) below.

Bag_DuffelBag distribution Show / Hide
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.
Containers
Building/Room Container Effective chance
armysurplus metal_shelves 15.1%
armysurplus shelves 15.1%
camping counter 15.1%
camping shelves 15.1%
campingstorage crate 15.1%
fishingstorage counter 15.1%
hunting counter 15.1%
pawnshop counter 15.1%
pawnshop metal_shelves 15.1%
pawnshop shelves 15.1%
Bag_DuffelBagTINT distribution Show / Hide
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.
Containers
Building/Room Container Effective chance
all locker 2.81%
all wardrobe 2.81%
bathroom locker 2.81%
bedroom locker 2.81%
bedroom wardrobe 2.81%
changeroom locker 2.81%
closet crate 2.81%
closet metal_shelves 2.81%
druglab counter 2.81%
druglab metal_shelves 2.81%
druglab overhead 2.81%
drugshack counter 2.81%
drugshack crate 2.81%
factorystorage locker 2.81%
garagestorage crate 2.81%
garagestorage locker 2.81%
laundry locker 2.81%
livingroom wardrobe 2.81%
motelroomoccupied dresser 0.71%
storageunit crate 2.81%
Vehicles
Type Container Effective chance
Survivalist Trunk 2.81%

Code

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

Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item Bag_DuffelBag
    {
        DisplayCategory = Bag,
        Type = Container,
        DisplayName = Duffel Bag,
        ClothingItem = Bag_DuffelBag,
        CanBeEquipped = Back,
        WeightReduction	=	65,
        Weight	=	1,
        Capacity	=	18,
        Icon	=	Duffelbag,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        RunSpeedModifier = 0.95,
        CanHaveHoles = false,
        ReplaceInSecondHand = Bag_DuffelBag_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_DuffelBag_RHand holdingbagright,
        WorldStaticModel = DuffelBag_Ground,
        SoundParameter = EquippedBaggageContainer DuffleBag,
    }

See also