module Base
{
	xuiSkin default
	{
		entity ES_Wood_DarkWindowframeLvl2
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_DarkWoodWindowFrame(Poor),
			Icon		= Build_walls_exterior_wooden_01_73,
		}
	}

    entity WoodenDarkWindowFrameLvl2
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Wood_DarkWindowframeLvl2,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			health          = 550,
            skillBaseHealth = 20,
			previousStage   = WoodenWallFrame;MetalWallFrame;WoodenWindowFrameLvl1,
			
            face W
            {
                layer
                {
                    row = walls_exterior_wooden_01_72,
                }
            }
            face N
            {
                layer
                {
                    row = walls_exterior_wooden_01_73,
                }
            }
			
			corner = walls_exterior_wooden_01_31,
        }
		
		component CraftRecipe
        {
            OnAddToMenu   = woodenWallLvl2Test,
            timedAction   = BuildWallHammer,
            time          = 200,
            category      = Windows,
            SkillRequired = Woodwork:4,
            xpAward       = Woodwork:40,
            ToolTip       = Tooltip_craft_NeedsWallframeDesc,
            inputs
            {
                item 1 tags[base:hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
				item 2 [Base.Plank],
				item 4 [Base.Nails],
            }
        }
    }
}