Golf Ball: Difference between revisions

From PZwiki
(Created page)
 
m (Distribution table fix)
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Sports}}
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Page version|41.78.16}}
| display_name = Golf Ball
{{Infobox item
| name_colour =  
|name=Golf Ball
| name_text_colour =  
|model=GolfBall_Model.png
| image = GolfBall.png
|model_width=128px
| image_width = 120px
|icon=GolfBall.png
| weight = 0.1
|weight=0.1
| function = ''None''
|function=''None''
| class_name = Base.GolfBall
|item_id=Base.GolfBall
}}'''Golf balls''' are currently a useless {{T|item}}, and often considered as ''junk''.
}}
'''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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
    </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> item GolfBall
  | lang = java
Weight = 0.1,
  | line = true
Type = Normal,
  | start = 432
DisplayName = GolfBall,
  | source = newitems.txt
Icon = Golfball,
  | retrieved = true
</pre>
  | version = 41.78.16
  | 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}}

Latest revision as of 19:16, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.

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