Basketball: Difference between revisions

From PZwiki
m (Automated class_name fix)
m (Insert empty line above each {{Navbox}})
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name = Basketball
|name=Basketball
| name_colour =
|model=Basketball_Model.png
| name_text_colour =
|model_width=200px
| model = Basketball_Model.png
|icon_name=Basketball
| model_width = 200px
|icon=Basketball.png
| icon_name = Basketball
|category=Sports
| icon = Basketball.png
|weight=0.2
| category = Sports
|function=''None''
| weight = 0.2
|item_id=Base.Basketball
| function = ''None''
|item_id = Base.Basketball
}}
}}
'''Basketballs''' are currently a useless [[Items|item]], and often considered as ''junk''.
'''Basketballs''' are currently a useless [[Items|item]], and often considered as ''junk''.


Line 21: Line 18:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Basketball|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Basketball distribution
        <span class="mw-customtoggle-togglebox-Basketball" 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-Basketball">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | schoolstorage
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | schoolstorage
    | {{ll|crate}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Basketball" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Basketball|41.78.16-->
Basketballs can be found in lockers.
Basketballs can be found in lockers.


Line 28: Line 65:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 275
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
Line 34: Line 71:
   | code =
   | code =
item Basketball
item Basketball
{
    {
  DisplayCategory   = Sports,
        DisplayCategory = Sports,
  Weight           = 0.2,
        Weight = 0.2,
  Type             = Normal,
        Type = Normal,
  DisplayName       = Basketball,
        DisplayName = Basketball,
  Icon             = Basketball,
        Icon = Basketball,
  WorldStaticModel = BasketBall,
        WorldStaticModel = BasketBall,
}
    }
  }}
}}
}}
}}


Line 48: Line 85:
* [[Baseball]]
* [[Baseball]]
* [[Football]]
* [[Football]]
{{Navbox items|sports}}

Revision as of 13:42, 25 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]
Basketball
Basketball Model.png
General
Category
Sports
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
None
Technical
Item ID
Base.Basketball

Basketballs are currently a useless item, and often considered as junk.

Usage

Basketballs 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.

Basketball distribution Show / Hide
Containers
Building / Room Container Rolls Chance
bedroom crate 1 1.0
closet crate 4 10.0
schoolstorage crate 4 20.0
schoolstorage crate 4 10.0

Basketballs can be found in lockers.

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 Basketball
    {
        DisplayCategory = Sports,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	Basketball,
        Icon	=	Basketball,
        WorldStaticModel = BasketBall,
    }

See also