module Base
{
	xuiSkin default
	{
		entity ES_Wood_FancyCornerBookCase
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_FancyWoodenCornerBookCase,
			Icon		= Build_furniture_shelving_01_8,
		}
	}

    entity Wood_FancyCornerBookCase
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Wood_FancyCornerBookCase,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
            face SINGLE
            {
                layer
                {
                    row = furniture_shelving_01_8,
                }
            }
        }
        
        component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildWoodenStructureMedium,
            time          = 50,
            SkillRequired = Woodwork:6,
            xpAward       = Woodwork:60,
            category      = Furniture,
            ToolTip       = Tooltip_craft_bookcaseDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 6 [Base.Plank],
                item 6 [Base.Nails],
            }
        }
    }
}