Skip to content

Command to output which Effect flags are contained in queried number. #131

@UnderDoug

Description

@UnderDoug

gnarf suggested I request this as a potential command for cryptogull.

A few things in the assembly make use of consts for their bitmask flags which don't decompile very helpfully.

Effects are the main one that comes to mind, but MinEventcascade flags are another example.

The idea would be something like ?EffectFlags 117440528 (the number is the return value of XRL.World.Effects.Bleeding's GetEffectType() when decompiled) and it would spit out "TYPE_CIRCULATORY, TYPE_MINOR, TYPE_NEGATIVE, TYPE_REMOVABLE".

I currently use https://www.bitmask.foo/ with Qud Effects.csv as a bitmask preset (you can ignore the descriptions; they're my attempt at divining the meaning/use of the flags).

When I get a chance, I'll try to organize a more exhaustive list of the const-based flags that'd be useful to have a command for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions