Pool Ball: Difference between revisions
(Checked and updated to version 40.43) |
(Update distribution file) |
||
(28 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Sports}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Pool Ball | ||
| | |model=PoolBall_Model.png | ||
| | |model_width=128px | ||
| | |icon=Poolball.png | ||
| weight = 0.2 | |category=Sports | ||
| function = ''None'' | |weight=0.2 | ||
| | |function=''None'' | ||
}}''' | |item_id=Base.PoolBall | ||
}} | |||
A '''pool ball''' is currently a useless item, and often considered as ''junk''. | |||
==Usage== | ==Usage== | ||
Pool balls have no use, being added purely for the purpose of clutter, creating more realism for the | Pool balls have no use, being added purely for the purpose of clutter, creating more realism for the player when looting. | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|PoolBall|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>PoolBall distribution | |||
<span class="mw-customtoggle-togglebox-PoolBall" 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-PoolBall"> | |||
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 id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| barstorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| barstorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| barstorage | |||
| {{ll|crate}} | |||
| 76.55% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-PoolBall" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|PoolBall|41.78.16--> | |||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
Weight | | line = true | ||
Type | | start = 365 | ||
DisplayName | | source = items.txt | ||
Icon = PoolBall, | | retrieved = true | ||
| version = 41.78.16 | |||
| code = | |||
item PoolBall | |||
{ | |||
DisplayCategory = Sports, | |||
Weight = 0.2, | |||
Type = Normal, | |||
DisplayName = Pool Ball, | |||
Icon = Poolball, | |||
WorldStaticModel = PoolBall, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
* [[Basketball]] | *[[Basketball]] | ||
* [[Football]] | *[[Football]] | ||
{{Navbox items|sports}} |
Latest revision as of 13:36, 30 April 2024
A pool ball is currently a useless item, and often considered as junk.
Usage
Pool 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.
PoolBall 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.
Building/Room | Container | Effective chance |
---|---|---|
barstorage | crate | 23.28% |
barstorage | crate | 41.14% |
barstorage | crate | 76.55% |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items.txt
item PoolBall
{
DisplayCategory = Sports,
Weight = 0.2,
Type = Normal,
DisplayName = Pool Ball,
Icon = Poolball,
WorldStaticModel = PoolBall,
}