Saltar al contenido principal

dungeon_global_menu

Dungeon Global Menu — misc entry.

Entry Information

PropertyValue
Entry IDdungeon_global_menu
TypeMisc
ColorCyan
Iconfa6-solid:globe

Description

Action entry that opens a global dungeon menu showing instances from a category. Instance positions are defined by placing items with buttonType: "DUNGEON_INSTANCE_SLOT" at the desired x,y coordinates in the layout pool items. The code extracts these markers from the pool, removes them from the parsed layout, and fills them with actual instance items from the category. This ensures exact positioning defined by the layout designer. Supported button types: DUNGEON_FIND_PARTY, DUNGEON_INFO, DUNGEON_INSTANCE_SLOT Extra markers beyond available instances are silently dropped (no STRUCTURE_VOID shown).

Fields

FieldTypeDescription
categoryRef<DungeonCategoryEntry>Category to display in this menu
inventoryTitleVar<String>Title of the inventory
inventoryRowsIntNumber of rows (1-6)
guiTypeGuiTypeGUI type to use (CUSTOM, BOOK, FURNACE, etc.)
layoutPoolList<LayoutData>Pool of layout definitions. Items with buttonType are resolved as dungeon buttons. Use buttonType: "DUNGEON_INSTANCE_SLOT" at the positions where you want dungeon instances to appear. Each marker is replaced by the next instance from the category, preserving the exact x,y position. Extra markers beyond available instances are silently hidden (no STRUCTURE_VOID shown).
mainLayoutIdString?ID of the main layout to display from the pool.
audioGuiAudioDataAudio configuration for the GUI.

Usage Example

- entry: dungeon_global_menu
name: "Dungeon Global Menu"
category: ""
inventoryTitle: ""
inventoryRows: 0
guiType: ""
layoutPool: []
mainLayoutId: ""
audio: ""