module Base
{
	xuiSkin default
	{
		entity ES_Clothesline
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= ClothesLine,
			Icon		= Build_ClothingLine,
		}
	}

    entity Metal_Clothesline
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Clothesline,
            uiEnabled       = true,
        }

        component SpriteConfig
        {
            face E
            {
                layer
                {
                    row = CL_LaundryCraft_0,
                }
            }
            face W
            {
                layer
                {
                    row = CL_LaundryCraft_1,
                }
            }
            face N
            {
                layer
                {
                    row = CL_LaundryCraft_2,
                }
            }
            face S
            {
                layer
                {
                    row = CL_LaundryCraft_3,
                }
            }
        }
        
        component CraftRecipe
        {
            timedAction   = BuildMetalStructureMedium,
            time          = 250,
            SkillRequired = MetalWelding:3,
            xpAward       = MetalWelding:10,
            category      = Furniture,
            tags          = Welding,
            ToolTip       = Tooltip_craft_ClotheslineDesc,
            inputs
            {
                item 4 [Base.BlowTorch] flags[Prop1],
                item 1 [Base.Screwdriver] mode:keep,
                item 4 [Base.SmallSheetMetal],
                item 4 [Base.MetalPipe],
                item 4 [Base.WeldingRods],
                item 2 [Base.Screws],
      }
        }
    }
}