All files / src/tokens Token.ts

100% Statements 20/20
100% Branches 2/2
100% Functions 1/1
100% Lines 20/20

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35      1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x           1x              
/**
 * Enumeration representing all available tokens faces.
 */
export enum Token {
  ELDER_SIGN = "Elder sign",
  PLUS_ONE = "+1",
  ZERO = "0",
  MINUS_ONE = "-1",
  MINUS_TWO = "-2",
  MINUS_THREE = "-3",
  MINUS_FOUR = "-4",
  MINUS_FIVE = "-5",
  MINUS_SIX = "-6",
  MINUS_SEVEN = "-7",
  MINUS_EIGHT = "-8",
  SKULL = "Skull",
  CULTIST = "Cultist",
  TABLET = "Tablet",
  ELDER_THING = "Elder thing",
  AUTOFAIL = "Autofail",
  BLESS = "Bless",
  CURSE = "Curse"
}
 
/**
 * List of 'bad' tokens, tokens generally triggering bad effects.
 */
export const BadTokens = [
  Token.SKULL,
  Token.CULTIST,
  Token.TABLET,
  Token.ELDER_THING,
  Token.AUTOFAIL
];