/// <summary>
        ///     Get all currently build buildings that use the recipe
        /// </summary>
        /// <param name="rd"></param>
        /// <returns></returns>
        public static List <Building_WorkTable> CurrentRecipeUsers(this RecipeDef rd, Map map)
        {
            List <ThingDef> recipeUsers        = rd.GetRecipeUsers();
            var             currentRecipeUsers = new List <Building_WorkTable>();

            foreach (ThingDef td in recipeUsers)
            {
                currentRecipeUsers.AddRange(
                    map.listerBuildings.AllBuildingsColonistOfDef(td)
                    .Select(b => b as Building_WorkTable));
            }

            return(currentRecipeUsers);
        }