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.

MethodDescription
Flags:listLists the flags currently set.
Flags:hasTests a flag’s presence.
Flags:addSets a flag and reports whether it changed.
Flags:removeClears a flag and reports whether it changed.