Class: BCDice::GameSystem::Nuekagami_Korean

Inherits:
Nuekagami show all
Defined in:
lib/bcdice/game_system/Nuekagami_Korean.rb

Constant Summary collapse

ID =

ゲームシステムの識別子

'Nuekagami:Korean'
NAME =

ゲームシステム名

'누에카가미'
SORT_KEY =

ゲームシステム名の読みがな

'国際化:Korean:누에카가미'
HELP_MESSAGE =

ダイスボットの使い方

"\u30FB\uC0C1\uC2E4\uD45C\uFF08xL\uFF09\n\u3000BL\uFF1A\uD608\uB9E5, LL\uFF1A\uC0DD\uAE30(\u751F\u69D8), SL\uFF1A\uD63C\uBC31, FL\uFF1A\uC778\uC5F0\n\n\u30FBLR\uFF1A\uC0C1\uC2E4 \uD68C\uBCF5\uD45C\n\n\u30FB\uBB38 \uD1B5\uACFC \uBB18\uC0AC\uD45C\uFF08xG\uFF09\n\u3000HG\uFF1A\uC9C0\uC625\uBB38, RG\uFF1A\uB098\uC0DD\uBB38, VG\uFF1A\uC8FC\uC791\uBB38, OG\uFF1A\uC751\uCC9C\uBB38\n"
TABLES =
translate_tables(:ko_kr)

Instance Attribute Summary

Attributes inherited from Base

#d66_sort_type, #default_cmp_op, #default_target_number, #randomizer, #reroll_dice_reroll_threshold, #round_type, #sides_implicit_d, #upper_dice_reroll_threshold

Instance Method Summary collapse

Methods inherited from Base

#change_text, #check_result, command_pattern, #enable_debug, #enabled_d9?, #eval, eval, #grich_text, prefixes_pattern, register_prefix, register_prefix_from_super_class, #sort_add_dice?, #sort_barabara_dice?

Methods included from Translate

#translate

Constructor Details

#initialize(command) ⇒ Nuekagami_Korean



28
29
30
31
32
# File 'lib/bcdice/game_system/Nuekagami_Korean.rb', line 28

def initialize(command)
  super(command)

  @locale = :ko_kr
end

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



36
37
38
# File 'lib/bcdice/game_system/Nuekagami_Korean.rb', line 36

def eval_game_system_specific_command(command)
  roll_tables(command, TABLES)
end