Fanny Pack: Difference between revisions
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}} | |||
{{ | {{Page version|41.78.16}} | ||
{{Infobox item | |||
{{ | |name=Fanny Pack | ||
|model=FannyPack_Model.png | |||
{{Infobox | |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"> | |||
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| | 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. | |||
''Front'' | ==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 103: | Line 149: | ||
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 127: | Line 181: | ||
WorldStaticModel = FannyPack_Ground, | WorldStaticModel = FannyPack_Ground, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Bags]] | |||
{{Navbox | {{Navbox items|containers}} | ||
Latest revision as of 12:42, 30 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 | 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
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,
}