module Base

{

	xuiSkin default

	{

		entity ES_Commercial_RedDoorFrame

		{

			LuaWindowClass	= ISEntityWindow,

			DisplayName	= NBEntityName_CommercialRedDoorFrame,

			Icon		= Build_walls_commercial_01_91,

		}

	}



    entity Commercial_RedDoorFrame

    {

        component UiConfig

        {

            xuiSkin         = default,

            entityStyle     = ES_Commercial_RedDoorFrame,

            uiEnabled       = false,

        }



        component SpriteConfig

        {

			skillBaseHealth = 300,

			isThumpable     = false,
			OnIsValid = BuildRecipeCode.doorFrame.OnIsValid,



            face W

            {

                layer

                {

                    row = walls_commercial_01_74,

                }

            }

            face N

            {

                layer

                {

                    row = walls_commercial_01_75,

                }

            }

			corner = walls_commercial_01_67,

        }

		

        component CraftRecipe

        {

            OnAddToMenu   = ignoreFromBuildMenu,

            timedAction   = BuildWallMetal,

            time          = 200,

            category      = Doors,

            SkillRequired = MetalWelding:6,

            xpAward       = MetalWelding:60,

            ToolTip       = Tooltip_craft_NeedsWallframeDesc,

            inputs

            {

                item 2 [Base.BlowTorch] flags[DontRecordInput],

                item 1 [Base.WeldingRods] flags[DontRecordInput],

                item 2 [Base.SmallSheetMetal],

            }

        }

    }

}