CargoUpload amount:Cargo, [flags:Str]

Load cargo from planet. amount is the amount and type to transfer, as a cargo set.

The optional second parameter, options, is a string containing some options:

  • "O": permit overloading the ships.
  • "S": sell supplies on-the-fly.
  • "N": don't generate an error when the cargo can not completely be transferred. Instead, sets the variable Cargo.Remainder accordingly.
  • "J": permit jettison. By default, this command will fail if the ship does not orbit a planet. Use this option if you want to use CargoUpload to get back cargo you jettisoned earlier this turn.

Since: PCC 1.0.10, PCC2 1.99.12

See also: CargoUnload, CargoTransfer, CargoUploadWait, Ship Commands