five-on-it / apps/client/src/ui/studio/missions
apps/client/src/ui/studio/missions
The studio's edits of a game document (its missions, places and zones), each a pure function from a game to the next, as edits.ts is for a level spec: a mission added from the catalogue's example of a verb (@foi/catalogue, the vocabulary the platform checks), moved, removed; an objective, an actor and a rule added to one, each the catalogue's example of its kind; a zone (a place and its circle) put where the owner clicked, moved, resized, or a polygon zone drawn point by point, moved whole or a point at a time; a mission's start (on joining, in a zone, a contact's message or call) and the missions it comes after; the game's own state (its flags and counters); how full a mission is against the language's caps; and the mission an issue's path is about (game.missions.2.objectives.0.to).