five-on-it / apps/client/src/ui/studio/MissionsPanel
apps/client/src/ui/studio/MissionsPanel
The studio's missions (the Missions tab): a draft's missions listed (added, moved, removed), the one selected written in a form (its id, title and blurb; its contacts, its start (on joining, in a zone, a contact's message or call, picked from a list) and the missions it comes after (ticked), its play block and its reward; its objectives, each of a verb with the catalogue's words for it and its fields as JSON; its actors; its rules as rows of when, if and do), how full it is against the language's caps, the issues its last build found, and Playtest (that mission alone, as its play says). Below, the game's zones (each a place and a radius, or a polygon of points; Zone on the map adds one where it is clicked, its centre dragged; Area draws a polygon point by point) and the game's own state (the flags and counters every mission shares). Each change is the game replaced (missions.ts); the studio saves it.