open [of] %inv:EXPR% — Blocks

open [of] %inv:EXPR%
Inventory1.0.0

Description

Handles the open event of a Lumen inventory. Provides player, inventory, and title variables.

Allowed Contexts

Root LevelInside Block

Block Variables

player
player
NullableNo

The player who opened the inventory

world
world
NullableNo

The world the player is in

inventory
inventory
NullableNo

The top inventory that was opened

title
string
NullableNo

The title of the inventory view

Examples

open of "main_menu": message player "Menu opened!"

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

open <inv>
open of <inv>

Related (Inventory)