Baseball: Difference between revisions

From PZwiki
(→‎Code: code box update)
m (Automated CodeBox update)
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Sports}}
{{header|The Game World|Items|version=Version 41|incver=78.16}}{{Infobox item
{{Page version|41.78.16}}
| display_name = Baseball
{{Infobox item
| name_colour =
|name=Baseball
| name_text_colour =
|model=Baseball_Model.png
| model = Baseball_Model.png
|model_width=200px
| model_width = 200px
|icon=Baseball.png
| icon = Baseball.png
|icon_name=Baseball
| icon_name = Baseball
|category=Sports
| category = Sports
|weight=0.1
| weight = 0.1
|function=''None''
| function = ''None''
|item_id=Base.Baseball
| class_name = Base.Baseball
}}
}}'''Baseballs''' are currently a useless {{T|item}}, and often considered as ''junk''.
 
'''Baseballs''' are currently a useless [[Items|item]], and often considered as ''junk''.


==Usage==
==Usage==
Baseballs have no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting.  
Baseballs have no use, being added purely for the purpose of clutter, creating more realism for the [[player]] when looting.


==Distribution==
==Distribution==
Baseballs can be found in lockers.  
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
|-
|closet
|[[crate]]
|4
|1
|-
|rowspan="2"|schoolstorage
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|}


==Code==
==Code==
Line 25: Line 49:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 265
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 78.16
   | code =
   | code =
item Baseball
item Baseball
{
    {
  DisplayCategory   = Sports,
        DisplayCategory = Sports,
  Weight           = 0.1,
        Weight = 0.1,
  Type             = Normal,
        Type = Normal,
  DisplayName       = Baseball,
        DisplayName = Baseball,
  Icon             = Baseball,
        Icon = Baseball,
  WorldStaticModel = BaseBall,
        WorldStaticModel = BaseBall,
}
    }  
  }}
}}
}}
}}


Line 47: Line 70:
* [[Basketball]]
* [[Basketball]]
* [[Football]]
* [[Football]]
{{Navbox miscellaneous items|sports}}

Revision as of 10:07, 26 March 2024

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

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

Usage

Baseballs 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
closet crate 4 1
schoolstorage crate 4 1
crate 4 2

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 Baseball
    {
        DisplayCategory = Sports,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Baseball,
        Icon	=	Baseball,
        WorldStaticModel = BaseBall,
    }

See also

Template:Navbox miscellaneous items