public static bool TankTypeExists(string name) { CheckTankDefs(); return tankTypes.ContainsKey(name); }