Doorknob: Difference between revisions
m (crafting template (recipelookout --> crafting X)) |
m (item code update to 41.65) |
||
Line 25: | Line 25: | ||
==Code== | ==Code== | ||
'''''From items.txt (Project Zomboid directory/media/scripts/)''''' | '''''From items.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=41|incver= | {{Retrieved|version=41|incver=65}} | ||
<nowiki> item Doorknob | <nowiki> item Doorknob | ||
Weight | { | ||
Type | DisplayCategory = Material, | ||
DisplayName = Doorknob, | Weight = 0.5, | ||
Icon | Type = Normal, | ||
MetalValue | DisplayName = Doorknob, | ||
Icon = DoorKnob, | |||
MetalValue = 10, | |||
WorldStaticModel = DoorKnob, | |||
} | |||
</nowiki> | </nowiki> | ||
Revision as of 01:39, 11 January 2022
Doorknob | |
---|---|
General | |
Category | Item |
Encumbrance | 0.5 |
Function | Crafting |
Technical details | |
Base 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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 | Ingredient 4 | Ingredient 5 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Drawer |
0.25 Carpentry | none | Hammer (tag) (keep) |
Plank (consumed) |
Doorknob (consumed) |
Nails (consumed) |- |
Door |
0.75 Carpentry | Carpentry 3 | Hammer (tag) (keep) |
Plank x4 (consumed) |
Nails x4 (consumed) |
Door Hinge x2 (consumed) |
Doorknob x1 (consumed) |- |
Double Wooden Door |
6 Carpentry | Carpentry 6 | Hammer (tag) (keep) |
Plank x12 (consumed) |
Nails x12 (consumed) |
Door Hinge x4 (consumed) |
Doorknob x2 (consumed) |
Distribution
It is found mainly in the hardware store, but a destroyed door will always yield a doorknob, along with some planks and some door hinges.
Code
From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65
item Doorknob { DisplayCategory = Material, Weight = 0.5, Type = Normal, DisplayName = Doorknob, Icon = DoorKnob, MetalValue = 10, WorldStaticModel = DoorKnob, }