Ship (Data Type)

Description

This DataType includes information and performs actions that are exclusive to ships

Please note that many members of the 'ship' datatype will be unavailable until you access certain aspects of your ship. For example, to get the CargoCapacity, you'll need to open your cargo hold at least once. Ditto for the items in your drone bay. Also, note that many times you have to do this at least once every time you change 'states' or go from being in a station to being in space, or vice-versa. Of course, since you can't open your drone bay while in space, the drone bay attributes will not be available unless you're in a station.

Members

  • Cargo Related
    • float64 CargoCapacity
    • float64 UsedCargoCapacity
    • item Cargo<MW_SINGLEBRACKET>#</MW_SINGLEBRACKET>
    • item Cargo<MW_SINGLEBRACKET>Name</MW_SINGLEBRACKET>
    • bool HasOreHold
  • Drone (Drone Bay) Related
    • float64 DronebayCapacity
    • float64 UsedDronebayCapacity
    • float64 DroneBandwidth
    • item Drone<MW_SINGLEBRACKET>#</MW_SINGLEBRACKET>
      • Where # is between 1 and GetDrones
    • item Drone<MW_SINGLEBRACKET>Name</MW_SINGLEBRACKET>
  • Requires Ship to be in space
    • The following require !Me.InStation
    • module Module<MW_SINGLEBRACKET>SlotName</MW_SINGLEBRACKET>
      • SlotName Options:
HiSlot0-7
MedSlot0-7
LoSlot0-7

Methods

  • GetCargo<MW_SINGLEBRACKET><index:item></MW_SINGLEBRACKET>
  • GetDrones<MW_SINGLEBRACKET><index:item></MW_SINGLEBRACKET>
  • GetModules<MW_SINGLEBRACKET><index:module></MW_SINGLEBRACKET>
  • LaunchAllDrones
    • To utilize the drone methods properly, your drones must be UNSTACKED in your drone bay. To do this, you can either SHIFT-DRAG the drones to your drone bay and select a quantity of 1, or you can go in space, launch all your drones, and then recall them to your drone bay. When drones return to your drone bay, they always go back 'unstacked'.
  • Open
  • OpenCargo
  • GetOreHoldCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET>
  • GetFuelHoldCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET>
  • GetGasHoldCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET>
  • GetMineralHoldCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET>
  • GetSalvageHoldCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET>
  • GetIndustrialShipHoldCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET>
  • GetAmmoHoldCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET>
  • GetMaintenanceHoldCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET>
  • GetCorpHangarsCargo<MW_SINGLEBRACKET>index:item</MW_SINGLEBRACKET> (retrieves ALL items)
  • GetCorpHangarsCargo<MW_SINGLEBRACKET>index:item, "FOLDERNAME"</MW_SINGLEBRACKET> (retrieve items from a particular folder)
  • GetCorpHangarsCargo<MW_SINGLEBRACKET>index:item, index:string</MW_SINGLEBRACKET> (retrieve items from all folders named in the index:string)

  Possible Folder Names:
  Corporation Folder 1
  Corporation Folder 2
  Corporation Folder 3
  Corporation Folder 4
  Corporation Folder 5
  Corporation Folder 6
  Corporation Folder 7

Add picture from clipboard (Maximum size: 95.4 GB)