Fanny Pack: Difference between revisions

From PZwiki
No edit summary
(Update distribution file)
 
(32 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers}}
{{languages}}
{{Page version|41.78.16}}
 
{{Infobox item
{{header|The Game World|Items|Baggage|version=Version 41|incver=55}}
|name=Fanny Pack
 
|model=FannyPack_Model.png
{{Infobox clothing
|icon=FannyPack.png
| display_name = Fanny Pack
|icon_name=Fanny Pack
| name_colour = Container
| name_text_colour = Container
| image =
| image_width =
| alternate_image =
| alternate_name =
| alternate_link =
| alternate_image2 =
| alternate_name2 =
| alternate_link2 =
| alternate_image3 =
| alternate_name3 =
| alternate_link3 =
| alternate_image4 =
| alternate_name4 =
| alternate_link4 =
| alternate_image5 =
| alternate_name5 =
| alternate_link5 =
| alternate_image6 =
| alternate_name6 =
| alternate_link6 =
| alternate_image7 =
| alternate_name7 =
| alternate_link7 =  
<!-- General -->
<!-- General -->
| category = Container
|category=Container
| weight = 0.2
|weight=0.2
| body_location = Fanny Pack Front or Fanny Pack Back
|equipped=Fanny Pack Front {{or}} Fanny Pack Back
| condition =
|capacity=1
| fabric =
|weight_reduction=50
| capacity = 1
| weight_reduction = 50
| attachments_provided =
<!-- Speed -->
<!-- Speed -->
| run_speed = 0.98
|run_speed=0.98
| combat_speed =
<!-- Protection -->
<!-- Protection -->
| scratch_defense =
| bite_defense =
| neck_protection =
<!-- Insulation -->
<!-- Insulation -->
| insulation =
| wind_resistance =
| water_resistance =
<!-- Technical details -->
<!-- Technical details -->
| class_name = Base.Bag_FannyPackFront<br>Base.Bag_FannyPackBack
|item_id=Base.Bag_FannyPackFront
}}<!--
|item_id2=Base.Bag_FannyPackBack
COMMENT: include a very brief introduction to the item
}}
-->A fanny pack is a container [[item]].
A '''fanny pack''' is a container [[Items|item]].


__TOC__
==Usage==
<!--Comment: This is where the 'Table Of Contents' will go if it is needed-->
The fanny pack can be worn on the front or back of the character. It has the lowest capacity of all the bags. However, it is useful for carrying small items like bandages, medicine, or cigarettes. Two can be worn at once alongside the backpack of your choice, as they occupy unique slots on your character. Additionally, [[Traits|organized]] will increase fanny pack capacity to 2, making them twice as useful.


==Usage==
==Distribution==
The fanny pack can be worn on the front or back of the character. It has the lowest capacity of all the bags, however it is useful for carrying small items like bandages, medicine, or cigarettes.


== Item Distribution ==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Bag_FannyPackFront|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Bag_FannyPackFront distribution
        <span class="mw-customtoggle-togglebox-Bag_FannyPackFront" 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_FannyPackFront">
    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
    |-
    | all
    | {{ll|locker}}
    | 6.29%
    |-
    | all
    | {{ll|wardrobe}}
    | 6.29%
    |-
    | bathroom
    | {{ll|locker}}
    | 6.29%
    |-
    | bedroom
    | {{ll|locker}}
    | 6.29%
    |-
    | bedroom
    | {{ll|wardrobe}}
    | 6.29%
    |-
    | changeroom
    | {{ll|locker}}
    | 6.29%
    |-
    | closet
    | {{ll|crate}}
    | 6.29%
    |-
    | closet
    | {{ll|metal_shelves}}
    | 6.29%
    |-
    | daycare
    | {{ll|wardrobe}}
    | 6.29%
    |-
    | factorystorage
    | {{ll|locker}}
    | 6.29%
    |-
    | garagestorage
    | {{ll|crate}}
    | 6.29%
    |-
    | garagestorage
    | {{ll|locker}}
    | 6.29%
    |-
    | laundry
    | {{ll|locker}}
    | 6.29%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 6.29%
    |-
    | security
    | {{ll|locker}}
    | 6.29%
    |-
    | storageunit
    | {{ll|crate}}
    | 6.29%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Bag_FannyPackFront" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Bag_FannyPackFront|41.78.16-->


===Buildings===
===Buildings===
Fanny packs can be found in [[Containers#Lockers|Lockers]] and [[Containers#Dressers|Wardrobes]] with an 8% spawn chance.
Fanny packs can be found in [[Containers#Lockers|lockers]] and [[Containers#Dressers|wardrobes]] with an 8% spawn chance.


===NPCs===
===NPCs===
Zombies can rarely spawn wearing a fanny pack.
[[Zombie]]s can rarely spawn wearing a fanny pack.
 
 
==Gallery==
'''TODO'''
<gallery>
 
</gallery>
 
== Code ==
'''''From clothing_bags.txt (Project Zomboid directory/media/scripts/clothing)'''''


''Front''
==Code==
{{Retrieved|version=41|incver=55}}
{{CodeBox|'''Front'''<br>
<pre>    item Bag_FannyPackFront
{{CodeSnip
  | lang = java
  | line = true
  | start = 492
  | source = clothing_bags.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Bag_FannyPackFront
     {
     {
        DisplayCategory = Bag,
         WeightReduction = 50,
         WeightReduction = 50,
         ClothingItemExtra = Bag_FannyPackBack,
         ClothingItemExtra = Bag_FannyPackBack,
Line 103: Line 149:
         WorldStaticModel = FannyPack_Ground,
         WorldStaticModel = FannyPack_Ground,
     }
     }
</pre>
}}


''Back''
'''Back'''<br>
{{Retrieved|version=41|incver=55}}
{{CodeSnip
<pre>    item Bag_FannyPackBack
  | lang = java
  | line = true
  | start = 514
  | source = clothing_bags.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Bag_FannyPackBack
     {
     {
        DisplayCategory = Bag,
         WeightReduction = 50,
         WeightReduction = 50,
         ClothingItemExtra = Bag_FannyPackFront,
         ClothingItemExtra = Bag_FannyPackFront,
Line 127: Line 181:
         WorldStaticModel = FannyPack_Ground,
         WorldStaticModel = FannyPack_Ground,
     }
     }
</pre>
}}
}}


==See also==
==See also==
*[[Bags]]


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

Latest revision as of 12:42, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Fanny Pack
FannyPack Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
0.2 (empty)
0.56 (full)
Equipped
Fanny Pack Front
OR
Fanny Pack Back
Properties
Capacity
1
Run speed
98% (disabled)
Technical
Item ID
Base.Bag_FannyPackFront
Base.Bag_FannyPackBack

A fanny pack is a container item.

Usage

The fanny pack can be worn on the front or back of the character. It has the lowest capacity of all the bags. However, it is useful for carrying small items like bandages, medicine, or cigarettes. Two can be worn at once alongside the backpack of your choice, as they occupy unique slots on your character. Additionally, organized will increase fanny pack capacity to 2, making them twice as useful.

Distribution

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

Bag_FannyPackFront 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 6.29%
all wardrobe 6.29%
bathroom locker 6.29%
bedroom locker 6.29%
bedroom wardrobe 6.29%
changeroom locker 6.29%
closet crate 6.29%
closet metal_shelves 6.29%
daycare wardrobe 6.29%
factorystorage locker 6.29%
garagestorage crate 6.29%
garagestorage locker 6.29%
laundry locker 6.29%
livingroom wardrobe 6.29%
security locker 6.29%
storageunit crate 6.29%

Buildings

Fanny packs can be found in lockers and wardrobes with an 8% spawn chance.

NPCs

Zombies can rarely spawn wearing a fanny pack.

Code

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

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

Retrieved: Build 41.78.16
item Bag_FannyPackFront
    {
        DisplayCategory = Bag,
        WeightReduction	=	50,
        ClothingItemExtra = Bag_FannyPackBack,
        ClothingItemExtraOption = FannyPack_WearBack,
        clothingExtraSubmenu = FannyPack_WearFront,
        Weight	=	0.2,
        Type	=	Container,
        Capacity	=	1,
        DisplayName	=	Fanny Pack (Front),
        Icon	=	FannyPack,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        BodyLocation = FannyPackFront,
        ClothingItem = Bag_FannyPackFront,
        CanBeEquipped = FannyPackFront,
        RunSpeedModifier = 0.98,
        WorldStaticModel = FannyPack_Ground,
    }

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

Retrieved: Build 41.78.16
item Bag_FannyPackBack
    {
        DisplayCategory = Bag,
        WeightReduction	=	50,
        ClothingItemExtra = Bag_FannyPackFront,
        ClothingItemExtraOption = FannyPack_WearFront,
        clothingExtraSubmenu = FannyPack_WearBack,
        Weight	=	0.2,
        Type	=	Container,
        Capacity	=	1,
        DisplayName	=	Fanny Pack (Back),
        Icon	=	FannyPack,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        BodyLocation = FannyPackBack,
        ClothingItem = Bag_FannyPackBack,
        CanBeEquipped = FannyPackBack,
        RunSpeedModifier = 0.98,
        WorldStaticModel = FannyPack_Ground,
    }

See also