module Base
{
	xuiSkin default
	{
		entity ES_Wood_DarkWindowframeLvl3
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_DarkWoodWindowFrame(Good),
			Icon		= Build_walls_exterior_wooden_01_37,
		}
	}

    entity WoodenDarkWindowFrameLvl3
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Wood_DarkWindowframeLvl3,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			health          = 650,
            skillBaseHealth = 20,
			previousStage   = WoodenWallFrame;MetalWallFrame;WoodenWindowFrameLvl1;WoodenWindowFrameLvl2,
			OnCreate = BuildRecipeCode.canBePlastered.OnCreate,
			
            face W
            {
                layer
                {
                    row = walls_exterior_wooden_01_36,
                }
            }
            face N
            {
                layer
                {
                    row = walls_exterior_wooden_01_37,
                }
            }
			
			corner = walls_exterior_wooden_01_31,
        }
		
		component CraftRecipe
        {
            OnAddToMenu   = woodenWallLvl3Test,
            timedAction   = BuildWallHammer,
            time          = 200,
            category      = Windows,
            SkillRequired = Woodwork:6,
            xpAward       = Woodwork:60,
            ToolTip       = Tooltip_craft_NeedsWallframeDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
				item 2 [Base.Plank],
				item 4 [Base.Nails],
            }
        }
    }
}