Screws: Difference between revisions

From PZwiki
m (Automated {{Languages}} removal.)
m (Minor fixes)
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Header/sandbox2|Project Zomboid|Items|Materials|Metal}}
{{Header|Project Zomboid|Items|Materials|Metal}}
{{page version|40.26}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|display_name=Screws
|name=Screws
|model=Screws Model.png
|model=Screws_Model.png
|icon=Screws.png
|icon=Screws.png
|icon_name=Screws
|icon_name=Screws
Line 10: Line 10:
|icon_name2=Box of Screws
|icon_name2=Box of Screws
|weight='''Single:''' 0.003<br>'''Box:''' 0.3
|weight='''Single:''' 0.003<br>'''Box:''' 0.3
|primary_use=Repairing vehicle parts
|function=Repairing vehicle parts
|class_name = Base.Screws<br>Base.ScrewsBox
|item_id=Base.Screws
}}'''Screws''' are components used in [[Mechanics]]
|item_id2=Base.ScrewsBox
}}
'''Screws''' are components used in [[Mechanics]]
 
==Overview==
Boxes of screws contain 100 screws. You can turn a box of screws into 100 screws and vice versa using the crafting menus. Unlike boxes of nails or ammunition, boxes of screws do not provide any encumbrance reductions for you over unboxed screws. They weigh the same amount.


==Usage==
==Usage==
Screws are used in repairing vehicle parts. This is currently the only use for them.
Screws are used in repairing vehicle parts. This is currently the only use for them.
===Box of Screws===
Boxes of screws contain 100 screws. You can turn a box of screws into 100 screws and vice versa using the crafting menus. Unlike boxes of nails or ammunition, boxes of screws do not provide any encumbrance reductions for you over unboxed screws. They weigh the same amount.


==Crafting==
==Crafting==
===General===
===General===
{{Crafting header|ing=1}}
{{Crafting/sandbox2
{{Crafting general|019|ing=1}}
|screws
{{Crafting general|020|ing=1}}
|box_of_screws
|}
}}


===Metalworking===
===Metalworking===
{{Crafting header|ing=3}}
{{Crafting/sandbox2
{{Crafting metalworking|704|ing=3}}
|hood2
{{Crafting metalworking|706|ing=3}}
|trunk_lid2
|}
}}


==Distribution==
==Distribution==
Boxes of screws can be found in tool stores, factories, warehouses, and sheds.
The loot distributions can be found in the table(s) below.


Most wooden fences found in the world provides an easy source of screws when you disassemble them.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|bedroom
|[[crate]]
|1
|0.8
|-
|cabinetfactory
|[[crate]]
|4
|8
|-
|carsupply
|[[counter]]
|4
|8
|-
|closet
|[[crate]]
|4
|8
|-
|garagestorage
|[[counter]]
|4
|8
|-
|gasstorage
|[[counter]]
|4
|8
|-
|metalshipping
|[[metal_shelves]]
|4
|8
|-
|pawnshop
|[[counter]]
|4
|8
|-
|toolstore
|[[counter]]
|4
|4
|-
|toolstorestorage
|[[metal_shelves]]
|4
|8
|}


Disassembling some metal objects can also yield several screws.
Disassembling some metal objects can also yield screws.


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:Screws.png]] {{ID|Base.Screws}}<br>
 
{{CodeSnip
''Screws'' [[File:Screws.png]]
  | lang = java
{{Retrieved|version=41.65}}
  | line = true
<pre>
  | start = 1691
item Screws
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Screws
     {
     {
         DisplayCategory     = Material,
         DisplayCategory = Material,
         Count             = 5,
         Count = 5,
         Weight             = 0.003,
         Weight = 0.003,
         AlwaysWelcomeGift   = TRUE,
         AlwaysWelcomeGift = TRUE,
         Type             = Normal,
         Type = Normal,
         DisplayName     = Screws,
         DisplayName = Screws,
         Icon             = Screws,
         Icon = Screws,
         MetalValue         = 1,
         MetalValue = 1,
         WorldStaticModel   = Screws,
         WorldStaticModel = Screws,
     }
     }
</pre>
}}


''Box of Screws'' [[File:ScrewsBox.png]]
[[File:ScrewsBox.png]] {{ID|Base.ScrewsBox}}<br>
{{Retrieved|version=41.65}}
{{CodeSnip
<pre>
  | lang = java
item ScrewsBox
  | line = true
  | start = 1680
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item ScrewsBox
     {
     {
         DisplayCategory     = Material,
         DisplayCategory = Material,
         Weight             = 0.3,
         Weight = 0.3,
         Type             = Normal,
         Type = Normal,
         DisplayName     = Box of Screws,
         DisplayName = Box of Screws,
         Icon             = ScrewsBox,
         Icon = ScrewsBox,
         MetalValue         = 100,
         MetalValue = 100,
         WorldStaticModel   = ScrewsBox,
         WorldStaticModel = ScrewsBox,
     }
     }
</pre>
}}
}}


==See also==
==See also==
*[[Metalworking]]
*[[Metalworking]]
{{Navbox items|metalwork_materials}}


[[Category:Materials]]
[[Category:Materials]]
[[Category:Metalwork materials]]
[[Category:Metalwork materials]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]

Revision as of 21:00, 19 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]
Screws
Screws Model.png
ScrewsBox Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
Single: 0.003
Box: 0.3
Function
Repairing vehicle parts
Technical
Item ID
Base.Screws
Base.ScrewsBox

Screws are components used in Mechanics

Overview

Boxes of screws contain 100 screws. You can turn a box of screws into 100 screws and vice versa using the crafting menus. Unlike boxes of nails or ammunition, boxes of screws do not provide any encumbrance reductions for you over unboxed screws. They weigh the same amount.

Usage

Screws are used in repairing vehicle parts. This is currently the only use for them.

Crafting

General

Product Ingredients Tools Requirements Workstation XP
Screws.png
Screws ×100
ScrewsBox.png Box of Screws ×1 none none none none
ScrewsBox.png
Box of Screws
Screws.png Screws ×100 none none none none

Metalworking

Product Ingredients Tools Requirements Workstation XP
EngineDoor.png
Hood
EngineDoor.png Hood ×1
Screws.png Screws ×8
SheetMetal.png Metal Sheet ×1
none Mechanics 2 none 1 Mechanics
EngineDoor.png
Trunk Lid
EngineDoor.png Hood ×1
Screws.png Screws ×8
SheetMetal.png Metal Sheet ×1
none Mechanics 2 none 1 Mechanics

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
bedroom crate 1 0.8
cabinetfactory crate 4 8
carsupply counter 4 8
closet crate 4 8
garagestorage counter 4 8
gasstorage counter 4 8
metalshipping metal_shelves 4 8
pawnshop counter 4 8
toolstore counter 4 4
toolstorestorage metal_shelves 4 8

Disassembling some metal objects can also yield screws.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Screws.png Base.Screws
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Screws
    {
        DisplayCategory = Material,
        Count	=	5,
        Weight	=	0.003,
        AlwaysWelcomeGift	=	TRUE,
        Type	=	Normal,
        DisplayName	=	Screws,
        Icon	=	Screws,
        MetalValue = 1,
        WorldStaticModel = Screws,
    }

ScrewsBox.png Base.ScrewsBox
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item ScrewsBox
    {
        DisplayCategory = Material,
        Weight	=	0.3,
        Type	=	Normal,
        DisplayName	=	Box of Screws,
        Icon	=	ScrewsBox,
        MetalValue = 100,
        WorldStaticModel = ScrewsBox,
    }

See also