Golf Ball: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
m (Distribution table update)
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|version=Version 40|incver=43}}{{Infobox item
{{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
| model = GolfBall.png
|model=GolfBall_Model.png
| model_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==
Line 21: 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
   | version = 41.78.16
  | incver = 43
   | 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 40: 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