Golf Bag: Difference between revisions

From PZwiki
m (minor infobox fixes)
m (Distribution table update)
 
(8 intermediate revisions by 3 users not shown)
Line 5: Line 5:
|model=GolfBag_Green_Model.png
|model=GolfBag_Green_Model.png
|icon=GolfBag_Green.png
|icon=GolfBag_Green.png
|icon_name=GolfBag (Green)
|icon_name=Golf Bag (green)
|model2=GolfBag_Red_Model.png
|model2=GolfBag_Red_Model.png
|icon2=GolfBag_Red.png
|icon2=GolfBag_Red.png
|icon_name2=GolfBag (red)
|icon_name2=Golf Bag (red)
|model3=GolfBag_Purple_Model.png
|model3=GolfBag_Purple_Model.png
|icon3=GolfBag_Purple.png
|icon3=GolfBag_Purple.png
|icon_name3=GolfBag (purple)
|icon_name3=Golf Bag (purple)
|model4=GolfBag_Blue_Model.png
|model4=GolfBag_Blue_Model.png
|icon4=GolfBag_Blue.png
|icon4=GolfBag_Blue.png
Line 24: Line 24:
|item_id=Base.Bag_GolfBag
|item_id=Base.Bag_GolfBag
}}
}}
A '''golf bag''' is a container [[Items|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.
A '''golf bag''' is a container [[Items|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==
==Usage==
The golf bag is a middle tier bag, with a carrying capacity and weight reduction slightly lower than that of the [[Hiking Bag|hiking bag]]. Any items stored inside the golf bag will only count as 35% of its original weight 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).
The golf bag is a middle tier bag, with a carrying capacity and encumbrance reduction slightly lower than that of the [[Hiking Bag|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 (build 41):'''
'''Golf bags can spawn with:'''
{|
<div style="column-width: 200px; column-count: 3; margin: 0;">
|[[File:Golfclub.png|link=Golf Club]] || [[Golf Club]]
*[[File:Golfclub.png|link=Golf Club]] [[Golf Club]]
|-
*[[File:GolfBall.png|link=Golf Ball]] [[Golf Ball]]
|[[File:GolfBall.png|link=Golf Ball]] || [[Golf Ball]]
*[[File:GlovesLeatherBlack.png|link=Leather Gloves]] [[Leather Gloves]]
|-
*[[File:HatVisorBlack.png|link=Visor]] [[Visor]]
|[[File:GlovesLeatherBlack.png|link=Leather Gloves]] || [[Leather Gloves]]
*[[File:Pencil.png|link=Pencil]] [[Pencil]]
|-
*[[File:Eraser.png|link=Eraser]] [[Eraser]]
|[[File:HatVisorBlack.png|link=Visor]] || [[Visor]]
*[[File:Notebook.png|link=Empty Notebook]] [[Empty Notebook]]
|-
*[[File:IckySticks.png|link=Cigarettes]] [[Cigarettes]]
|[[File:Pencil.png|link=Pencil]] || [[Pencil]]
</div>
|-
|[[File:Eraser.png|link=Eraser]] || [[Eraser]]
|-
|[[File:Notebook.png|link=Notebook]] || [[Notebook]]
|-
|[[File:IckySticks.png|link=Cigarettes]] || [[Cigarettes]]
|}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|Bag_GolfBag|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>Bag_GolfBag distribution
! Container
        <span class="mw-customtoggle-togglebox-Bag_GolfBag" 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>
! style="width: 3.2em;" | Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Bag_GolfBag">
! style="width: 3.2em;" | Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
|all
    |+ {{ll|Containers}}
|[[locker]]
    ! Building / Room
|4  
    ! Container
|0.5
    ! Rolls
|}
    ! Chance
    |-
    | Not referenced
    | {{ll|GolfLockers}}
    | 4
    | 10.0
    |-
    | all
    | {{ll|locker}}
    | 4
    | 0.5
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | GolfTruckBed
    | 1
    | 100
    |-
    | GolfTruckBed
    | 4
    | 20
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Bag_GolfBag" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Bag_GolfBag|41.78.16-->


===Buildings===
===Buildings===
Line 99: Line 122:
|20
|20
|}
|}
==Trivia==
*The model has "Ivanov" written on it, indicating it's made by the [[Ivanov Factory & Showroom]], a factory located in [[Louisville]].


==Code==
==Code==
Line 104: Line 130:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =
   | start = 4
   | source = clothing_bags.txt
   | source = clothing_bags.txt
   | retrieved = true
   | retrieved = true
Line 111: Line 137:
   | code =
   | code =
item Bag_GolfBag
item Bag_GolfBag
{
    {
  DisplayCategory       = Bag,
        DisplayCategory = Bag,
  Type                   = Container,
        Type = Container,
  WeightReduction       = 65,
        WeightReduction = 65,
  Weight                 = 1.2,
        Weight = 1.2,
  Capacity               = 18,
        Capacity = 18,
  DisplayName           = Golf Bag,
        DisplayName = Golf Bag,
  IconsForTexture       = GolfBag_Blue;GolfBag_Green;GolfBag_Red;GolfBag_Purple,
        IconsForTexture = GolfBag_Blue;GolfBag_Green;GolfBag_Red;GolfBag_Purple,
  CanBeEquipped         = Back,
        CanBeEquipped = Back,
   OpenSound              = OpenBag,
        OpenSound   =   OpenBag,
   CloseSound            = CloseBag,
        CloseSound   =   CloseBag,
   PutInSound            = PutItemInBag,
        PutInSound   =   PutItemInBag,
  ClothingItem           = Bag_GolfBag,
        ClothingItem = Bag_GolfBag,
  BloodLocation         = Bag,
        BloodLocation = Bag,
  RunSpeedModifier       = 0.95,
        RunSpeedModifier = 0.95,
  AttachmentReplacement = Bag,
        AttachmentReplacement = Bag,
  ReplaceInSecondHand   = Bag_GolfBag_LHand holdingbagleft,
        ReplaceInSecondHand = Bag_GolfBag_LHand holdingbagleft,
  ReplaceInPrimaryHand   = Bag_GolfBag_RHand holdingbagright,
        ReplaceInPrimaryHand = Bag_GolfBag_RHand holdingbagright,
  WorldStaticModel       = GolfBag_Ground,
        WorldStaticModel = GolfBag_Ground,
}
    }
  }}
}}
}}
}}


Line 137: Line 163:
*[[Bags]]
*[[Bags]]


{{Navbox equipment|containers}}
{{Navbox items|containers}}

Latest revision as of 15:37, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Golf Bag
GolfBag Green Model.png
GolfBag Red Model.png
GolfBag Purple Model.png
GolfBag Blue Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
1.2 (empty)
6.66 (full)
Equipped
Back
Properties
Capacity
18
Run speed
95% (disabled)
Technical
Item ID
Base.Bag_GolfBag

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.

Bag_GolfBag distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced GolfLockers 4 10.0
all locker 4 0.5
Vehicles
Vehicle Type/Location Rolls Chance
GolfTruckBed 1 100
GolfTruckBed 4 20

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

Trivia

Code

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

Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
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,
    }

See also