Class: BCDice::GameSystem::PastFutureParadox

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

Constant Summary collapse

ID =

ゲームシステムの識別子

"PastFutureParadox"
NAME =

ゲームシステム名

"パストフューチャーパラドックス"
SORT_KEY =

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

"はすとふゆうちやあはらとつくす"
HELP_MESSAGE =
"\u30FB\u884C\u70BA\u5224\u5B9A PP@s#f[+m/-m]>=x \u30002D6\u306E\u884C\u70BA\u5224\u5B9A\u3092\u884C\u3046\u3002\n\u3000s: \u30B9\u30DA\u30B7\u30E3\u30EB\u5024 (\u7701\u7565\u6642 12)\u3001 f: \u30D5\u30A1\u30F3\u30D6\u30EB\u5024 (\u7701\u7565\u6642 2)\n\u3000[+m/-m]: \u4FEE\u6B63\u5024\uFF08\u7701\u7565\u53EF\uFF09\u3001 x: \u76EE\u6A19\u5024 (\u7701\u7565\u53EF)\n\u3000\u4F8B\uFF09PP, PP-1, PP@11, PP@11+2, PP@11#3, PP@11#3-1,\n\u3000\u3000\u3000PP#3>=7, PP#3+2>=7, PP>=7, PP-1>=7\n\u30FB\u7279\u6280\u8868\n\u30E9\u30F3\u30C0\u30E0\u5206\u91CE\u8868 RCT\n\u30E9\u30F3\u30C0\u30E0\u7279\u6280\u8868 RTTn\uFF08n\uFF1A\u5206\u91CE\u756A\u53F7\u3001\u7701\u7565\u6642\u306F\u5168\u5206\u91CE\u304B\u3089\u30E9\u30F3\u30C0\u30E0\uFF09\n\u3000\u79D1\u5B66\u3000\uFF08RTT1\uFF09\u3001\u77E5\u8B58\uFF08RTT2\uFF09\u3001\u8EAB\u4F53\uFF08RTT3\uFF09\u3001\n\u3000\u30BB\u30F3\u30B9\uFF08RTT4\uFF09\u3001\u77E5\u6075\uFF08RTT5\uFF09\u3001\u8FF7\u4FE1\uFF08RTT6\uFF09\n\u30FB\u5404\u7A2E\u8868\u3000\u203B1D6\u304A\u3088\u30732D6\u3092\u632F\u308B\u8868\u306F\u3001\u672B\u5C3E\u306B=n\u3068\u4ED8\u3051\u308B\u3053\u3068\u3067\u51FA\u76EEn\u306E\u5185\u5BB9\u3092\u6307\u5B9A\u53EF\u80FD\u3002\u672B\u5C3E\u306B-n\uFF0F+n\u3068\u4ED8\u3051\u308B\u3053\u3068\u3067\u3001\u51FA\u76EE\u306B\u4FEE\u6B63\u3092\u4ED8\u3051\u308B\u3053\u3068\u304C\u53EF\u80FD\u3002\n\u3000\u4F8B\uFF1ASBET=2\u3000MBET-1\u3000TBET+2\n\u30B7\u30FC\u30F3\u8868\uFF082D6\uFF09\n\u3000\u73FE\u4EE3\u30B7\u30FC\u30F3\u8868 ST4\n\u7D4C\u6B74\u8868\uFF08D66\uFF09\n\u3000\u539F\u59CB\u6642\u4EE3\u7D4C\u6B74\u8868 CT1 \u3001\u53E4\u4EE3\u7D4C\u6B74\u8868 CT2 \u3001\u4E2D\u4E16\u6642\u4EE3\u7D4C\u6B74\u8868 CT3\n\u3000\u73FE\u4EE3\u7D4C\u6B74\u8868 CT4 \u3001\u8D85\u60C5\u5831\u5316\u6642\u4EE3\u7D4C\u6B74\u8868 CT5 \u3001\u5B87\u5B99\u6642\u4EE3\u7D4C\u6B74\u8868 CT6\n\u540D\u524D\u8868\uFF08D66\uFF09\n\u3000\u539F\u59CB\u6642\u4EE3\u540D\u524D\u8868\uFF08\u7537\u6027\u540D\uFF09 NMT1 \u3001\u539F\u59CB\u6642\u4EE3\u540D\u524D\u8868\uFF08\u5973\u6027\u540D\uFF09 NFT1\n\u3000\u53E4\u4EE3\u540D\u524D\u8868\uFF08\u7537\u6027\u540D\uFF09 NMT2 \u3001\u53E4\u4EE3\u540D\u524D\u8868\uFF08\u5973\u6027\u540D\uFF09 NFT2 \u3001\u53E4\u4EE3\u540D\u524D\u8868\uFF08\u59D3\uFF09 NLT2\n\u3000\u4E2D\u4E16\u6642\u4EE3\uFF08\u65E5\u672C\uFF09\u540D\u524D\u8868\uFF08\u7537\u6027\u540D\uFF09 NMT3 \u3001\u4E2D\u4E16\u6642\u4EE3\uFF08\u65E5\u672C\uFF09\u540D\u524D\u8868\uFF08\u5973\u6027\u540D\uFF09 NFT3 \u3001\u4E2D\u4E16\u6642\u4EE3\uFF08\u65E5\u672C\uFF09\u540D\u524D\u8868\uFF08\u59D3\uFF09 NLT3\n\u3000\u4E2D\u4E16\u6642\u4EE3\uFF08\u897F\u6D0B\uFF09\u540D\u524D\u8868\uFF08\u7537\u6027\u540D\uFF09 NMT3W \u3001\u4E2D\u4E16\u6642\u4EE3\uFF08\u897F\u6D0B\uFF09\u540D\u524D\u8868\uFF08\u5973\u6027\u540D\uFF09 NFT3W \u3001\u4E2D\u4E16\u6642\u4EE3\uFF08\u897F\u6D0B\uFF09\u540D\u524D\u8868\uFF08\u59D3\uFF09 NLT3W\n\u3000\u73FE\u4EE3\uFF08\u65E5\u672C\uFF09\u540D\u524D\u8868\uFF08\u7537\u6027\u540D\uFF09 NMT4 \u3001\u73FE\u4EE3\uFF08\u65E5\u672C\uFF09\u540D\u524D\u8868\uFF08\u5973\u6027\u540D\uFF09 NFT4 \u3001\u73FE\u4EE3\uFF08\u65E5\u672C\uFF09\u540D\u524D\u8868\uFF08\u59D3\uFF09 NLT4\n\u3000\u73FE\u4EE3\uFF08\u897F\u6D0B\uFF09\u540D\u524D\u8868\uFF08\u7537\u6027\u540D\uFF09 NMT4W \u3001\u73FE\u4EE3\uFF08\u897F\u6D0B\uFF09\u540D\u524D\u8868\uFF08\u5973\u6027\u540D\uFF09 NFT4W \u3001\u73FE\u4EE3\uFF08\u897F\u6D0B\uFF09\u540D\u524D\u8868\uFF08\u59D3\uFF09 NLT4W\n\u3000\u8D85\u60C5\u5831\u5316\u6642\u4EE3\u540D\u524D\u8868\uFF08\u7537\u6027\u540D\uFF09 NMT5 \u3001\u8D85\u60C5\u5831\u5316\u6642\u4EE3\u540D\u524D\u8868\uFF08\u5973\u6027\u540D\uFF09 NFT5 \u3001\u8D85\u60C5\u5831\u5316\u6642\u4EE3\u540D\u524D\u8868\uFF08\u59D3\uFF09 NLT5\n\u3000\u5B87\u5B99\u6642\u4EE3\u540D\u524D\u8868\uFF08\u7537\u6027\u540D\uFF09 NMT6 \u3001\u5B87\u5B99\u6642\u4EE3\u540D\u524D\u8868\uFF08\u5973\u6027\u540D\uFF09 NFT6 \u3001\u5B87\u5B99\u6642\u4EE3\u540D\u524D\u8868\uFF08\u59D3\uFF09 NLT6\n\u56E0\u7E01\u7A2E\u5225\u8868\uFF08D66\uFF09 CTT \u3001\u30DD\u30B8\u30C6\u30A3\u30D6\u56E0\u7E01\u5185\u5BB9\u8868\uFF081D6\uFF09 CPT \u3001\u30CD\u30AC\u30C6\u30A3\u30D6\u56E0\u7E01\u5185\u5BB9\u8868\uFF081D6\uFF09 CNT\n\u30D0\u30BF\u30D5\u30E9\u30A4\u30A8\u30D5\u30A7\u30AF\u30C8\u8868(2D6)\u3000\u203B\u30D0\u30BF\u30D5\u30E9\u30A4\u30A8\u30D5\u30A7\u30AF\u30C8\u8868\u306F-5\uFF5E12\u307E\u3067\u306E\u7D50\u679C\u3092\u7B97\u51FA\u53EF\u80FD\n\u3000\u91CD\u5EA6\u30D0\u30BF\u30D5\u30E9\u30A4\u30A8\u30D5\u30A7\u30AF\u30C8\u8868 SBET \u3001\u8EFD\u5EA6\u30D0\u30BF\u30D5\u30E9\u30A4\u30A8\u30D5\u30A7\u30AF\u30C8\u8868 MBET \u3001\u30BF\u30A4\u30E0\u30C8\u30E9\u30D9\u30E9\u30FC\u91CD\u5EA6\u30D0\u30BF\u30D5\u30E9\u30A4\u30A8\u30D5\u30A7\u30AF\u30C8\u8868 TBET\n\u30A2\u30AF\u30B7\u30C7\u30F3\u30C8\u8868\uFF082D6\uFF09 ACT \u3001\u30BF\u30A4\u30E0\u30C8\u30E9\u30D9\u30EB\u6F14\u51FA\u8868\uFF082D6\uFF09 TT \u3001\u5E30\u9084\u6F14\u51FA\u8868\uFF081D6\uFF09 RT\n\u30A2\u30A4\u30C6\u30E0\u6C7A\u5B9A\u8868\uFF081D6\uFF09 IT \u3001\u6642\u4EE3\u6C7A\u5B9A\u8868\uFF081D6\uFF09 AGT\n\u30FBD66\u30C0\u30A4\u30B9\u3042\u308A\n"
RTT =
DiceTable::SaiFicSkillTable.new(
  [
    ['科学', ['人工知能', '計算機', '電子工学', '機械工学', '物理学', '数学', '天文学', '地学', '化学', '医療', 'バイオ技術']],
    ['知識', ['帝王学', '経済', '政治', '社会', '法律', '情報', '労働', '教育', '歴史', '語学', '文学']],
    ['身体', ['狙う', '斬る', '殴る', '跳ぶ', '走る', '避ける', '柔軟', '持ち上げる', '食べる', '飲む', '叫ぶ']],
    ['センス', ['魔法', '超能力', '第六感', '宗教', '倫理', '観察', '我慢', '操縦', '哲学', '心理', '芸術']],
    ['知恵', ['戦略', '方便', '機転', '洞察力', '記憶力', '段取り', '応急処置', '漢方', '胆力', '勘', '人徳']],
    ['迷信', ['思い込み', 'インチキ', '未確認物体', '雨乞い', '風水', '占い', '縁起', '魔除け', '心霊', '運命', '民間伝承']],
  ],
  s_format: "分野「%<category_name>s」《%<skill_name>s》",
  rtt_format: "ランダム指定特技表(%<category_dice>d,%<row_dice>d) > %<text>s"
)

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

Returns a new instance of PastFutureParadox.



50
51
52
53
54
55
# File 'lib/bcdice/game_system/PastFutureParadox.rb', line 50

def initialize(command)
  super(command)
  @sort_add_dice = false
  @sort_barabara_dice = false
  @d66_sort_type = D66SortType::ASC
end

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



59
60
61
# File 'lib/bcdice/game_system/PastFutureParadox.rb', line 59

def eval_game_system_specific_command(command)
  return action_roll(command) || RTT.roll_command(@randomizer, command) || roll_tables(command, TABLES) || roll_table_command(command)
end