Golf Ball: Difference between revisions
(Automated distribution table) |
m (Distribution table update) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Page version|41.78.16}} | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name = Golf Ball | |name=Golf Ball | ||
|model=GolfBall_Model.png | |||
|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'' | |||
|item_id = 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 21: | Line 18: | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|Golfball|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
! Building/Room | <div>Golfball distribution | ||
! Container | <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> | ||
! style="width: | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Golfball"> | ||
! style=" | <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 40: | Line 95: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item GolfBall | |||
{ | { | ||
DisplayCategory = Sports, | DisplayCategory = Sports, | ||
Line 49: | Line 104: | ||
WorldStaticModel = GolfBall, | WorldStaticModel = GolfBall, | ||
} | } | ||
}} | |||
}} | }} | ||
Line 55: | Line 110: | ||
*[[Basketball]] | *[[Basketball]] | ||
*[[Football]] | *[[Football]] | ||
{{Navbox items|sports}} |
Revision as of 15:37, 24 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.
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 |
Vehicle Type/Location | Rolls | Chance |
---|---|---|
GolfGloveBox | 4 | 20 |
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,
}