Skip to content

five-on-it / packages/catalogue/src/sky

packages/catalogue/src/sky ​

A level spec's sky, shared by every template: its climate (the weather's odds, by @foi/shared's weather.ts; a region's biome when it names none, temperate for a town) and the room clock a level starts at and runs at. Neither changes the level's geometry: the export writes them into the level's sky (skyOfSpec), and a game's rules have the last word on both.

Variables ​

Functions ​