Normal Hiking Bag: Difference between revisions

From PZwiki
Normal Hiking Bag
m (category & header updates)
(→‎Code: CodeBox update)
Line 129: Line 129:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40.6}}
| {{CodeSnip
<pre>
  | lang = java
item NormalHikingBag
  | line = false
WeightReduction = 70,
  | start =
Weight         = 0.5,
  | source = newitems.txt
Type         = Container,
  | retrieved = true
Capacity = 20,
  | version = 40
DisplayName = Normal Hiking Bag,
  | incver = 6
Icon         = Duffelbag,
  | code =
CanBeEquipped = Back,
item NormalHikingBag
OpenSound = PZ_OpenBag,
{
CloseSound = PZ_CloseBag,
  WeightReduction         = 70,
PutInSound = PZ_PutInBag,
  Weight                 = 0.5,
</pre>
  Type                   = Container,
  Capacity               = 20,
  DisplayName             = Normal Hiking Bag,
  Icon                   = Duffelbag,
  CanBeEquipped           = Back,
  OpenSound               = PZ_OpenBag,
  CloseSound             = PZ_CloseBag,
  PutInSound             = PZ_PutInBag,
}
  }}
}}


==See also==
==See also==

Revision as of 03:00, 1 February 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (40.6).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
BoxSmall.png
This item has been removed from the game.
It has been replaced by Hiking Bag.
Normal Hiking Bag
Normal Hiking Bag
General
Category Container
Encumbrance
Heavy Load
0.5
Body location Back
Capacity 20
Encumbrance reduction 70%
Technical details
Item ID Base.NormalHikingBag

A normal hiking bag is a container item.

Usage

A normal hiking bag can be equipped on the back, allowing the player to equip other items in their hands at the same time. It has the second best item weight reduction and capacity of all the bags, exceeded only by the big hiking bag.

Normal hiking bags can spawn with:

Vest.gif Vest
ShirtAnim.gif Sweater
ShirtAnim.gif Blouse
Trousers.gif Pants (disambiguation)
SkirtAnim.gif Skirt
Shoes.png Shoes (disambiguation)
SocksAnim.gif Socks
UnderwearAnim.gif Underwear
TZ TentKit.png Tent Kit

Distribution

It can usually be found inside wardrobes, but it is slightly more common to find a duffel bag or school bag. It is also the only bag that can be found inside the police station storage.

Buildings

Building/Room Container Rolls Chance
All Male Corpse 1 0.1
Female Corpse 1 0.1
Wardrobe 4 0.8
Bedroom Wardrobe 2 0.8
Changeroom Locker 2 0.8
Motel Room (occupied) Other 2 0.1
Police Storage Other 4 1
Sport Store Shelves 3 0.8
Clothing Rack 3 0.8
Sport Storage Metal Shelves 3 0.8

Vehicles

Profession Container Rolls Chance
Golf Trunk 2 3
Police Trunk 4 1
Taxi Trunk 3 2

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 40.6
item NormalHikingBag
{
  WeightReduction         = 70,
  Weight                  = 0.5,
  Type                    = Container,
  Capacity                = 20,
  DisplayName             = Normal Hiking Bag,
  Icon                    = Duffelbag,
  CanBeEquipped           = Back,
  OpenSound               = PZ_OpenBag,
  CloseSound              = PZ_CloseBag,
  PutInSound              = PZ_PutInBag,
}

See also