module Base
{
	xuiSkin default
	{
		entity ES_Floor_HayEdge
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_HayEdgeFloor,
			Icon		= Build_vegetation_farm_01_22,
		}
	}

    entity Floor_HayEdge
    {
        component UiConfig
                {
                    xuiSkin         = default,
                    entityStyle     = ES_Floor_HayEdge,
                    uiEnabled       = false,
                }

        component SpriteConfig
        {
		    isThumpable     = false,
		    OnIsValid       = BuildRecipeCode.floor.OnIsValid,
		    OnCreate        = NB_BuildRecipeCode.PartFloors.OnCreate,
			
            face W
            {
                layer
                {
                    row = vegetation_farm_01_22,
                }
            }
            face W
            {
                layer
                {
                    row = vegetation_farm_01_23,
                }
            }
            face W
            {
                layer
                {
                    row = vegetation_farm_01_20,
                }
            }
            face W
            {
                layer
                {
                    row = vegetation_farm_01_21,
                }
            }
        }
		
        component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = EmptyBag,
            time          = 100,
            category      = Floors,
            ToolTip       = Tooltip_craft_sandFloorDesc,
            inputs
            {
                item 1 [Base.HayTuft],
            }
        }
    }
}