Class: BCDice::GameSystem::SkynautsBouken

Inherits:
Base
  • Object
show all
Defined in:
lib/bcdice/game_system/SkynautsBouken.rb

Direct Known Subclasses

SkynautsBouken_Korean

Constant Summary collapse

ID =

ゲームシステムの識別子

'SkynautsBouken'
NAME =

ゲームシステム名

'歯車の塔の探空士(冒険企画局)'
SORT_KEY =

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

'はくるまのとうのすかいのおつ2'
HELP_MESSAGE =

ダイスボットの使い方

"\u30FB\u884C\u70BA\u5224\u5B9A\uFF08nSNt#f\uFF09 n:\u30C0\u30A4\u30B9\u6570(\u7701\u7565\u66422)\u3001t:\u76EE\u6A19\u5024(\u7701\u7565\u66427)\u3001f:\u30D5\u30A1\u30F3\u30D6\u30EB\u5024(\u7701\u7565\u66421)\n    \u4F8B\uFF09SN6#2\u30003SN\n\u30FB\u30C0\u30E1\u30FC\u30B8\u30C1\u30A7\u30C3\u30AF (Dx/y@m) x:\u30C0\u30E1\u30FC\u30B8\u7BC4\u56F2\u3001y:\u653B\u6483\u56DE\u6570\n\u3000\u3000m:\u300A\u5F3E\u9053\u5B66\u300B\uFF08\u7701\u7565\u53EF\uFF09\u4E0A:8\u3001\u4E0B:2\u3001\u5DE6:4\u3001\u53F3:6\n\u3000\u3000\u4F8B\uFF09 D/4\u3000D19/2\u3000D/3@8\u3000D[\u5927\u63FA\u308C]/2\n\u30FB\u56DE\u907F(AVO@m\u30C0\u30E1\u30FC\u30B8)\n\u3000\u3000m:\u56DE\u907F\u65B9\u5411\uFF08\u4E0A:8\u3001\u4E0B:2\u3001\u5DE6:4\u3001\u53F3:6\uFF09\u3001\u30C0\u30E1\u30FC\u30B8\uFF1A\u30C0\u30E1\u30FC\u30B8\u30C1\u30A7\u30C3\u30AF\u7D50\u679C\n\u3000\u3000\u4F8B\uFF09AVO@8[1,4],[2,6],[3,8]\u3000AVO@2[6,4],[2,6]\n\u30FBFT \u30D5\u30A1\u30F3\u30D6\u30EB\u8868(p76)\n\u30FBNV \u822A\u884C\u8868\n\u30FB\u822A\u884C\u30A4\u30D9\u30F3\u30C8\u8868\n\u3000\u30FBNEN \u822A\u884C\u7CFB\n\u3000\u30FBNEE \u906D\u9047\u7CFB\n\u3000\u30FBNEO \u8239\u5185\u7CFB\n\u3000\u30FBNEH \u56F0\u96E3\u7CFB\n\u3000\u30FBNEL \u9577\u65C5\u7CFB\n\n\u25A0 \u5224\u5B9A\u30BB\u30C3\u30C8\n\u30FB\u300A\u56DE\u907F\u904B\u52D5\u300B\u5224\u5B9A+\u56DE\u907F\uFF08nSNt#f/AVO@\u30C0\u30E1\u30FC\u30B8\uFF09\n\u3000\u3000nSNt#f \u2192 \u6210\u529F\u306A\u3089 AVO@m\n\u3000\u3000\u4F8B\uFF09SN/AVO@8[1,4],[2,6],[3,8]\u30003SN#2/AVO@2[6,4],[2,6]\n\u30FB\u7832\u6483\u5224\u5B9A+\u30C0\u30E1\u30FC\u30B8\u30C1\u30A7\u30C3\u30AF\u3000(nSNt#f/Dx/y@m)\n\u3000\u3000\u884C\u70BA\u5224\u5B9A\u306E\u51FA\u76EE\u5909\u66F4\u30BF\u30A4\u30DF\u30F3\u30B0\u3092\u9003\u3059\u306E\u3067\u8981GM\u306E\u8A31\u53EF\n\u3000\u3000nSNt#f \u2192 \u6210\u529F\u306A\u3089 Dx/y@m\n\u3000\u3000\u4F8B\uFF09SN/D/4\u30003SN#2/D[\u5927\u63FA\u308C]/2\n"
TABLES =
translate_tables(@locale)

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) ⇒ SkynautsBouken



81
82
83
84
# File 'lib/bcdice/game_system/SkynautsBouken.rb', line 81

def initialize(command)
  super(command)
  @round_type = RoundType::FLOOR # 端数切り捨て
end

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



86
87
88
89
# File 'lib/bcdice/game_system/SkynautsBouken.rb', line 86

def eval_game_system_specific_command(command)
  command_sn(command) || command_d(command) || command_avo(command) || command_snavo(command) ||
    command_snd(command) || roll_tables(command, self.class::TABLES)
end