Fanny Pack: Difference between revisions

From PZwiki
(Created page with "<!-- COMMENT: This section is for the language bar. The language bar is used for linking translations of the same page into different languages. -->{{languages}}<!-- COMMENT:...")
 
(Add distribution table)
 
(37 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<!-- COMMENT: This section is for the language bar. The language bar is used for linking translations of the same page into different languages.
{{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers}}
-->{{languages}}<!-- COMMENT: The header format can be seen in the header template with a working explanation. The header connects categories and Version no. PLEASE ENTER THE VERSION AND INCREMENT No. WHEN YOU MAKE A PAGE. It helps everyone else know how old the page is versionwise -->
{{Page version|41.78.16}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=55}}
{{Infobox item
<!-- COMMENT: Here is the infobox for the clothing. This is a quick lookup for the item's stats. For more information, see: https://pzwiki.net/wiki/Template:Infobox_clothing
|name=Fanny Pack
-->{{Infobox clothing
|model=FannyPack_Model.png
| display_name = Fanny Pack
|icon=FannyPack.png
| name_colour = Container
|icon_name=Fanny Pack
| 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==
<!--Comment: This section contains how the item can be used. This may include crafting, adding attachments (belts), storage space, or another functionality, such as being able to raise and lower the hood of some jackets.  
 
-->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.
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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|GolfLockers}}
    | 4
    | 2.0
    |-
    | all
    | {{ll|locker}}
    | 4
    | 2.0
    |-
    | all
    | {{ll|wardrobe}}
    | 4
    | 2.0
    |-
    | bathroom
    | {{ll|locker}}
    | 4
    | 2.0
    |-
    | bedroom
    | {{ll|locker}}
    | 4
    | 2.0
    |-
    | bedroom
    | {{ll|wardrobe}}
    | 4
    | 2.0
    |-
    | changeroom
    | {{ll|locker}}
    | 4
    | 2.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 2.0
    |-
    | closet
    | {{ll|metal_shelves}}
    | 4
    | 2.0
    |-
    | security
    | {{ll|locker}}
    | 4
    | 2.0
    |}
</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-->


== Item Distribution ==
<!--Comment: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua, ProceduralDistributions.lua and vehicledistribution.lua files. -->
===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.


 
==Code==
==Gallery==
{{CodeBox|'''Front'''<br>
'''TODO'''
{{CodeSnip
<!-- COMMENT: Include a list of clothing variants, in-game screenshots, etc. here -->
  | lang = java
<gallery>
  | line = true
 
  | start = 492
</gallery>
  | source = clothing_bags.txt
 
  | retrieved = true
== Code ==
  | version = 41.78.16
<!--Comment: all the code related to the item found in txt files should be placed here-->
  | code =
 
item Bag_FannyPackFront
<!--COMMENT: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
'''''From clothing_bags.txt (Project Zomboid directory/media/scripts/clothing)'''''
 
''Front''
<!--COMMENT: Be sure to include this "Retrieved" template, filling in the version of the game the code was retrieved.-->
{{Retrieved|version=41|incver=55}}
<pre>    item Bag_FannyPackFront
     {
     {
        DisplayCategory = Bag,
         WeightReduction = 50,
         WeightReduction = 50,
         ClothingItemExtra = Bag_FannyPackBack,
         ClothingItemExtra = Bag_FannyPackBack,
Line 108: Line 134:
         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 132: Line 166:
         WorldStaticModel = FannyPack_Ground,
         WorldStaticModel = FannyPack_Ground,
     }
     }
</pre>
}}
}}


==See also==
==See also==
<!--COMMENT: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way. -->
*[[Bags]]
 
<!--COMMENT: Navbox should go here, just below the see also section.-->
{{Navbox clothing}}


<!--COMMENT: Categories that aren't mentioned in the header should go here. E.g. Welder Mask uses [[Category:Construction]] -->
{{Navbox items|containers}}

Latest revision as of 03:17, 25 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
Containers
Building / Room Container Rolls Chance
Not referenced GolfLockers 4 2.0
all locker 4 2.0
all wardrobe 4 2.0
bathroom locker 4 2.0
bedroom locker 4 2.0
bedroom wardrobe 4 2.0
changeroom locker 4 2.0
closet crate 4 2.0
closet metal_shelves 4 2.0
security locker 4 2.0

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