Football: Difference between revisions

From PZwiki
(Created page)
 
(Update distribution file)
 
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Sports}}
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Page version|41.78.16}}
| display_name = Football
{{Infobox item
| name_colour =  
|name=Football
| name_text_colour =
|model=Football_Model.png
| image = Football.png
|icon=Football.png
| image_width = 120px
|weight=0.2
| weight = 0.2
|function=''None''
| function = ''None''
|item_id=Base.Football
| class_name = Base.Football
}}
}}'''Footballs''' are currently a useless {{T|item}}, and often considered as ''junk''.
'''Footballs''' are currently a useless [[Items|item]], and often considered as ''junk''.


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


==Distribution==
==Distribution==
Footballs can be found in lockers and [[vehicles]].  
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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | bedroom
    | {{ll|crate}}
    | 1.01%
    |-
    | closet
    | {{ll|crate}}
    | 1.01%
    |-
    | closet
    | {{ll|crate}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 1.01%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 23.28%
    |-
    | schoolstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | schoolstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | sportstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | storageunit
    | {{ll|crate}}
    | 1.01%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 1.01%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 23.28%
    |}
</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==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item Football
  | lang = java
Weight = 0.2,
  | line = true
Type = Normal,
  | start = 422
DisplayName = Football,
  | source = newitems.txt
Icon = Football,
  | retrieved = true
</pre>
  | version = 41.78.16
  | code =
item Football
    {
        DisplayCategory = Sports,
        Weight = 0.2,
        Type = Normal,
        DisplayName = Football,
        Icon = Football,
        WorldStaticModel = Football,
    }
}}
}}


==See also==
==See also==
* [[Basketball]]
*[[Basketball]]
* [[Baseball]]
*[[Baseball]]
 
{{Navbox items|sports}}

Latest revision as of 12:45, 30 April 2024

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

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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
bedroom crate 1.01%
closet crate 1.01%
closet crate 23.28%
garagestorage crate 1.01%
garagestorage crate 23.28%
livingroom wardrobe 23.28%
schoolstorage crate 23.28%
schoolstorage crate 41.14%
sportstorage crate 23.28%
sportstorage crate 41.14%
storageunit crate 1.01%
storageunit crate 23.28%
storageunit metal_shelves 1.01%
storageunit metal_shelves 23.28%

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

See also