Fanny Pack: Difference between revisions

From PZwiki
m (Automated linking update (or fix).)
m (Minor fixes)
(10 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
| name = Fanny Pack
|name=Fanny Pack
| model = FannyPack_Model.png
|model=FannyPack_Model.png
| icon = FannyPack.png
|icon=FannyPack.png
| icon_name = Fanny Pack
|icon_name=Fanny Pack
<!-- General -->
<!-- General -->
| category = Container
|category=Container
| weight = 0.2
|weight=0.2
| equipped = 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
}}
}}
A '''fanny pack''' is a container [[items|item]].
A '''fanny pack''' is a container [[Items|item]].


==Usage==
==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, [[Traits|organized]] will increase fanny pack capacity to 2 making them twice as useful.
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.


==Distribution==
==Distribution==
Line 42: Line 33:


==Code==
==Code==
'''''From clothing_bags.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeBox|'''Front'''<br>
 
{{CodeSnip
''Front''
  | lang = java
{{Retrieved|version=41|incver=55}}
  | line = true
<pre>
  | start = 492
    item Bag_FannyPackFront
  | 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 67: Line 63:
         WorldStaticModel = FannyPack_Ground,
         WorldStaticModel = FannyPack_Ground,
     }
     }
</pre>
}}


''Back''
'''Back'''<br>
{{Retrieved|version=41|incver=55}}
{{CodeSnip
<pre>
  | lang = java
    item Bag_FannyPackBack
  | 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 92: Line 95:
         WorldStaticModel = FannyPack_Ground,
         WorldStaticModel = FannyPack_Ground,
     }
     }
</pre>
}}
}}
 
==See also==
*[[Bags]]


{{Navbox equipment}}
{{Navbox items|containers}}

Revision as of 20:55, 19 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

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