module Base
{
	xuiSkin default
	{
		entity ES_Industry_TruckWindowFrame
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_IndustryTruckWindowFrame,
			Icon		=  Build_industry_trucks_01_13,
		}
	}

    entity Industry_TruckWindowFrame
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Industry_TruckWindowFrame,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			health          = 800,
			skillBaseHealth = 70,
            previousStage   = WoodenWallFrame;MetalWallFrame,
            OnCreate        = NB_BuildRecipeCode.NewWall.OnCreate,

            face W
            {
                layer
                {
                    row = industry_trucks_01_12,
                }
            }
            face N
            {
                layer
                {
                    row = industry_trucks_01_13,
                }
            }
        }
        
        component CraftRecipe
        {
            timedAction   = BuildWallMetal,
            time          = 200,
            category      = Windows,
            SkillRequired = MetalWelding:6,
            xpAward       = MetalWelding:60,
            ToolTip       = Tooltip_craft_NeedsWallframeDesc,
            inputs
            {
                item 4 [Base.BlowTorch] flags[DontRecordInput],
                item 1 tags[Hammer] mode:keep flags[Prop2;MayDegradeVeryLight],
                item 2 [Base.SheetMetal],
                item 4 [Base.Nails],
            }
        }
    }
}