Golf Ball: Difference between revisions

From PZwiki
m (128px)
m (Distribution table update)
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Header|Project Zomboid|Items|Miscellaneous items|Sports}}
| display_name = Golf Ball
{{Page version|41.78.16}}
| name_colour =  
{{Infobox item
| name_text_colour =  
|name=Golf Ball
| image = GolfBall.png
|model=GolfBall_Model.png
| image_width = 128px
|model_width=128px
| weight = 0.1
|icon=GolfBall.png
| function = ''None''
|weight=0.1
| class_name = Base.GolfBall
|function=''None''
}}'''Golf balls''' are currently a useless {{T|item}}, and often considered as ''junk''.
|item_id=Base.GolfBall
}}
'''Golf balls''' are currently a useless item, and often considered as ''junk''.


==Usage==
==Usage==
Golf balls have no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting.  
Golf balls have no use, being added purely for the purpose of clutter, creating more realism for the player when looting.


==Distribution==
==Distribution==
Golf balls can be found in lockers and [[vehicles]].  
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]].


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre>
  | lang = java
item GolfBall
  | line = true
Weight = 0.1,
  | start = 432
Type = Normal,
  | source = newitems.txt
DisplayName = GolfBall,
  | retrieved = true
Icon = Golfball,
  | version = 41.78.16
</pre>
  | code =
item GolfBall
    {
        DisplayCategory = Sports,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Golf Ball,
        Icon = GolfBall,
        WorldStaticModel = GolfBall,
    }
}}
}}


==See also==
==See also==
*[[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