Fanny Pack: Difference between revisions
(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: | ||
{{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers}} | |||
{{Page version|41.78.16}} | |||
{{Infobox item | |||
|name=Fanny Pack | |||
|model=FannyPack_Model.png | |||
| | |icon=FannyPack.png | ||
| | |icon_name=Fanny Pack | ||
| | |||
| | |||
<!-- General --> | <!-- General --> | ||
| category = Container | |category=Container | ||
| weight = 0.2 | |weight=0.2 | ||
| | |equipped=Fanny Pack Front {{or}} Fanny Pack Back | ||
|capacity=1 | |||
|weight_reduction=50 | |||
| capacity = 1 | |||
| weight_reduction = 50 | |||
<!-- Speed --> | <!-- Speed --> | ||
| run_speed = 0.98 | |run_speed=0.98 | ||
<!-- Protection --> | <!-- Protection --> | ||
<!-- Insulation --> | <!-- Insulation --> | ||
<!-- Technical details --> | <!-- Technical details --> | ||
| | |item_id=Base.Bag_FannyPackFront | ||
}} | |item_id2=Base.Bag_FannyPackBack | ||
}} | |||
A '''fanny pack''' is a container [[Items|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, [[Traits|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. | ||
<!--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--> | |||
===Buildings=== | ===Buildings=== | ||
Fanny packs can be found in [[Containers#Lockers| | Fanny packs can be found in [[Containers#Lockers|lockers]] and [[Containers#Dressers|wardrobes]] with an 8% spawn chance. | ||
===NPCs=== | ===NPCs=== | ||
[[Zombie]]s can rarely spawn wearing a fanny pack. | |||
==Code== | |||
== | {{CodeBox|'''Front'''<br> | ||
''' | {{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 108: | Line 134: | ||
WorldStaticModel = FannyPack_Ground, | WorldStaticModel = FannyPack_Ground, | ||
} | } | ||
}} | |||
''Back'' | '''Back'''<br> | ||
{{ | {{CodeSnip | ||
| 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, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Bags]] | |||
{{Navbox items|containers}} |
Latest revision as of 03:17, 25 April 2024
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.
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
Front
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt
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
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,
}