CExtract(a:Cargo, ele:Str):Int

Extract cargo. a is a cargo set, ele is a cargo type (e.g. "n" for Neutronium). This function returns the amount of that cargo type in the cargo set. If multiple cargo types are given, their amounts are summed up, e.g.

 CExtract(e, "s$")

will report the total number of supplies and money in cargo set e.

See also: Functions

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.