five-on-it / packages/missions/src/play / attemptSeconds
Function: attemptSeconds()
attemptSeconds(
mission):number|undefined
Defined in: packages/missions/src/play.ts:150
The longest one attempt of a mission may take (s), as far as its document bounds it: every objective's bound added up (an attempt goes through each at most once: the objectives never loop), or undefined when an objective has no clock (a goto, a talk… without a time limit: the attempt takes as long as its players do).
Parameters
mission
Pick<Mission, "objectives">
Returns
number | undefined