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 =

ダイスボットの使い方

<<~MESSAGETEXT
  ・상실표(xL)
   BL:혈맥, LL:생기(生様), SL:혼백, FL:인연

  ・LR:상실 회복표

  ・문 통과 묘사표(xG)
   HG:지옥문, RG:나생문, VG:주작문, OG:응천문
MESSAGETEXT
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

Returns a new instance of 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