Button: Difference between revisions

From PZwiki
m (Automated CodeBox update)
m (Distribution table update)
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
|item_id=Base.Button
|item_id=Base.Button
}}
}}
'''Buttons''' are currently a useless {{ll|item}}, and often considered as ''junk''.
'''Buttons''' are currently a useless {{ll|item}}, and often considered as ''junk''.


Line 21: Line 20:
The loot distributions can be found in the table(s) below.
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;"
<!--BOT FLAG|Button|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>Button distribution
! Container
        <span class="mw-customtoggle-togglebox-Button" 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>
! style="width: 3.2em;" | Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Button">
! style="width: 3.2em;" | Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
|departmentstorage  
    |+ {{ll|Containers}}
|[[metal_shelves]]
    ! Building / Room
|4  
    ! Container
|1
    ! Rolls
|-
    ! Chance
|rowspan="2"|sewingstorage  
    |-
|[[metal_shelves]]
    | departmentstorage
|4  
    | {{ll|metal_shelves}}
|6
    | 4
|-
    | 10.0
|[[metal_shelves]]
    |-
|4
    | sewingstorage
|6
    | {{ll|metal_shelves}}
|}
    | 4
    | 6.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Button" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Button|41.78.16-->


==Code==
==Code==
Line 62: Line 67:
         Icon = Button,
         Icon = Button,
         WorldStaticModel = Button,
         WorldStaticModel = Button,
     }  
     }
}}
}}
}}
}}
Line 69: Line 74:
* [[Comb]]
* [[Comb]]
* [[Knitting Needles]]
* [[Knitting Needles]]
{{Navbox miscellaneous items|junk}}
{{Navbox items|junk}}

Revision as of 15:06, 24 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]
Button
Button Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.Button

Buttons are currently a useless item, and often considered as junk.

Usage

Buttons 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.

Button distribution Show / Hide
Containers
Building / Room Container Rolls Chance
departmentstorage metal_shelves 4 10.0
sewingstorage metal_shelves 4 6.0

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 Button
    {
        DisplayCategory = Junk,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Button,
        Icon	=	Button,
        WorldStaticModel = Button,
    }

See also