mux.world.flags

mux.world.flags is an immutable namespace of typed Flag constants. Use these values with Flags methods; raw strings are rejected.

ConstantConstantConstantConstant
ANSIAUDIBLEAUDITORIUMBLIND
CONNECTEDDARKFLOATINGGAGGED
GOINGHALTEDIN_CHARACTERLIGHT
MONITORNO_COMMANDSAFESUSPECT
TRANSPARENTWIZARDZOMBIE

Constants compare by flag identity and stringify to the displayed uppercase name. Unknown lookups and attempts to modify the namespace raise mux.flag.invalid. Command-only aliases from [aliases.flags] are not constants. String conversion raises the invariant-only mux.internal error if a registered native flag name exceeds the internal conversion buffer.

local flags = mux.world.object(ctx.object):flags()
flags:add(mux.world.flags.SAFE)