five-on-it / packages/catalogue/src/level-spec / SpecIssue
Interface: SpecIssue
Defined in: packages/catalogue/src/level-spec.ts:222
One problem with a spec, in the platform's shape (@foi/missions' Issue).
Properties
at?
optionalat?: [number,number]
Defined in: packages/catalogue/src/level-spec.ts:232
Where on the map the problem is, in the game's frame [x, z] (m), when a check knows.
code?
optionalcode?:SpecIssueCode
Defined in: packages/catalogue/src/level-spec.ts:230
What kind of problem it is, when a check knows (the city's network checks).
data?
optionaldata?:Record<string,string|number|boolean|number[]>
Defined in: packages/catalogue/src/level-spec.ts:237
What a fix needs to know, by the check (each code's fields are listed in city/checks.ts): a bend's radius and the radius its road needs, the other junction, the other road…
message
message:
string
Defined in: packages/catalogue/src/level-spec.ts:226
What is wrong.
path
path:
string
Defined in: packages/catalogue/src/level-spec.ts:224
Where in the spec, as the generator writes it: districts[0].blocks; empty for the spec itself.
severity
severity:
"error"
Defined in: packages/catalogue/src/level-spec.ts:228
Always error: a spec that has one is not built.