Flags
A Flags handle reads and changes the native flags on one live object. Create
one with Object:flags. Methods accept only typed
constants from mux.world.flags.
tostring(flags) produces flags(#<dbref>). It raises mux.object.invalid
after the underlying object becomes stale.
Changes run immediately as God through the native flag handlers, including flag transition side effects. They are not part of the State transaction and are not rolled back if the callback later fails.
| Method | Description |
|---|---|
Flags:list | Lists the flags currently set. |
Flags:has | Tests a flag’s presence. |
Flags:add | Sets a flag and reports whether it changed. |
Flags:remove | Clears a flag and reports whether it changed. |