BuildFactories amount:Int, [flag:Str]
Build factories. 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 factories).
See also: Planet Commands