Wooden Doorframe: Difference between revisions
(→Construction: removed unnecessary table) |
(→Code: Codebox Update) |
||
Line 17: | Line 17: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 110 | |||
| source = multistagebuild.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
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== | ==See also== |
Revision as of 05:14, 13 January 2024
A wooden doorframe is a structure that the player can build to fortify a structure or create obstacles against zombies.
Wooden doorframes
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 |
---|---|---|---|---|---|---|
Wooden Doorframe |
5 Carpentry | Carpentry 2 | Hammer (tag) (keep) |
Plank x4 (consumed) |
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
Source: ProjectZomboid\media\scripts\multistagebuild.txt
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,
}