<RetVar> = A variable where the requested information is stored in an array.
<Var/Ware> = A ware that is used as resource.
<Var/Boolean> = A TRUE or FALSE value or its representing number 1 or 0.
This command returns an array of all stations that use the as <Var/Ware> selected ware as primary or secondary resource ( in case of factories ) or sell it ( in case of docks ). Setting the "include empty"-value to TRUE will return all stations using that ware, even if they haven't it currently in stock.
$station.arr= get station array: resource=Nividium include empty=[TRUE]
write to player logbook $station.arr
This gets all stations using Nividium as resource in an array and writes it to the player logbook.
<RetVar> = get station array: product=<Var/Ware> include empty=<Var/Boolean>
<RetVar> = get station array: of race <Var/Race> class/type=<Value>
- »» Universe and Sector Commands
<RetVar> = get station array: resource=<Var/Ware> include empty=<Var/Boolean>