Baseball: Difference between revisions
(added model + update code block) |
m (Automated Formatting) |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Sports}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Baseball | ||
|model=Baseball_Model.png | |||
|model_width=200px | |||
| | |icon=Baseball.png | ||
| | |icon_name=Baseball | ||
| | |category=Sports | ||
| category = Sports | |weight=0.1 | ||
| weight = 0.1 | |function=''None'' | ||
| function = ''None'' | |item_id=Base.Baseball | ||
| | }} | ||
}}'''Baseballs''' are currently a useless | '''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 | Baseballs have no use, being added purely for the purpose of clutter, creating more realism for the [[player]] when looting. | ||
==Distribution== | ==Distribution== | ||
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== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 265 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Baseball | |||
{ | { | ||
DisplayCategory = Sports, | DisplayCategory = Sports, | ||
Line 31: | Line 61: | ||
Icon = Baseball, | Icon = Baseball, | ||
WorldStaticModel = BaseBall, | WorldStaticModel = BaseBall, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 37: | Line 69: | ||
* [[Basketball]] | * [[Basketball]] | ||
* [[Football]] | * [[Football]] | ||
{{Navbox items|sports}} |
Revision as of 06:26, 14 April 2024
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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item Baseball
{
DisplayCategory = Sports,
Weight = 0.1,
Type = Normal,
DisplayName = Baseball,
Icon = Baseball,
WorldStaticModel = BaseBall,
}