Object Character Flags are attributes of an object, which are computed from some DefCore entries and the current state of the object in the landscape. They are automatically updated by the engine.
All OCF are stored in a 32 bit wide bitmask. They can be tested with a simple bitwise "and". For example: