Button: Difference between revisions
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. | ||
{ | <!--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 62: | Line 67: | ||
Icon = Button, | Icon = Button, | ||
WorldStaticModel = Button, | WorldStaticModel = Button, | ||
} | } | ||
}} | }} | ||
}} | }} | ||
Line 69: | Line 74: | ||
* [[Comb]] | * [[Comb]] | ||
* [[Knitting Needles]] | * [[Knitting Needles]] | ||
{{Navbox | {{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,
}