module Base
{
	xuiSkin default
	{
		entity ES_Welding_OfficeBlackDoor
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_OfficeBlackMetalDoor,
			Icon		= Build_fixtures_doors_01_22,
		}
	}

    entity Welding_OfficeBlackDoor
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Welding_OfficeBlackDoor,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			skillBaseHealth = 400,
			breakSound      = BreakDoor,
			
            face W
            {
                layer
                {
                    row = fixtures_doors_01_20,
                }
            }
            face N
            {
                layer
                {
                    row = fixtures_doors_01_21,
                }
            }
			face W_OPEN
            {
                layer
                {
					row = fixtures_doors_01_22,
                }
            }
            face N_OPEN
            {
                layer
                {
					row = fixtures_doors_01_23,
                }
            }
        }
		
		component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildWallMetal,
            time          = 200,
            category      = Doors,
            SkillRequired = MetalWelding:5;Glassmaking:2,
            xpAward       = MetalWelding:50;Glassmaking:20,
            ToolTip       = Tooltip_craft_metalDoorDesc,
            inputs
            {
                item 4 [Base.BlowTorch] flags[DontRecordInput],
                item 1 [Base.PaintBlack] flags[DontRecordInput],
                item 3 [Base.SmallSheetMetal],
                item 4 [Base.WeldingRods] flags[DontRecordInput],
                item 1 [Base.GlassPanel],
				item 2 [Base.Hinge],
				item 1 [Base.Doorknob],
            }
        }
    }
}