Pool Ball: Difference between revisions

From PZwiki
(Checked and updated to version 40.43)
(Update distribution file)
 
(28 intermediate revisions by 6 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 = Pool Ball
{{Infobox item
| name_colour =  
|name=Pool Ball
| name_text_colour =  
|model=PoolBall_Model.png
| image = Poolball.png
|model_width=128px
| image_width = 120px
|icon=Poolball.png
| weight = 0.2
|category=Sports
| function = ''None''
|weight=0.2
| class_name = Base.PoolBall
|function=''None''
}}'''Pool balls''' are currently a useless {{T|item}}, and often considered as ''junk''.
|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 {{T|player}} when looting.  
Pool balls have no use, being added purely for the purpose of clutter, creating more realism for the player when looting.


==Distribution==
==Distribution==
Pool balls can be found in bars.  
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==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item PoolBall
  | lang = java
Weight = 0.2,
  | line = true
Type = Normal,
  | start = 365
DisplayName = Pool Ball,
  | source = items.txt
Icon = PoolBall,
  | retrieved = true
</pre>
  | 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

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Pool Ball
PoolBall Model.png
General
Category
Sports
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
None
Technical
Item ID
Base.PoolBall

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.
Containers
Building/Room Container Effective chance
barstorage crate 23.28%
barstorage crate 41.14%
barstorage crate 76.55%

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item PoolBall
	{
	    DisplayCategory = Sports,
		Weight	=	0.2,
		Type	=	Normal,
		DisplayName	=	Pool Ball,
		Icon	=	Poolball,
		WorldStaticModel = PoolBall,
	}

See also