Pool Ball: Difference between revisions

From PZwiki
m (128px, minor cleanup)
m (Automated Formatting)
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Header|Project Zomboid|Items|Miscellaneous items|Sports}}
| display_name = Pool Ball
{{Page version|41.78.16}}
| name_colour =  
{{Infobox item
| name_text_colour =  
|name=Pool Ball
| image = Poolball.png
|model=PoolBall_Model.png
| image_width = 128px
|model_width=128px
| weight = 0.2
|icon=Poolball.png
| function = ''None''
|category=Sports
| class_name = Base.PoolBall
|weight=0.2
}}'''Pool balls''' are currently a useless {{T|item}}, and often considered as ''junk''.
|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 {{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.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="5"|barstorage
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|5
|}


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

Revision as of 11:12, 14 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.

Containers
Building/Room Container Rolls Chance
barstorage crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5

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