Doorknob: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
 
(32 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Materials}}
{{Items
{{Page version|41.78.16}}
|image = doorknob.png  
{{Infobox item
|weight = 0.5
|name=Doorknob
|model=DoorKnob_Model.png
|icon=DoorKnob.png
|icon_name=Door Knob
<!--General-->
|category=Material
|weight=0.5
|function=[[Crafting]]
<!--Properties-->
|material=Metal
|material_value=10
<!--Technical-->
|item_id=Base.Doorknob
}}
}}
A '''doorknob''' is an item used in [[carpentry]].


The only purpose of the doorknob is to craft doors, along with wooden planks, door hinges, and some nails. It is found mainly in the hardware store, but a destroyed door will always yield a doorknob, along with some wooden planks and some door hinges. If a user uses a doorknob found off a door that they destroyed and they own the key to that door the new door will also be able to be locked/unlocked with the same key.
==Usage==
The only purpose of the doorknob is to craft [[door]]s and [[drawer]]s.


If the player uses the doorknob from a door they have the [[key]] to, crafting a new door can also be locked/unlocked with the same key.


==Crafting==
==Crafting==
{| class="wikitable sortable" style="text-align:center;"
{{Crafting/sandbox2
|-
|drawer
! Output
|wooden_door
! class="unsortable" | Ingredients
|double_wooden_door
! class="unsortable" | Description
}}
{{RecipeLookup|1001}}
 
|}
==Distribution==
A destroyed door will always yield a doorknob, along with some [[plank]]s and some [[Door Hinge|door hinges]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 119
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Doorknob
{
    DisplayCategory = Material,
Weight = 0.5,
Type = Normal,
DisplayName = Doorknob,
Icon = DoorKnob,
MetalValue = 10,
WorldStaticModel = DoorKnob,
}
}}
}}
 
==See also==
*[[Carpentry]]
*[[Door Hinge]]


[[Category:Construction]]
[[Category:Construction]]
[[Category:Version 0.2.0p]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Metal]]
[[Category:Carpentry materials]]
{{Navbox items|carpentry_materials}}

Latest revision as of 08:07, 14 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]
Doorknob
DoorKnob Model.png
General
Category
Material
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Function
Properties
Material
Metal
Metal quantity
10
Technical
Item ID
Base.Doorknob

A doorknob is an item used in carpentry.

Usage

The only purpose of the doorknob is to craft doors and drawers.

If the player uses the doorknob from a door they have the key to, crafting a new door can also be locked/unlocked with the same key.

Crafting

Product Ingredients Tools Requirements Workstation XP
Drawer.png
Drawer
Plank.png Plank ×1
DoorKnob.png Doorknob ×1
Nails.png Nails ×1

Hammer.png
Hammer (tag)
none none 0.25 Carpentry
WoodenDoor Carpentry.gif
Door
Plank.png Plank ×4
Nails.png Nails ×4
Doorhinge.png Door Hinge ×2
DoorKnob.png Doorknob ×1

Hammer.png
Hammer (tag)
Carpentry 3 none 0.75 Carpentry
DoubleWoodenDoor Carpentry.png
Double Wooden Door
Plank.png Plank ×12
Nails.png Nails ×12
Doorhinge.png Door Hinge ×4
DoorKnob.png Doorknob ×2

Hammer.png
Hammer (tag)
Carpentry 6 none 6 Carpentry

Distribution

A destroyed door will always yield a doorknob, along with some planks and some door hinges.

Code

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

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Doorknob
	{
	    DisplayCategory = Material,
		Weight	=	0.5,
		Type	=	Normal,
		DisplayName	=	Doorknob,
		Icon	=	DoorKnob,
		MetalValue = 10,
		WorldStaticModel = DoorKnob,
	}

See also