module Base
{
	xuiSkin default
	{
		entity ES_Wood_ModernSingleBed
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_ModernSingleWoodenBed,
			Icon		= Build_furniture_bedding_01_1,
		}
	}

    entity Wood_ModernSingleBed
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Wood_ModernSingleBed,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
            face W
            {
                layer
                {
                    row = furniture_bedding_01_12 furniture_bedding_01_13,
                }
            }
            face N
            {
                layer
                {
                    row = furniture_bedding_01_1,
                    row = furniture_bedding_01_0,
                }
            }
            face E
            {
                layer
                {
                    row = furniture_bedding_01_70 furniture_bedding_01_71,
                }
            }
            face S
            {
                layer
                {
                    row = furniture_bedding_01_69,
                    row = furniture_bedding_01_68,
                }
            }
        }
        
        component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildWallHammer,
            time          = 50,
            SkillRequired = Woodwork:6;Tailoring:3,
            xpAward       = Woodwork:60;Tailoring:30,
            category      = Furniture,
            tags          = Carpentry;Furniture,
            ToolTip       = Tooltip_craft_bedDesc,
            inputs
            {
                item 1 tags[base:hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 6 [Base.Plank],
                item 4 [Base.Nails],
                item 1 [Base.Mattress],
            }
        }
    }
}