Pool Ball: Difference between revisions

From PZwiki
(The item exists, so it should not be deleted. A full knowledge info is always useful.)
(Update distribution file)
 
(29 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{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
|category=Sports
|weight=0.2
|function=''None''
|item_id=Base.PoolBall
}}
A '''pool ball''' is currently a useless item, and often considered as ''junk''.


{{Items
==Usage==
|image = Pool Ball.png
Pool balls have no use, being added purely for the purpose of clutter, creating more realism for the player when looting.
|weight = 0.2
}}


The pool ball is a rare item, and it does not have any purposes except for adding weight on to the player's inventory.
==Distribution==
The loot distributions can be found in the table(s) below.


== Code ==
<!--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-->


<pre>
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 365
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PoolBall
item PoolBall
{
{
Type = Normal,
    DisplayCategory = Sports,
DisplayName = Pool Ball,
Weight = 0.2,
Icon = Poolball,
Type = Normal,
Weight = 0.2
DisplayName = Pool Ball,
}
Icon = Poolball,
</pre>
WorldStaticModel = PoolBall,
}
}}
}}
 
==See also==
*[[Basketball]]
*[[Football]]


[[Category:Unique]]
{{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