BuildMines amount:Int, [flag:Str]

Build mineral mines. Build the the specified number of structures, or scraps them if amount is negative. Fails if you don't own the planet, don't have the required resources, or if the new amount of structures is not allowed by the rules.

If the flag is specified as "n", the command will not fail due to lacking resources. Instead, it will build as many structures as possible, and set the variable Build.Remainder to the amount not built.

Since: PCC 1.0.5, PCC2 1.99.9

See also: BuildMinesWait

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