BuildDefense amount:Int, [flag:Str]
Build defense posts. 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: BuildDefenseWait