Golf Ball: Difference between revisions
(Created page) |
m (Distribution table fix) |
||
(29 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Sports}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Golf Ball | ||
| | |model=GolfBall_Model.png | ||
| | |model_width=128px | ||
|icon=GolfBall.png | |||
| weight = 0.1 | |weight=0.1 | ||
| function = ''None'' | |function=''None'' | ||
| | |item_id=Base.GolfBall | ||
}}'''Golf balls''' are currently a useless | }} | ||
'''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 | 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== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 432 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| 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
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.
Golf balls can be found in lockers and vehicles.
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item GolfBall
{
DisplayCategory = Sports,
Weight = 0.1,
Type = Normal,
DisplayName = Golf Ball,
Icon = GolfBall,
WorldStaticModel = GolfBall,
}