Tennis Ball: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
m (Automated Formatting)
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|version=Version 41|incver=78.16}}{{Infobox item
{{Header|Project Zomboid|Items|Miscellaneous items|Sports}}
|display_name=Tennis Ball
{{Page version|41.78.16}}
|name_colour=
{{Infobox item
|name_text_colour=
|name=Tennis Ball
|model=TennisBall.png
|model=TennisBall_Model.png
|icon=TennisBall.png
|icon_name=Tennis Ball
|model_width=128px
|model_width=128px
|weight=0.1
|weight=0.1
|function=''None''
|function=''None''
|class_name = Base.TennisBall
|item_id=Base.TennisBall
}}'''Tennis ball''' is a currently a useless {{T|item}}, often considered as ''junk''.
}}
'''Tennis ball''' is a currently a useless [[Items|item]], often considered as ''junk''.


==Usage==
==Usage==
Tennis balls have no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting. They can also be placed for decoration.
Tennis balls have no use, being added purely for the purpose of clutter, creating more realism for the [[player]] when looting. They can also be placed for decoration.


==Distribution==
==Distribution==
Tennis ball can be found in lockers and [[vehicles]].  
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
|-
|all
|[[postbox]]
|4
|1
|-
|bedroom
|[[crate]]
|1
|0.8
|-
|rowspan="2"|closet
|[[crate]]
|4
|8
|-
|[[crate]]
|4
|1
|-
|rowspan="2"|schoolstorage
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|}


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre>
  | lang = java
item TennisBall
  | line = true
Weight = 0.1,
  | start = 741
Type = Normal,
  | source = newitems.txt
DisplayName = Tennis Ball,
  | retrieved = true
Icon = TennisBall,
  | version = 41.78.16
</pre>
  | code =
item TennisBall
    {
        DisplayCategory = Sports,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Tennis Ball,
        Icon = TennisBall,
        WorldStaticModel = TennisBall,
    }
}}
}}


==See also==
==See also==
*[[Basketball]]
*[[Basketball]]
*[[Football]]
*[[Football]]
*[[Tennis Racket]]
{{Navbox items|sports}}

Revision as of 12:43, 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]
Tennis Ball
TennisBall Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.TennisBall

Tennis ball is a currently a useless item, often considered as junk.

Usage

Tennis balls have no use, being added purely for the purpose of clutter, creating more realism for the player when looting. They can also be placed for decoration.

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all postbox 4 1
bedroom crate 1 0.8
closet crate 4 8
crate 4 1
schoolstorage crate 4 1
crate 4 1

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item TennisBall
    {
        DisplayCategory = Sports,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Tennis Ball,
        Icon	=	TennisBall,
        WorldStaticModel = TennisBall,
    }

See also