Golf Ball: Difference between revisions

From PZwiki
m (Removing trailing whitespace(s))
m (Distribution table update)
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Sports}}
{{Header/sandbox2|Project Zomboid|Items|Miscellaneous items|Sports}}
{{Page version|41.78.16}}
{{Page version|40.43}}
{{Infobox item
{{Infobox item
| display_name = Golf Ball
|name=Golf Ball
| name_colour =
|model=GolfBall_Model.png
| name_text_colour =
|model_width=128px
| model = GolfBall_Model.png
|icon=GolfBall.png
| model_width = 128px
|weight=0.1
| icon=GolfBall.png
|function=''None''
| weight = 0.1
|item_id=Base.GolfBall
| function = ''None''
| class_name = Base.GolfBall
}}
}}
'''Golf balls''' are currently a useless item, and often considered as ''junk''.
'''Golf balls''' are currently a useless item, and often considered as ''junk''.
Line 19: Line 16:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Golfball|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Golfball distribution
        <span class="mw-customtoggle-togglebox-Golfball" 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-Golfball">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|GolfLockers}}
    | 4
    | 10.0
    |-
    | Not referenced
    | {{ll|GolfLockers}}
    | 4
    | 20.0
    |-
    | all
    | {{ll|Bag_GolfBag}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|Bag_GolfBag}}
    | 1
    | 50.0
    |-
    | all
    | {{ll|Bag_GolfBag}}
    | 1
    | 200.0
    |-
    | all
    | {{ll|Bag_GolfBag}}
    | 1
    | 20.0
    |-
    | all
    | {{ll|Outfit_Golfer}}
    | 1
    | 10.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | GolfGloveBox
    | 4
    | 20
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Golfball" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Golfball|41.78.16-->
Golf balls can be found in lockers and [[vehicles]].
Golf balls can be found in lockers and [[vehicles]].


Line 26: Line 90:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 432
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 40.43
   | version = 41.78.16
   | code =
   | code =
item GolfBall
item GolfBall
{
    {
  Weight     = 0.1,
        DisplayCategory = Sports,
  Type       = Normal,
        Weight = 0.1,
  DisplayName = GolfBall,
        Type = Normal,
  Icon        = Golfball,
        DisplayName = Golf Ball,
}
        Icon = GolfBall,
  }}
        WorldStaticModel = GolfBall,
    }
}}
}}
}}


Line 44: Line 110:
*[[Basketball]]
*[[Basketball]]
*[[Football]]
*[[Football]]
{{Navbox items|sports}}

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 Ball
GolfBall Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.GolfBall

Golf balls are currently a useless item, and often considered as junk.

Usage

Golf balls have no use, being added purely for the purpose of clutter, creating more realism for the player when looting.

Distribution

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

Golfball distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced GolfLockers 4 10.0
Not referenced GolfLockers 4 20.0
all Bag_GolfBag 1 10.0
all Bag_GolfBag 1 50.0
all Bag_GolfBag 1 200.0
all Bag_GolfBag 1 20.0
all Outfit_Golfer 1 10.0
Vehicles
Vehicle Type/Location Rolls Chance
GolfGloveBox 4 20

Golf balls can be found in lockers and vehicles.

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item GolfBall
    {
        DisplayCategory = Sports,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Golf Ball,
        Icon	=	GolfBall,
        WorldStaticModel = GolfBall,
    }

See also