Button: Difference between revisions

From PZwiki
(Created page)
 
m (Insert empty line above each {{Navbox}})
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Page version|41.78.16}}
| display_name = Button
{{Infobox item
| name_colour =  
|name=Button
| name_text_colour =  
|model=Button_Model.png
| image = Button.png
|model_width=200px
| image_width = 120px
|icon=Button.png
| weight = 0.1
|icon_name=Button
| function = ''None''
|category=Junk
| class_name = Base.Button
|weight=0.1
}}'''Buttons''' are currently a useless {{T|item}}, and often considered as ''junk''.
|function=''None''
|item_id=Base.Button
}}
'''Buttons''' are currently a useless {{ll|item}}, and often considered as ''junk''.


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


==Distribution==
==Distribution==
Buttons can be found in sewing stores.  
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Button|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Button distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Button">
    <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
    ! Container
    ! Rolls
    ! Chance
    |-
    | departmentstorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | sewingstorage
    | {{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==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item Button
  | lang = java
Weight = 0.1,
  | line = true
Type = Normal,
  | start = 296
DisplayName = Button,
  | source = newitems.txt
Icon = Button,
  | retrieved = true
</pre>
  | version = 41.78.16
  | code =
item Button
    {
        DisplayCategory = Junk,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Button,
        Icon = Button,
        WorldStaticModel = Button,
    }
}}
}}


==See also==
==See also==
* [[Comb]]
* [[Comb]]
* [[Knitting Needles]]
* [[Knitting Needles]]
{{Navbox items|junk}}

Latest revision as of 14:41, 25 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