VASSAL Reference Manual

Home > Module > Game Piece Palette > Game Piece > Sub-Menu

Sub-Menu

This trait allows you to cluster menu items associated with other traits into a sub-menu of the game piece's right-click menu.  Provide the name of the menu and the name of the menu items that should be moved to the sub-menu.  Sub-menus may contain other sub-menus to any nesting level.

Example:  If a game piece has three separate layer traits with corresponding activate commands Entrench, Fortify, and Blockade, then those menu items can be gathered under a single sub-menu named Defense by creating a Sub-Menu trait with menu name "Defense" and sub-commands "Entrench", "Fortify" and "Blockade".

Pieces in a Game Piece Palette can be manipulated by anybody so long as no game is in progress.