Wooden Doorframe

From PZwiki
Revision as of 20:44, 13 January 2024 by Faalagorn (talk | contribs) (Minor)
Project ZomboidItemsConstructionCarpentryWooden Doorframe
AppleRotten.png
This article may be outdated.
Editors are encouraged to update this article with new information.

A wooden doorframe is a structure that the player can build to fortify a structure or create obstacles against zombies.

Wooden doorframes

In-game screenshot of a wooden door frame both with a wooden door and without one as in build 41.78.16.

Wooden doorframes are a defensive structure from the carpentry skill that are used to hold constructable doors for the player to enter/exit. This allows the player easy access to their structure without risking climbing over a wall, or having an exposed gap for zombies to enter through. Doorframes are not attacked by zombies, but the wooden doors built into them can be destroyed by zombies.

Construction

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
Doorframe Carpentry.gif
Wooden Doorframe
5 Carpentry Carpentry 2 Hammer.png
Hammer (tag)
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)

To build a wooden doorframe, a player must have a hammer and the ingredients in their inventory, or on the ground within reach. They must also be have at least level 2 carpentry. Unlike the wooden wall and wooden window, the wooden doorframe does not require a wooden frame to be built first.

Wooden doorframes can be destroyed with a sledgehammer, and can be plastered and painted using paint and a paintbrush.

Code

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

Source: ProjectZomboid\media\scripts\multistagebuild.txt

Retrieved: Build 41.78.16
multistagebuild UpgradeWoodenDoorFrame_1To2
{
    PreviousStage: WoodenDoorFrameLvl1,
    Name: WoodenDoorFrameLvl2,
    TimeNeeded: 200,
    BonusHealth: 200,
    SkillRequired: Woodwork=4,
    ItemsRequired: Base.Plank=1; Base.Nails=4,
    ItemsToKeep: Base.Hammer,
    WallType: doorframe,
    Sprite: walls_exterior_wooden_01_50,
    NorthSprite: walls_exterior_wooden_01_51,
    CraftingSound: Hammering,
    ID: Upgrade to Wooden Door Frame Lvl 2,
    XP: Woodwork=5,
}

multistagebuild UpgradeWoodenDoorFrame_2To3
{
    PreviousStage: WoodenDoorFrameLvl2,
    Name: WoodenDoorFrameLvl3,
    TimeNeeded: 200,
    BonusHealth: 100,
    SkillRequired: Woodwork=7,
    ItemsRequired: Base.Plank=1; Base.Nails=4,
    ItemsToKeep: Base.Hammer,
    CanBePlastered: true,
    WallType: doorframe,
    Sprite: walls_exterior_wooden_01_34,
    NorthSprite: walls_exterior_wooden_01_35,
    CraftingSound: Hammering,
    ID: Upgrade to Wooden Door Frame Lvl 3,
    XP: Woodwork=5,
}

See also