Duffel Bag: Difference between revisions

From PZwiki
m (→‎Buildings: clean up, replaced: wikitable → pztable)
(Add distro table)
 
(40 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages|Duffelbag}}
{{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers|type=Baggage}}
{{header|The Game World|Items|Baggage|type=Baggage|version=Version 40|incver=6}}{{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
! style="width: 220px" | Color
|-
|-
|[[File:ShirtAnim.gif|link=Sweater]] || [[Sweater]]
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_InamateEscapedBag}}
| Random
|-
|-
|[[File:ShirtAnim.gif|link=Blouse]] || [[Blouse]]
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_ShotgunBag}}
| Gray
|-
|-
|[[File:TrousersAnim.gif|link=Pants]] || [[Pants]]
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_FoodSnacks}}
| Gray
|-
|-
|[[File:SkirtAnim.gif|link=Skirt]] || [[Skirt]]
| [[File:DuffelbagMilitary.png]]
| Duffel Bag
| {{ID|Base.Bag_Military}}
| Army
|-
|-
|[[File:Shoes.png|link=Shoes]] || [[Shoes]]
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_WeaponBag}}
| Gray
|-
|-
|[[File:SocksAnim.gif|link=Socks]] || [[Socks]]
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_ToolBag}}
| Gray
|-
|-
|[[File:UnderwearAnim.gif|link=Underwear]] || [[Underwear]]
| [[File:DuffelBagWhite.png]]
|}
| Duffel Bag
 
| {{ID|Base.Bag_DuffelBagTINT}}
==Distribution==
| Random
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
!Container
!Rolls
!Chance
|-
|rowspan="3"|All
|[[Containers#Corpse|Male Corpse]]
|1
|0.1
|-
<!--|All-->
|[[Containers#Corpse|Female Corpse]]
|1
|0.1
|-
<!--|All-->
|[[Containers#Bedrooms Storage|Wardrobe]]
|4
|1
|-
|-
|Bedroom
| [[File:Duffelbag.png]]
|[[Containers#Bedrooms Storage|Wardrobe]]
| Duffel Bag
|2
| {{ID|Base.Bag_WorkerBag}}
|1
| Random
|-
|-
|Changeroom
| [[File:Duffelbag.png]]
|[[Containers#Lockers|Locker]]
| Duffel Bag
|2
| {{ID|Base.Bag_MoneyBag}}
|1
| Gray
|-
|-
|Motel Room (occupied)
| [[File:Duffelbag.png]]
|[[Containers|Other]]
| Duffel Bag
|2
| {{ID|Base.Bag_FoodCanned}}
|0.3
| Gray
|-
|-
|rowspan="2"|Sport Store
| [[File:Duffelbag.png]]
|[[Containers#Shelves|Shelves]]
| Duffel Bag
|3
| {{ID|Base.Bag_ShotgunDblSawnoffBag}}
|1
| Gray
|-
|-
<!--|Sport Store-->
| [[File:Duffelbag.png]]
|[[Containers#Displays|Clothing Rack]]
| Duffel Bag
|3
| {{ID|Base.Bag_DuffelBag}}
|1
| Random
|-
|-
|Sport Storage
| [[File:Duffelbag.png]]
|[[Containers#Shelves|Metal Shelves]]
| Duffel Bag
|3
| {{ID|Base.Bag_ShotgunDblBag}}
|1
| Gray
|-
|-
| [[File:Duffelbag.png]]
| Duffel Bag
| {{ID|Base.Bag_ShotgunSawnoffBag}}
| Gray
|}
|}
;Weapon Bag:
*[[JS-2000 Shotgun]]
*[[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:
*[[Rope]]
*[[Ripped Sheets]]
*[[Screwdriver]]
*[[Hammer]]
*[[Duct Tape]]
;Money Bag:
*[[Money]]
;Worker Bag:
*[[Pen]]
*[[Pen|Blue Pen]]
*[[Pen|Red Pen]]
*[[Pencil]]
*[[Rubber Band]]
*[[Pencil]]
*[[Scissors]]
*[[Cigarettes]]
*[[Grilled Cheese Sandwich]]
*[[Peanut Butter Sandwich]]
*[[Pop]]
*[[Water Bottle]]
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Bag_DuffelBag|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Bag_DuffelBag distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Bag_DuffelBag">
    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 sortable" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! 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-->
<!--BOT FLAG|Bag_DuffelBagTINT|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Bag_DuffelBagTINT distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Bag_DuffelBagTINT">
    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 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==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=6}}
| {{CodeSnip
<pre> item BigHikingBag
  | lang = java
WeightReduction = 65,
  | line = true
Weight         = 1,
  | start = 237
Type         = Container,
  | source = clothing_bags.txt
Capacity = 18,
  | retrieved = true
DisplayName = Duffelbag,
  | version = 41.78.16
Icon         = Duffelbag,
  | code =
CanBeEquipped = Back,</pre>
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==
==See also==
* [[Big Hiking Bag]]
*[[Trauma Bag]]
* [[Normal Hiking Bag]]
*[[Large Backpack]]
* [[Schoolbag]]
*[[Big Hiking Bag]]
*[[Normal Hiking Bag]]
*[[School Bag]]


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

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