Golf Bag
A golf bag is a container item. It can be worn on the player’s back, allowing items to be carried with a weight reduction. The golf bag has blue, green, red, and purple color variants, the difference is purely visual.
Usage
The golf bag is a middle tier bag, with a carrying capacity and encumbrance reduction slightly lower than that of the hiking bag. Any items stored inside the golf bag will only count as 35% of its original encumbrance when calculated with the player’s overall encumbrance (an item with 2 encumbrance would weigh the player down by 1.3 encumbrance. Note that the item itself still takes up 2 encumbrance when taking up space in the bag).
Golf bags can spawn with:
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | locker | 4 | 0.5 |
Buildings
Building/Room | Container | Rolls | Chance |
---|---|---|---|
Golf Course | Locker | 4 | 10 |
Classy | Locker | 4 | 0.5 |
Vehicles
Profession | Container | Rolls | Chance |
---|---|---|---|
Golfer | Trunk | 4 | 20 |
Code
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt
item Bag_GolfBag
{
DisplayCategory = Bag,
Type = Container,
WeightReduction = 65,
Weight = 1.2,
Capacity = 18,
DisplayName = Golf Bag,
IconsForTexture = GolfBag_Blue;GolfBag_Green;GolfBag_Red;GolfBag_Purple,
CanBeEquipped = Back,
OpenSound = OpenBag,
CloseSound = CloseBag,
PutInSound = PutItemInBag,
ClothingItem = Bag_GolfBag,
BloodLocation = Bag,
RunSpeedModifier = 0.95,
AttachmentReplacement = Bag,
ReplaceInSecondHand = Bag_GolfBag_LHand holdingbagleft,
ReplaceInPrimaryHand = Bag_GolfBag_RHand holdingbagright,
WorldStaticModel = GolfBag_Ground,
}