mux.world.flags
mux.world.flags is an immutable namespace of typed Flag constants. Use
these values with Flags methods; raw strings are rejected.
| Constant | Constant | Constant | Constant |
|---|---|---|---|
ANSI | AUDIBLE | AUDITORIUM | BLIND |
CONNECTED | DARK | FLOATING | GAGGED |
GOING | HALTED | IN_CHARACTER | LIGHT |
MONITOR | NO_COMMAND | SAFE | SUSPECT |
TRANSPARENT | WIZARD | ZOMBIE |
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)