Baseball: Difference between revisions
m (Automated class_name fix) |
m (Automated CodeBox update) |
||
(3 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 = Baseball | |name=Baseball | ||
| 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 | |item_id=Base.Baseball | ||
}} | }} | ||
Line 24: | Line 24: | ||
! colspan="4" | Containers | ! colspan="4" | Containers | ||
|- | |- | ||
!Building/Room | ! Building/Room | ||
!Container | ! Container | ||
! style="width: 3.2em;" |Rolls | ! style="width: 3.2em;" | Rolls | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
| | |closet | ||
| [[crate]] | |[[crate]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[crate]] | |rowspan="2"|schoolstorage | ||
|4 | |[[crate]] | ||
|4 | |||
|1 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|2 | |2 | ||
|} | |} | ||
Line 44: | Line 49: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 265 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
Line 50: | Line 55: | ||
| code = | | code = | ||
item Baseball | item Baseball | ||
{ | { | ||
DisplayCategory = Sports, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Baseball, | |||
Icon = Baseball, | |||
WorldStaticModel = BaseBall, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 65: | Line 70: | ||
* [[Basketball]] | * [[Basketball]] | ||
* [[Football]] | * [[Football]] | ||
{{Navbox miscellaneous items|sports}} |
Revision as of 10:07, 26 March 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,
}