Button: Difference between revisions
m (Automated {{T| replacement) |
m (Distribution table update) |
||
(5 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 = Button | |name=Button | ||
|model=Button_Model.png | |||
|model_width=200px | |||
| model = Button_Model.png | |icon=Button.png | ||
| model_width = 200px | |icon_name=Button | ||
| icon = Button.png | |category=Junk | ||
| icon_name = Button | |weight=0.1 | ||
| category = Junk | |function=''None'' | ||
| weight = 0.1 | |item_id=Base.Button | ||
| function = ''None'' | |||
|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 23: | Line 20: | ||
The loot distributions can be found in the table(s) below. | 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%;" | ||
|departmentstorage | |+ {{ll|Containers}} | ||
| | ! Building / Room | ||
|4 | ! Container | ||
| | ! Rolls | ||
|- | ! Chance | ||
|- | |||
| | | departmentstorage | ||
|4 | | {{ll|metal_shelves}} | ||
|6 | | 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== | ||
Line 51: | Line 54: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 296 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
Line 57: | Line 60: | ||
| code = | | code = | ||
item Button | item Button | ||
{ | { | ||
DisplayCategory = Junk, | |||
Weight = 0.1, | |||
Type = Normal, | |||
DisplayName = Button, | |||
Icon = Button, | |||
WorldStaticModel = Button, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 71: | Line 74: | ||
* [[Comb]] | * [[Comb]] | ||
* [[Knitting Needles]] | * [[Knitting Needles]] | ||
{{Navbox junk}} | {{Navbox items|junk}} |
Revision as of 15:06, 24 April 2024
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
Building / Room | Container | Rolls | Chance |
---|---|---|---|
departmentstorage | metal_shelves | 4 | 10.0 |
sewingstorage | metal_shelves | 4 | 6.0 |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item Button
{
DisplayCategory = Junk,
Weight = 0.1,
Type = Normal,
DisplayName = Button,
Icon = Button,
WorldStaticModel = Button,
}