module Base
{
	xuiSkin default
	{
		entity ES_Industry_RailroadBrownDoorFrame
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_BrownRailroadDoorFrame,
			Icon		= Build_industry_railroad_05_35,
		}
	}

    entity Industry_RailroadBrownDoorFrame
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Industry_RailroadBrownDoorFrame,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			skillBaseHealth = 300,
			isThumpable     = false,
			OnIsValid = BuildRecipeCode.doorFrame.OnIsValid,
			
            face W
            {
                layer
                {
                    row = industry_railroad_05_34,
                }
            }
            face N
            {
                layer
                {
                    row = industry_railroad_05_35,
                }
            }
			
			corner = industry_railroad_05_27,
        }
		
		component CraftRecipe
        {
			timedAction   = BuildWallMetal,
            time          = 200,
            category      = Doors,
            SkillRequired = MetalWelding:6,
            xpAward       = MetalWelding:60,
			ToolTip       = Tooltip_craft_doorFrameMetalDesc,
            inputs
            {
                item 4 [Base.BlowTorch] flags[DontRecordInput],
                item 1 tags[Hammer] mode:keep flags[Prop2;MayDegradeVeryLight],
                item 2 [Base.SmallSheetMetal],
                item 4 [Base.Nails],
            }
        }
    }
}