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.

@change PCC2 Web currently does not support undo (selling mines).

See also: Planet Commands

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