five-on-it / packages/world/src/schema / lintLevel
Function: lintLevel()
lintLevel(
level):string[]
Defined in: packages/world/src/schema.ts:381
The problems a valid level file can still have, one line each; empty when the level is playable: at least one spawn point for the players, every spawn point on the ground with nothing built on it and its car's height over the ground there, every spawn and dummy inside the ground, every road inside the ground, clear of everything built along its length and lying on what carries it, every vehicle spawner and garage bay with room for a car.
Parameters
level
Returns
string[]