Baseball: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(→‎Code: code box update)
Line 21: Line 21:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>    item Baseball
  | lang = java
    {
  | line = true
        DisplayCategory = Sports,
  | start = 0
        Weight = 0.1,
  | source = newitems.txt
        Type = Normal,
  | retrieved = true
        DisplayName = Baseball,
  | version = 41
        Icon = Baseball,
  | incver = 78.16
        WorldStaticModel = BaseBall,
  | code =
    }</pre>
item Baseball
{
  DisplayCategory   = Sports,
  Weight           = 0.1,
  Type             = Normal,
  DisplayName       = Baseball,
  Icon             = Baseball,
  WorldStaticModel = BaseBall,
}
  }}
}}


==See also==
==See also==

Revision as of 09:05, 8 January 2024

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

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

See also