Football: Difference between revisions
m (Removed {{clear}} line above ==Distribution==) |
m (Distribution table update) |
||
(12 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=Football | ||
|model=Football_Model.png | |||
|icon=Football.png | |||
| model = Football_Model.png | |weight=0.2 | ||
| icon = Football.png | |function=''None'' | ||
| weight = 0.2 | |item_id=Base.Football | ||
| function = ''None'' | |||
| | |||
}} | }} | ||
'''Footballs''' are currently a useless [[item]], and often considered as ''junk''. | '''Footballs''' are currently a useless [[Items|item]], and often considered as ''junk''. | ||
==Usage== | ==Usage== | ||
Line 19: | Line 17: | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|Football|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Football distribution | |||
<span class="mw-customtoggle-togglebox-Football" 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-Football"> | |||
<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 | ||
| 4 | ! Container | ||
| | ! Rolls | ||
|- | ! Chance | ||
| | |- | ||
|4 | | 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-Football" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Football|41.78.16--> | |||
==Code== | ==Code== | ||
Line 42: | Line 61: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 422 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
Line 48: | Line 67: | ||
| code = | | code = | ||
item Football | item Football | ||
{ | { | ||
DisplayCategory = Sports, | |||
Weight = 0.2, | |||
Type = Normal, | |||
DisplayName = Football, | |||
Icon = Football, | |||
WorldStaticModel = Football, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 62: | Line 81: | ||
*[[Basketball]] | *[[Basketball]] | ||
*[[Baseball]] | *[[Baseball]] | ||
{{Navbox items|sports}} |
Revision as of 15:31, 24 April 2024
Footballs are currently a useless item, and often considered as junk.
Usage
Footballs 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.
Football distribution
Show / Hide
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 |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item Football
{
DisplayCategory = Sports,
Weight = 0.2,
Type = Normal,
DisplayName = Football,
Icon = Football,
WorldStaticModel = Football,
}