module Base
{
    entity WoodenDoorLvl2
    {
        component UiConfig
        {
            xuiSkin = default,
            entityStyle = ES_Wood_DoorLvl2,
            uiEnabled = false,
        }
        component SpriteConfig
        {
            skillBaseHealth = 300,
            BreakSound = BreakDoor,
            face W
            {
                layer
                {
                    row = carpentry_01_52,
                }
            }
            face N
            {
                layer
                {
                    row = carpentry_01_53,
                }
            }
            face W_OPEN
            {
                layer
                {
                    row = carpentry_01_54,
                }
            }
            face N_OPEN
            {
                layer
                {
                    row = carpentry_01_55,
                }
            }
        }
        component CraftRecipe
        {
            OnAddToMenu = woodenDoorLvl2Test,
            timedAction = BuildWallHammer,
            time = 200,
            category = Doors,
            SkillRequired = Woodwork:5,
            xpAward = Woodwork:50,
            Tooltip = Tooltip_craft_woodenDoorDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 4 [Base.Plank],
                item 4 [Base.Nails],
                item 2 [Base.Hinge],
                item 1 [Base.Doorknob],
            }
        }
    }
}
