public override string GetExplanationUnfinalized(StatRequest req, ToStringNumberSense numberSense)
        {
            StringBuilder stringBuilder = new StringBuilder();
            ThingDef      thingDef      = req.Def as ThingDef;

            for (int i = 0; i < thingDef.tools.Count; i++)
            {
                Tool tool = thingDef.tools[i];
                for (int j = 0; j < tool.capacities.Count; j++)
                {
                    ToolCapacityDef           capacity = tool.capacities[j];
                    IEnumerable <ManeuverDef> source   = from maneuver in DefDatabase <ManeuverDef> .AllDefsListForReading
                                                         where maneuver.requiredCapacity == capacity
                                                         select maneuver;
                    if (source.Count() != 1)
                    {
                        Log.ErrorOnce(string.Format("{0} maneuvers when trying to get dps for weapon {1} tool {2} capacity {3}; average DPS explanation may be incorrect", source.Count(), thingDef.label, tool.Id, capacity.label), 40417826);
                    }
                    ManeuverDef maneuverDef = source.FirstOrDefault();
                    if (maneuverDef != null)
                    {
                        stringBuilder.AppendLine(string.Format("  Tool: {0} ({1})", tool.Id, capacity.label));
                        stringBuilder.AppendLine(string.Format("    {0} damage", tool.AdjustedMeleeDamageAmount(req.Thing, maneuverDef.verb.meleeDamageDef).ToString("F1")));
                        stringBuilder.AppendLine(string.Format("    {0} seconds per attack", tool.AdjustedCooldown(req.Thing).ToString("F2")));
                        stringBuilder.AppendLine();
                    }
                }
            }
            return(stringBuilder.ToString());
        }