diff --git a/KOS-Scansat/Addon.cs b/KOS-Scansat/Addon.cs index 1812e91..c645d84 100644 --- a/KOS-Scansat/Addon.cs +++ b/KOS-Scansat/Addon.cs @@ -35,7 +35,7 @@ private void InitializeSuffixes() AddSuffix("COMPLETEDSCANS", new kOS.Safe.Encapsulation.Suffixes.TwoArgsSuffix(GetScans, "Returns the list of the completed scans of Body,GeoCoordinates")); AddSuffix("ALLSCANTYPES", new kOS.Safe.Encapsulation.Suffixes.NoArgsSuffix(GetScanNames, "Names of all scan types")); AddSuffix("ALLRESOURCES", new kOS.Safe.Encapsulation.Suffixes.NoArgsSuffix(GetResourceNames, "List of all activated resource in the current game")); - AddSuffix("RESOURCEAT", new kOS.Safe.Encapsulation.Suffixes.VarArgsSuffix(GetResourceByName, "Returns the amount of a resource by its scan type: Body,GeoCoordinates,scantype")); + AddSuffix("RESOURCEAT", new kOS.Safe.Encapsulation.Suffixes.VarArgsSuffix(GetResourceByName, "Returns the amount of a resource by its scan type: Body,GeoCoordinates,resourcename")); AddSuffix("SLOPE", new kOS.Safe.Encapsulation.Suffixes.TwoArgsSuffix(GetSlope, "Returns the most accurate slope of the location")); AddSuffix("GETCOVERAGE", new kOS.Safe.Encapsulation.Suffixes.TwoArgsSuffix(GetCoverage, "Returns completen percatage of a body,scantype")); AddSuffix("GETANOMALIES", new kOS.Safe.Encapsulation.Suffixes.OneArgsSuffix(GetAnomalies, "Returns a list of waypoints to anomalies on the given body")); diff --git a/README.md b/README.md index a1ae403..6c0aeee 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,9 @@ Returns the completed percentage of the scantype of the body. Returns a list of the valid resources, which are known to scansat and activated by other mods -**:RESOURCEAT (\,\,\)** +**:RESOURCEAT (\,\,\)** -Returns the value (as a double) of and given resource at the spot. +Returns the value (as a double) of and given resource at the spot. Returns -1 if the resource amount is not known. **:GETANOMALIES (\)**