Fanny Pack: Difference between revisions
m (Automated 'items' capitalisation) |
(→Code: Codebox) |
||
Line 43: | Line 43: | ||
==Code== | ==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 | item Bag_FannyPackFront | ||
{ | { | ||
DisplayCategory = Bag, | |||
WeightReduction = 50, | WeightReduction = 50, | ||
ClothingItemExtra = Bag_FannyPackBack, | ClothingItemExtra = Bag_FannyPackBack, | ||
Line 68: | Line 73: | ||
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 | item Bag_FannyPackBack | ||
{ | { | ||
DisplayCategory = Bag, | |||
WeightReduction = 50, | WeightReduction = 50, | ||
ClothingItemExtra = Bag_FannyPackFront, | ClothingItemExtra = Bag_FannyPackFront, | ||
Line 93: | Line 105: | ||
WorldStaticModel = FannyPack_Ground, | WorldStaticModel = FannyPack_Ground, | ||
} | } | ||
}} | |||
}} | |||
Revision as of 06:03, 16 March 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
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,
}