Class: BCDice::GameSystem::JuinKansen
- Defined in:
- lib/bcdice/game_system/JuinKansen.rb
Direct Known Subclasses
Constant Summary collapse
- ID =
ゲームシステムの識別子
"JuinKansen"- NAME =
ゲームシステム名
"呪印感染"- SORT_KEY =
ゲームシステム名の読みがな
"しゆいんかんせん"- HELP_MESSAGE =
ダイスボットの使い方
<<~INFO_MESSAGE_TEXT ■ 表 ・日常表 (DAI, Daily) ・場所表 ・「都市」 (PCI, PlaceCity) ・「田舎」 (PCO, PlaceCountryside) ・「施設内」 (PFA, PlaceFacility) ・初見表 (FL, FirstLook) ・知己表 (AF, AppreciativeFriend) ・伏線表 (FOR, Foreshadow) ・感情表 (EMO, Emotion) ・状況表 (SIT, Situation) ・対象表 (TAR, Target) ・狂気表 (INS, Insanity) ・終焉表 (DEA, Death) ・恐怖表 (FEA, Fear) INFO_MESSAGE_TEXT
- TABLES =
translate_tables(:ja_jp).freeze
- ALIAS =
{ "DAI" => "DAILY", "PCI" => "PLACECITY", "PCO" => "PLACECOUNTRYSIDE", "PFA" => "PLACEFACILITY", "FL" => "FIRSTLOOK", "AF" => "APPRECIATIVEFRIEND", "FOR" => "FORESHADOW", "EMO" => "EMOTION", "SIT" => "SITUATION", "TAR" => "TARGET", "INS" => "INSANITY", "DEA" => "DEATH", "FEA" => "FEAR", }.freeze
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, #initialize, prefixes_pattern, register_prefix, register_prefix_from_super_class, #sort_add_dice?, #sort_barabara_dice?
Methods included from Translate
Constructor Details
This class inherits a constructor from BCDice::Base
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
37 38 39 |
# File 'lib/bcdice/game_system/JuinKansen.rb', line 37 def eval_game_system_specific_command(command) roll_tables(self.class::ALIAS[command] || command, self.class::TABLES) end |