module Base
{
	xuiSkin default
	{
		entity ES_Welding_OfficeYellowDoor
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_OfficeYellowMetalDoor,
			Icon		= Build_fixtures_doors_01_18,
		}
	}

    entity Welding_OfficeYellowDoor
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Welding_OfficeYellowDoor,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			skillBaseHealth = 400,
			breakSound      = BreakDoor,
			
            face W
            {
                layer
                {
                    row = fixtures_doors_01_16,
                }
            }
            face N
            {
                layer
                {
                    row = fixtures_doors_01_17,
                }
            }
			face W_OPEN
            {
                layer
                {
					row = fixtures_doors_01_18,
                }
            }
            face N_OPEN
            {
                layer
                {
					row = fixtures_doors_01_19,
                }
            }
        }
		
		component CraftRecipe
        {
            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.PaintYellow] flags[DontRecordInput],
                item 3 [Base.SmallSheetMetal],
                item 4 [Base.WeldingRods] flags[DontRecordInput],
                item 1 [Base.GlassPanel],
				item 2 [Base.Hinge],
				item 1 [Base.Doorknob],
            }
        }
    }
}