module Base
{
	xuiSkin default
	{
		entity ES_Welding_BlackRailingFence
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_BlackMetalRailingFence,
			Icon		= Build_fixtures_railings_01_37,
		}
	}

    entity Welding_BlackRailingFence
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Welding_BlackRailingFence,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			health          = 250,
			skillBaseHealth = 20,

            face W
            {
                layer
                {
                    row = fixtures_railings_01_36,
                }
            }
            face N
            {
                layer
                {
                    row = fixtures_railings_01_37,
                }
            }
            corner  =   fixtures_railings_01_39,
        }
		
        component CraftRecipe
        {
            timedAction   = BuildLowMetal,
            time          = 50,
            SkillRequired = MetalWelding:3,
            xpAward       = MetalWelding:30,
            category      = Fences,
            ToolTip       = Tooltip_craft_sandBagDesc,
            inputs
            {
                item 4 [Base.BlowTorch] flags[DontRecordInput],
                item 4 [Base.MetalBar],
                item 2 [Base.WeldingRods] flags[DontRecordInput],
                item 1 [Base.PaintBlack] flags[DontRecordInput],
            }
        }
    }
}