F1Menu

Hook Documentation for F1 Menu Module.

Functions

MODULE:BuildHelpMenu(tabs)

Called when the help menu is being built.

Parameters

  • tabs Table

    Table containing the help menu tabs.

MODULE:CanPlayerViewInventory()

Called when the player wants to view their inventory.

Returns

  • bool

    Whether the player is allowed to view their inventory.

MODULE:CreateMenuButtons(tabs)

Creates menu buttons for the F1 menu.

Parameters

  • tabs Table

    A table to store the created buttons.

MODULE:PostDrawInventory(panel)

Called after the player's inventory is drawn.

Parameters

  • panel Panel

    The panel containing the inventory.