Skip to content

skillOptionObject

A skill option defines how a stop can be executed and the restrictions on timing and resource requirements. Field names are terse single/double letters (the long name follows each).

{
"s": [string: null | real],
"l": [livery],
"q": ANY | RELIABLE | IDLE | null,
"b": <real>,
}
s skill [string: null | real] default []
Name→value pairs of required capability and proficiency (null or numeric); must reference resource / desk definitions.
t time timeInterval
Required — predicted duration at the stop for this option.
c contingency timeInterval default 0
Buffer time applied during scheduling.
tt toTime timeInterval
Duration for dependent “to” stops; defaults to t.
tc toContingency timeInterval
Buffer for dependent stops; defaults to c.
rt repackTime timeInterval default 0
Repack duration.
rc repackContingency timeInterval default 0
Repack buffer.
l livery livery default []
Required livery constraints; empty means any livery.
q quality ANY | RELIABLE | IDLE | null
Position restriction.
b bonus real default 0
Subsidy or penalty applied when this option is selected.

Selection — when multiple options qualify, Spiral prioritises the least-restrictive quality, then the highest bonus, then the earliest array position.