module Base
{
	xuiSkin default
	{
		entity ES_Welding_SchoolYellowLocker
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_YellowSchoolLocker,
			Icon		= Build_furniture_storage_02_13,
		}
	}

    entity Welding_SchoolYellowLocker
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Welding_SchoolYellowLocker,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
            canBePadlocked = true,
            face W
            {
                layer
                {
                    row = furniture_storage_02_12,
                }
            }
            face N
            {
                layer
                {
                    row = furniture_storage_02_13,
                }
            }
            face E
            {
                layer
                {
                    row = furniture_storage_02_14,
                }
            }
            face S
            {
                layer
                {
                    row = furniture_storage_02_15,
                }
            }
        }
        
        component CraftRecipe
        {
            timedAction   = BuildMetalStructureMedium,
            time          = 200,
            SkillRequired = MetalWelding:8,
            xpAward       = MetalWelding:80,
            category      = Furniture,
            ToolTip       = Tooltip_craft_lockerDesc,
            inputs
            {
                item 4 [Base.BlowTorch] flags[DontRecordInput],
                item 1 tags[Paintbrush] mode:keep,
                item 4 [Base.SheetMetal],
                item 2 [Base.Hinge],
                item 4 [Base.WeldingRods] flags[DontRecordInput],
                item 2 [Base.PaintYellow] flags[DontRecordInput],
            }
        }
    }
}