UseFlag
Defined in: flags/UseFlag.ts:9
Not Exported
This is represented as an object instead of an enum due to limitations with TypeScript enums. (We
want this type to be a child of the BitFlag type.)
Enumeration Members
Section titled “Enumeration Members”NO_ANIMATION
Section titled “NO_ANIMATION”NO_ANIMATION:
number
Defined in: flags/UseFlag.ts:15
Don’t play use animations.
1 << 0 (1)
NO_COSTUME
Section titled “NO_COSTUME”NO_COSTUME:
number
Defined in: flags/UseFlag.ts:22
Don’t add costume.
1 << 1 (2)
OWNED:
number
Defined in: flags/UseFlag.ts:29
Effect was triggered by an active item owned by the player.
1 << 2 (4)
ALLOW_NON_MAIN_PLAYERS
Section titled “ALLOW_NON_MAIN_PLAYERS”ALLOW_NON_MAIN_PLAYERS:
number
Defined in: flags/UseFlag.ts:36
Allow the effect to trigger on non-main players (i.e. coop babies).
1 << 3 (8)
REMOVE_ACTIVE
Section titled “REMOVE_ACTIVE”REMOVE_ACTIVE:
number
Defined in: flags/UseFlag.ts:43
D4 only: Reroll the player’s active item.
1 << 4 (16)
CAR_BATTERY
Section titled “CAR_BATTERY”CAR_BATTERY:
number
Defined in: flags/UseFlag.ts:50
Effect was triggered a second time by Car Battery (or Tarot Cloth for cards).
1 << 5 (32)
VOID:
number
Defined in: flags/UseFlag.ts:57
Effect was triggered by Void.
1 << 6 (64)
MIMIC:
number
Defined in: flags/UseFlag.ts:64
Effect was mimicked by an active item (Blank Card, Placebo).
1 << 7 (128)
NO_ANNOUNCER_VOICE
Section titled “NO_ANNOUNCER_VOICE”NO_ANNOUNCER_VOICE:
number
Defined in: flags/UseFlag.ts:71
Never play announcer voice.
1 << 8 (256)
ALLOW_WISP_SPAWN
Section titled “ALLOW_WISP_SPAWN”ALLOW_WISP_SPAWN:
number
Defined in: flags/UseFlag.ts:79
This allows an item to spawn wisps when called from another item usage as the wisps generator
checks for NO_ANIMATION, so usually you want to use this with NO_ANIMATION call.
1 << 9 (512)
CUSTOM_VARDATA
Section titled “CUSTOM_VARDATA”CUSTOM_VARDATA:
number
Defined in: flags/UseFlag.ts:87
If set, forces UseActiveItem to use the CustomVarData argument instead of the active item’s stored VarData.
1 << 10 (1024)
NO_HUD
Section titled “NO_HUD”NO_HUD:
number
Defined in: flags/UseFlag.ts:94
Don’t display text in the HUD. (This is currently only used by Echo Chamber.)
1 << 11 (2048)
