Sha256: 50e0642d724bebb8b252c64d58ce34d2b717e97a128b0c6d662b085173ed8adc

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

module GamesDice
  # Reasons for making a reroll, and text explanation symbols for them
  REROLL_TYPES = {
    basic: ',',
    reroll_add: '+',
    reroll_subtract: '-',
    reroll_replace: '|',
    reroll_use_best: '/',
    reroll_use_worst: '\\'
    # These are not yet implemented:
    # :reroll_new_die => '*',
    # :reroll_new_keeper => '*',
  }.freeze
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
games_dice-0.4.0 lib/games_dice/constants.rb