Machine Dashboard Command
Machine dashboard commands
Commands the machine dashboard screen needs. <name> scroll <delta> moves the machine list by [delta] screens and repaints. It exists because the list is order-based over the tagged slots the Page laid out: the generic viewport scrolling of the GUI extension moves the window over the layout, and would leave the resolver rendering the same first N machines whatever the player did. <name> reset rewinds it, for a Page that wants to return to the top explicitly.
Champs
| Champ | Type | Par défaut | Description |
|---|---|---|---|
commandName | String | machines | Command name without the leading slash |
dashboardMenuId | String | — | Id of the machine_menu entry `<name> dashboard` opens. This is what the crystal's right-click reaches. |
How to use it
Set dashboardMenuId to the id of a Machine Menu laid out with MACHINE_GRID_INFO, MACHINE_ENTRY and MACHINE_LIST_ARROW buttons. A CONTROL_PANEL machine can then name machines dashboard in its panelOpenCommand. The scroll, link and hologram sub-commands are used by the dashboard slots themselves.