This record describes API changes in 1.9 Beta 1.

Missions

  • Added createCriteria= parameter to <MissionType>. If defined, we search for existing missions that match the given criteria. If none are found, then the mission cannot be created.
  • Added A directive to mission criteria, which selects the latest mission in a mission arc.

System Create

In API 49, a <Table> element in system create can specify maximum count limits on its children. For example:

<RandomLocation count="3" ...>
   <Table>
      <Station chance="25" type=... maxCount="1"/>
      <Station chance="25" type=... maxCount="1"/>
      ...
   </Table>
</RandomLocation>

The code above generate three stations at a random location, picking the station randomly from the table. The maxCount= parameter specifies the maximum number of times that the given entry in the table can be chosen.

In practice, this can be used to force each chosen station to be unique.