Class: BCDice::GameSystem::BeginningIdol
- Defined in:
- lib/bcdice/game_system/BeginningIdol.rb,
lib/bcdice/game_system/beginning_idol/table.rb,
lib/bcdice/game_system/beginning_idol/item_table.rb,
lib/bcdice/game_system/beginning_idol/work_table.rb,
lib/bcdice/game_system/beginning_idol/chain_table.rb,
lib/bcdice/game_system/beginning_idol/skill_table.rb,
lib/bcdice/game_system/beginning_idol/costume_table.rb,
lib/bcdice/game_system/beginning_idol/d6_twice_table.rb,
lib/bcdice/game_system/beginning_idol/chain_d66_table.rb,
lib/bcdice/game_system/beginning_idol/bad_status_table.rb,
lib/bcdice/game_system/beginning_idol/with_abnormality.rb,
lib/bcdice/game_system/beginning_idol/accessories_table.rb,
lib/bcdice/game_system/beginning_idol/random_event_table.rb,
lib/bcdice/game_system/beginning_idol/my_skill_name_table.rb
Direct Known Subclasses
Defined Under Namespace
Modules: WithAbnormality Classes: BadStatusTable, ChainD66Table, ChainTable, CostumeTable, D66WithAbnormality, D6TwiceTable, ItemTable, MySkillNameTable, RandomEventTable, SkillGetTable, SkillHometown, SkillTable, TableWithAbnormality, WorkWithChanceTable
Constant Summary collapse
- ID =
ゲームシステムの識別子
'BeginningIdol'- NAME =
ゲームシステム名
'ビギニングアイドル'- SORT_KEY =
ゲームシステム名の読みがな
'ひきにんくあいとる'- HELP_MESSAGE =
ダイスボットの使い方
"\u3053\u308C\u306F\u30012015\u5E74\u306B\u65B0\u66F8\u30B5\u30A4\u30BA\u3067\u767A\u58F2\u3055\u308C\u305F\u300E\u99C6\u3051\u51FA\u3057\u30A2\u30A4\u30C9\u30EBRPG \u30D3\u30AE\u30CB\u30F3\u30B0\u30A2\u30A4\u30C9\u30EB \u30C1\u30E3\u30EC\u30F3\u30B8\u30AC\u30FC\u30EB\u30BA\u300F\u304A\u3088\u3073\u305D\u306E\u30B5\u30D7\u30EA\u30E1\u30F3\u30C8\u306B\u5BFE\u5FDC\u3057\u305F\u30B3\u30DE\u30F3\u30C9\u3067\u3059\u3002\n\n\u30FB\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u3000[r]PDn[+m/-m](r\uFF1A\u5834\u306B\u6B8B\u3063\u305F\u51FA\u76EE\u3000n\uFF1A\u632F\u308B\u6570\u3000m\uFF1A\u4FEE\u6B63\u5024)\n\u30FB\u30EF\u30FC\u30EB\u30C9\u30BB\u30C3\u30C6\u30A3\u30F3\u30B0\u4ED5\u4E8B\u8868\u3000BWT\uFF1A\u5927\u624B\u82B8\u80FD\u30D7\u30ED\u3000LWT\uFF1A\u5F31\u5C0F\u82B8\u80FD\u30D7\u30ED\n\u3000TWT\uFF1A\u30E9\u30A4\u30D6\u30B7\u30A2\u30BF\u30FC\u3000CWT\uFF1A\u30A2\u30A4\u30C9\u30EB\u90E8\u3000LO[n]\uFF1A\u5730\u65B9\u30A2\u30A4\u30C9\u30EB(n\uFF1A\u30C1\u30E3\u30F3\u30B9)\n\u3000SU\uFF1A\u60C5\u71B1\u306E\u590F\u3000WI\uFF1A\u306C\u304F\u3082\u308A\u306E\u51AC\u3000NA\uFF1A\u5927\u81EA\u7136\u3000GA\uFF1A\u5973\u5B66\u5712\u3000BA\uFF1A\u30A2\u30AB\u30C7\u30DF\u30FC\n\u30FB\u4ED5\u4E8B\u8868\u3000WT\u3000VA\uFF1A\u30D0\u30E9\u30A8\u30C6\u30A3\u3000MU\uFF1A\u97F3\u697D\u95A2\u4FC2\u3000DR\uFF1A\u30C9\u30E9\u30DE\u95A2\u4FC2\n\u3000VI\uFF1A\u30D3\u30B8\u30E5\u30A2\u30EB\u95A2\u4FC2\u3000SP\uFF1A\u30B9\u30DD\u30FC\u30C4\u3000CHR\uFF1A\u30AF\u30EA\u30B9\u30DE\u30B9\u3000PAR\uFF1A\u30D1\u30FC\u30C8\u30CA\u30FC\u95A2\u4FC2\n\u3000SW\uFF1A\u304A\u83D3\u5B50\u3000AN\uFF1A\u52D5\u7269\u3000MOV\uFF1A\u6620\u753B\u3000FA\uFF1A\u30D5\u30A1\u30F3\u30BF\u30B8\u30FC\n\u30FB\u30E9\u30F3\u30C0\u30E0\u30A4\u30D9\u30F3\u30C8\u3000RE\n\u30FB\u30CF\u30D7\u30CB\u30F3\u30B0\u8868\u3000HA\n\u30FB\u7279\u6280\u30EA\u30B9\u30C8\u3000AT[n](n\uFF1A\u5206\u91CENo.)\n\u30FB\u30A2\u30A4\u30C9\u30EB\u30B9\u30AD\u30EB\u4FEE\u5F97\u8868\u3000SGT\uFF1A\u30C1\u30E3\u30EC\u30F3\u30B8\u30AC\u30FC\u30EB\u30BA\u3000RS\uFF1A\u30ED\u30FC\u30C9\u30C8\u30A5\u30D7\u30EA\u30F3\u30B9\n\u30FB\u5909\u8ABF\u3000BT[n](n\uFF1A\u767A\u751F\u6570)\n\u30FB\u30A2\u30A4\u30C6\u30E0\u3000IT[n](n\uFF1A\u7372\u5F97\u6570)\n\u30FB\u30A2\u30AF\u30BB\u30B5\u30EA\u30FC\u3000ACT\uFF1A\u7A2E\u5225\u6C7A\u5B9A\u3000ACB\uFF1A\u30D6\u30E9\u30F3\u30C9\u6C7A\u5B9A\u3000ACE\uFF1A\u52B9\u679C\u8868\n\u30FB\u8863\u88C5\u3000DT\uFF1A\u30C1\u30E3\u30EC\u30F3\u30B8\u30AC\u30FC\u30EB\u30BA\u3000RC\uFF1A\u30ED\u30FC\u30C9\u30C8\u30A5\u30D7\u30EA\u30F3\u30B9\u3000FC:\u30D5\u30A9\u30FC\u30C1\u30E5\u30F3\u30B9\u30BF\u30FC\u30BA\n\u30FB\u7121\u8336\u3076\u308A\u8868\u3000LUR\uFF1A\u5730\u65B9\u30A2\u30A4\u30C9\u30EB\u3000SUR\uFF1A\u60C5\u71B1\u306E\u590F\u3000WUR\uFF1A\u306C\u304F\u3082\u308A\u306E\u51AC\n\u3000NUR\uFF1A\u5927\u81EA\u7136\u3000GUR\uFF1A\u5973\u5B66\u5712\u3000BUR\uFF1A\u30A2\u30AB\u30C7\u30DF\u30FC\n\u30FB\u30BB\u30F3\u30BF\u30FC\u30EB\u30FC\u30EB\u3000HW\uFF1A\u5411\u304B\u3044\u98A8\u30B7\u30FC\u30F3\u8868\u3000FL\uFF1A\u99C6\u3051\u51FA\u3057\u30B7\u30FC\u30F3\u8868\u3000LN\uFF1A\u5B64\u72EC\u8868\n\u3000\u30DE\u30A4\u30B9\u30AD\u30EB\u3010MS\uFF1A\u540D\u524D\u6C7A\u5B9A\u3000MSE\uFF1A\u52B9\u679C\u8868\u3011\u3000\u6F14\u51FA\u8868\u3010ST\u3000FST\uFF1A\u30D5\u30A1\u30F3\u30BF\u30B8\u30FC\u3011\n\u30FB\u5408\u5BBF\u30EB\u30FC\u30EB\u3000\u6563\u7B56\u8868\u3010SH\uFF1A\u30B7\u30E7\u30C3\u30D4\u30F3\u30B0\u30E2\u30FC\u30EB\u3000MO\uFF1A\u5C71\u3000SEA\uFF1A\u6D77\u3000SPA\uFF1A\u6E29\u6CC9\u8857\u3011\n\u3000TN\uFF1A\u591C\u8A9E\u308A\u30B7\u30C1\u30E5\u30A8\u30FC\u30B7\u30E7\u30F3\u8868\u3000\u6210\u9577\u8868\u3010CG\uFF1A\u30B3\u30E2\u30F3\u3000GG\uFF1A\u30B4\u30FC\u30EB\u30C9\u3011\n\u30FB\u30B5\u30D3\u8868\u3000CHO\u3000SCH\uFF1A\u60C5\u71B1\u306E\u590F\u3000WCH\uFF1A\u306C\u304F\u3082\u308A\u306E\u51AC\u3000NCH\uFF1A\u5927\u81EA\u7136\n\u3000GCH\uFF1A\u5973\u6027\u5411\u3051\u3000PCH\uFF1A\u529B\u5F37\u3044\n\u30FB\u30AD\u30E3\u30E9\u7A7A\u767D\u8868\u3000CBT\uFF1A\u30C1\u30E3\u30EC\u30F3\u30B8\u30AC\u30FC\u30EB\u30BA\u3000RCB\uFF1A\u30ED\u30FC\u30C9\u30C8\u30A5\u30D7\u30EA\u30F3\u30B9\n\u30FB\u8DA3\u5473\u7A7A\u767D\u8868\u3000HBT\uFF1A\u30C1\u30E3\u30EC\u30F3\u30B8\u30AC\u30FC\u30EB\u30BA\u3000RHB\uFF1A\u30ED\u30FC\u30C9\u30C8\u30A5\u30D7\u30EA\u30F3\u30B9\n\u30FB\u30DE\u30B9\u30B3\u30C3\u30C8\u66B4\u8D70\u8868\u3000RU\n\u30FB\u30A2\u30A4\u30C9\u30EB\u71B1\u6E6F\u98A8\u5442\u3000nC\uFF1A\u30D0\u30FC\u30B9\u30C8\u30BF\u30A4\u30E0(n\uFF1A\u6E29\u5EA6)\u3000BU\uFF1A\u30D0\u30FC\u30B9\u30C8\u8868\n\u30FB\u653B\u6483\u3000n[S]A[r][+m/-m](n\uFF1A\u632F\u308B\u6570\u3000S\uFF1A\u5931\u6557\u3057\u306A\u3044\u3000r\uFF1A\u53D6\u308A\u9664\u304F\u51FA\u76EE\u3000m\uFF1A\u4FEE\u6B63\u5024)\n\u30FB\u304B\u3093\u305F\u3093\u30D1\u30FC\u30BD\u30F3\u8868\u3000SIP\n\u30FB\u4F1A\u5834\u8868\n\u3000BVT\uFF1A\u5927\u624B\u82B8\u80FD\u30D7\u30ED\u3000LVT\uFF1A\u5F31\u5C0F\u82B8\u80FD\u30D7\u30ED\u3000TVT\uFF1A\u30E9\u30A4\u30D6\u30B7\u30A2\u30BF\u30FC\u3000CVT\uFF1A\u30A2\u30A4\u30C9\u30EB\u90E8\n\u30FB\u5834\u6240\u8868\n\u3000BST\uFF1A\u5927\u624B\u82B8\u80FD\u30D7\u30ED\u3000LST\uFF1A\u5F31\u5C0F\u82B8\u80FD\u30D7\u30ED\u3000TST\uFF1A\u30E9\u30A4\u30D6\u30B7\u30A2\u30BF\u30FC\u3000CST\uFF1A\u30A2\u30A4\u30C9\u30EB\u90E8\n\u30FB\u30D7\u30EC\u30C3\u30B7\u30E3\u30FC\u7A2E\u5225\u6C7A\u5B9A\u8868\n\u3000BPT\uFF1A\u5927\u624B\u82B8\u80FD\u30D7\u30ED\u3000LPT\uFF1A\u5F31\u5C0F\u82B8\u80FD\u30D7\u30ED\u3000TPT\uFF1A\u30E9\u30A4\u30D6\u30B7\u30A2\u30BF\u30FC\u3000CPT\uFF1A\u30A2\u30A4\u30C9\u30EB\u90E8\n\u30FB\u9053\u5177\u8868\n\u3000BIT\uFF1A\u5927\u624B\u82B8\u80FD\u30D7\u30ED\u3000LIT\uFF1A\u5F31\u5C0F\u82B8\u80FD\u30D7\u30ED\u3000TIT\uFF1A\u30E9\u30A4\u30D6\u30B7\u30A2\u30BF\u30FC\u3000CIT\uFF1A\u30A2\u30A4\u30C9\u30EB\u90E8\n[]\u5185\u306F\u7701\u7565\u53EF\u3000D66\u5165\u308C\u66FF\u3048\u3042\u308A\n"- TABLES =
translate_tables(:ja_jp)
- BAD_STATUS_TABLE =
BadStatusTable.new(:ja_jp)
- LOCAL_WORK_TABLE =
translate_local_work_table(:ja_jp)
- ITEM_TABLE =
ItemTable.new(:ja_jp)
- SKILL_TABLE =
translate_skill_table(:ja_jp)
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
- #eval_game_system_specific_command(command) ⇒ Object
-
#initialize(command) ⇒ BeginningIdol
constructor
A new instance of BeginningIdol.
- #result_nd6(total, dice_total, _value_list, cmp_op, target) ⇒ Object
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
Constructor Details
#initialize(command) ⇒ BeginningIdol
Returns a new instance of BeginningIdol.
70 71 72 73 74 75 |
# File 'lib/bcdice/game_system/BeginningIdol.rb', line 70 def initialize(command) super(command) @sort_add_dice = true @d66_sort_type = D66SortType::ASC end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
94 95 96 97 98 99 100 101 102 103 |
# File 'lib/bcdice/game_system/BeginningIdol.rb', line 94 def eval_game_system_specific_command(command) roll_attack(command) || roll_burst(command) || roll_performance(command) || self.class::SKILL_TABLE.roll_command(@randomizer, command) || self.class::ITEM_TABLE.roll_command(@randomizer, command) || self.class::BAD_STATUS_TABLE.roll_command(@randomizer, command) || self.class::LOCAL_WORK_TABLE.roll_command(@randomizer, command) || roll_tables(command, self.class::TABLES) end |
#result_nd6(total, dice_total, _value_list, cmp_op, target) ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/bcdice/game_system/BeginningIdol.rb', line 77 def result_nd6(total, dice_total, _value_list, cmp_op, target) return nil if target == '?' return nil unless cmp_op == :>= if dice_total <= 2 Result.fumble(translate("BeginningIdol.fumble")) elsif dice_total >= 12 Result.critical(translate("BeginningIdol.special")) elsif total >= target Result.success(translate("success")) else Result.failure(translate("failure")) end end |