module Base
{
	xuiSkin default
	{
		entity ES_Welding_WhiteDoor
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_WhiteMetalDoor,
			Icon		= Build_fixtures_doors_01_58,
		}
	}

    entity Welding_WhiteDoor
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Welding_WhiteDoor,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			skillBaseHealth = 300,
			breakSound      = BreakDoor,
			
            face W
            {
                layer
                {
                    row = fixtures_doors_01_56,
                }
            }
            face N
            {
                layer
                {
                    row = fixtures_doors_01_57,
                }
            }
			face W_OPEN
            {
                layer
                {
					row = fixtures_doors_01_58,
                }
            }
            face N_OPEN
            {
                layer
                {
					row = fixtures_doors_01_59,
                }
            }
        }
		
		component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildWallMetal,
            time          = 200,
            category      = Doors,
            SkillRequired = MetalWelding:3,
            xpAward       = MetalWelding:30,
            ToolTip       = Tooltip_craft_metalDoorDesc,
            inputs
            {
                item 4 [Base.BlowTorch] flags[DontRecordInput],
                item 1 [Base.PaintWhite] flags[DontRecordInput],
                item 3 [Base.SmallSheetMetal],
                item 4 [Base.WeldingRods] flags[DontRecordInput],
				item 2 [Base.Hinge],
				item 1 [Base.Doorknob],
            }
        }
    }
}