[0.18.1722] Modding: Tool config error checking

Started by Alistaire, January 01, 2018, 11:54:07 AM

Previous topic - Next topic

Alistaire


  • HediffDef.ConfigErrors doesn't check tools, while ThingDef.ConfigErrors does so. A HediffDef with tools is for example PowerClaw
  • ToolCapacityDef aren't checked for having a corresponding ManeuverDef
  • Because of the last, VerbTracker won't recognize a capacity or maneuver (say on a modded item), rendering the HediffDef/ThingDef without a verb. Because there's no feedback from ConfigErrors, bugs such as these can be difficult to find and even more difficult to fix