WaveFunctionP/KSPInterstellar — pull request #48 by DMagic1 (2014-09-09 00:21:23+00:00)
Title: A few more ORS updates; reflection friendly methods

There are two things that just bug me here, that ORSPlanetaryResourceMapData is a MonoBehaviour for no reason, and that people keep complaining about their scanners saying "Broken :(" (though it might be worth it to leave this just because the :( gets turned into a Kerbal frowny face on the forums).

The other two updates add a few methods that are simple to access through reflection. They limit the number of ORS Types that must be defined and give a simple, one-step method for accessing a resource value at a given location.

I've tested this with SCANsat and it works fine. Not needing to make SCANsat dependent on ORS should simplify some of the problems with ORS version numbers.

More may be forthcoming, so there is no rush on this.