Aller au contenu principal

Machine Menu

Machine Menu

Champs

ChampTypePar défautDescription
inventoryTitleVar<String><dark_gray>Machine MenuTitle of the menu.PlaceholdersCouleurs
inventoryRowsInt6Number of inventory rows (1-6).
guiTypeGuiTypeCUSTOMGUI type.
layoutPoolList<LayoutData>emptyPool of layout definitions. Items with `buttonType` are resolved dynamically.
mainLayoutIdString?—ID of the main layout from the pool.
audioGuiAudioData—Audio configuration.
Champs TypeWriter communs (criteria, modifiers, triggers)
ChampTypePar défautDescription
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Build the layout like any GUI menu: add layouts to layoutPool and set mainLayoutId to the id of the one to open. Give an item a Machine buttonType (see the Menus section of the extension page) to make it live. inventoryRows is limited to 1–6. If mainLayoutId matches no layout, the menu opens empty and the log lists the available ids.

Open it from any trigger. To open it from a stabilisation crystal, name it in the dashboardMenuId of a Machine Dashboard Command.