code/_globalvars/bitfields/_bitfields.dm 
| /datum/bitfield | Specifies a bitfield for smarter debugging |
|---|---|
| /proc/generate_bitfields | Turns /datum/bitfield subtypes into a list for use in debugging |
| /proc/get_valid_bitflags | Returns an associative list of bitflag name -> number for all valid bitflags in the passed in field |
| /proc/get_matching_bitflags | Returns null if no such field exists, a list of all matching flags by name otherwise |