Class: BCDice::GameSystem::FutariSousa

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

Direct Known Subclasses

FutariSousa_Korean

Constant Summary collapse

ID =

ゲームシステムの識別子

'FutariSousa'
NAME =

ゲームシステム名

'フタリソウサ'
SORT_KEY =

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

'ふたりそうさ'
HELP_MESSAGE =

ダイスボットの使い方

"\u30FB\u5224\u5B9A\u7528\u30B3\u30DE\u30F3\u30C9\n\u63A2\u5075\u7528\uFF1A\u3010DT\u3011\u202610\u9762\u30C0\u30A4\u30B9\u30922\u3064\u632F\u3063\u3066\u5224\u5B9A\u3057\u307E\u3059\u3002\u300E\u6709\u5229\u300F\u306A\u3089\u30103DT\u3011\u3001\u300E\u4E0D\u5229\u300F\u306A\u3089\u30101DT\u3011\u3092\u4F7F\u3044\u307E\u3059\u3002\n\u52A9\u624B\u7528\uFF1A\u3010AS\u3011\u20266\u9762\u30C0\u30A4\u30B9\u30922\u3064\u632F\u3063\u3066\u5224\u5B9A\u3057\u307E\u3059\u3002\u300E\u6709\u5229\u300F\u306A\u3089\u30103AS\u3011\u3001\u300E\u4E0D\u5229\u300F\u306A\u3089\u30101AS\u3011\u3092\u4F7F\u3044\u307E\u3059\u3002\n\u30FB\u5404\u7A2E\u8868\n\u3010\u30BB\u30C3\u30B7\u30E7\u30F3\u6642\u3011\n\u7570\u5E38\u306A\u7656\u6C7A\u5B9A\u8868\u3000\u3000\u3000\u3000\u3000 SHRD\uFF0F\u65B0\u30FB\u7570\u5E38\u306A\u7656\u6C7A\u5B9A\u8868\u3000\u3000 SHND\n\u666E\u901A\u306E\uFF1F\u30FB\u7570\u5E38\u306A\u7656\u6C7A\u5B9A\u8868 SHAD\uFF0F\u30B1\u30A4\u30B8\u7570\u5E38\u306A\u7656\u6C7A\u5B9A\u8868\u3000 SHKD\n\u8D85\u63A2\u5075\u5411\u3051\u7570\u5E38\u306A\u7656\u8868\u3000\u3000 SHLD\n\u3000\u53E3\u304B\u3089\u51FA\u308B\u8868\u3000\u3000\u3000 SHFM\uFF0F\u5F37\u5F15\u306A\u635C\u67FB\u8868\u3000\u3000\u3000\u3000\u3000 SHBT\uFF0F\u3059\u3063\u3068\u307C\u3051\u8868\u3000\u3000\u3000\u3000\u3000\u3000 SHPI\n\u3000\u4E8B\u4EF6\u306B\u5922\u4E2D\u8868\u3000\u3000\u3000 SHEG\uFF0F\u30D1\u30FC\u30C8\u30CA\u30FC\u3068\u2026\u2026\u8868\u3000\u3000\u3000 SHWP\uFF0F\u4F55\u304B\u3057\u3066\u3044\u308B\u8868\u3000\u3000\u3000\u3000\u3000 SHDS\n\u3000\u5947\u60F3\u5929\u5916\u8868\u3000\u3000\u3000\u3000 SHFT\uFF0F\u6025\u306A\u3072\u3089\u3081\u304D\u8868\u3000\u3000\u3000\u3000 SHIN\uFF0F\u559C\u6012\u54C0\u697D\u8868\u3000\u3000\u3000\u3000\u3000\u3000\u3000 SHEM\n\u3000\u4EBA\u9593\u30A8\u30DF\u30E5\u30EC\u30FC\u30C8\u8868 SHHE\uFF0F\u4EBA\u9593\u30A8\u30DF\u30E5\u30EC\u30FC\u30C8\u5931\u6557\u8868 SHHF\uFF0F\u30D1\u30FC\u30C8\u30CA\u30FC\u3078\u306E\u3044\u305F\u305A\u3089\u8868 SHMP\n\u3000\u601D\u308F\u305B\u3076\u308A\u8868\u3000\u3000\u3000 SHSB\uFF0F\u3082\u3069\u304B\u3057\u3044\u8868\u3000\u3000\u3000\u3000\u3000 SHFR\uFF0F\u7A81\u7136\u3069\u3046\u3057\u305F\u8868\u3000\u3000\u3000\u3000\u3000 SHIS\n\u3000\u308F\u304C\u307E\u307E\u3092\u8A00\u3046\u8868\u3000 SHSE\uFF0F\u666E\u901A\u306B\u898B\u3048\u308B\u8868\u3000\u3000\u3000\u3000 SHLM\uFF0F\u5AC9\u59AC\u306B\u72C2\u3046\u8868\u3000\u3000\u3000\u3000\u3000\u3000 SHJS\n\u3000\u50B2\u6162\u306A\u614B\u5EA6\u8868\u3000\u3000\u3000 SHAR\uFF0F\u6BD4\u8F03\u7684\u8EFD\u5EA6\u306A\u3082\u306E\u8868\u3000\u3000 SHRM\uFF0F\u30CE\u30FC\u30BF\u30A4\u30E0\u8868\u3000\u3000\u3000\u3000\u3000\u3000 SHNT\n\u3000\u635C\u67FB\u306E\u3084\u308A\u65B9\u8868\u3000\u3000 SHIM\uFF0F\u8CB4\u65CF\u8868\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 SHNO\uFF0F\u8AAC\u660E\u3057\u306A\u3044\u8868\u3000\u3000\u3000\u3000\u3000\u3000 SHNE\n\u3000\u5211\u4E8B\u3068\u3057\u3066\u306E\u7656\u8868\u3000 SHHD\uFF0F\u540D\u8A89\u3042\u308B\u63A2\u5075\u8868\u3000\u3000\u3000\u3000 SHGD\uFF0F\u8D85\u3059\u3054\u3044\u8868\u3000\u3000\u3000\u3000\u3000\u3000\u3000 SHSA\n\u3000\u8D85\u4E8B\u4EF6\u306B\u5922\u4E2D\u8868\u3000\u3000 SHEP\uFF0F\u8D85\u30D1\u30FC\u30C8\u30CA\u30FC\u3068\u2026\u2026\u8868\u3000\u3000 SHXP\n\u30A4\u30D9\u30F3\u30C8\u8868\n\u3000\u73FE\u5834\u306B\u3066\u3000 EVS\uFF0F\u306A\u305C\uFF1F\u3000 EVW\uFF0F\u5354\u529B\u8005\u3068\u5171\u306B EVN\n\u3000\u5411\u3053\u3046\u304B\u3089 EVC\uFF0FVS\u5BB9\u7591\u8005 EVV\n\u3000\u9589\u9396\u7A7A\u9593\u3000 EVE\n\u3000\u63A2\u5075\u306E\u307F\u635C\u67FB EVD\uFF0F\u52A9\u624B\u306E\u307F\u635C\u67FB\u3000\u3000 EVA\uFF0F\u89B3\u5149\u635C\u67FB\u3000 EVT\n\u3000\u601D\u308F\u306C\u30D2\u30F3\u30C8 EVH\uFF0F\u5B9F\u9A13\u3092\u3057\u3066\u307F\u3088\u3046 EVX\uFF0F\u30B2\u30B9\u30C8\u635C\u67FB EVG\n\u3000\u30B1\u30A4\u30B8\u805E\u304D\u8FBC\u307F\u635C\u67FB\u3000\u3000\u3000 EVQ\uFF0F\u30B1\u30A4\u30B8\u5927\u898F\u6A21\u635C\u67FB\u3000\u3000\u3000\u3000\u3000 EVM\uFF0F\u3053\u3063\u305D\u308A\u60C5\u5831\u306E\u53D7\u3051\u6E21\u3057 EVP\n\u3000\u540C\u50DA\u305F\u3061\u3068\u4E00\u7DD2\u306B\u635C\u67FB\u3059\u308B EVO\uFF0F\u983B\u67D3\u307F\u306E\u5E97\u30B7\u30C1\u30E5\u30A8\u30FC\u30B7\u30E7\u30F3 EVF\uFF0F\u30CF\u30FC\u30C9B\u30C7\u30AB\u30A2\u30AF\u30B7\u30E7\u30F3  EVB\n\u3000\u63A2\u5075\u3092\u5927\u4EBA\u3057\u304F\u3055\u305B\u308B\u635C\u67FB EVL\uFF0F\u4F1D\u7D71\u7684\u635C\u67FB\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 EVZ\uFF0F\u539F\u59CB\u7684\u635C\u67FB\u3000\u3000\u3000\u3000\u3000\u3000 EVR\n\u3000\u8D85\u63A2\u5075\u8ABF\u67FB\u3000\u3000\u3000\u3000\u3000\u3000\u3000EV6S\uFF0F\u795E\u901F\u635C\u67FB\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000EV6F\n\u611F\u60C5\u8868\n\u3000\u611F\u60C5\u8868A\uFF0FB\u3000\u3000 FLT66\u30FBFLT10\n\u3000\u6C17\u306B\u5165\u3063\u3066\u3044\u308B\u3068\u3053\u308D\u3000 FLTL66\u3000\uFF0F\u6C17\u306B\u5165\u3089\u306A\u3044\u3068\u3053\u308D\u3000 FLTD66\n\u3000\u30E9\u30F3\u30C0\u30E0\u611F\u60C5\u6C7A\u5B9A\u8868\uFF08\u3042\u306A\u305F\uFF09\u3000 FLTRA\n\u3000\u9854\u306E\u30D1\u30FC\u30C4\u3000\u3000\u3000\u3000 FLTF66\uFF0F\u4F53\u306E\u30D1\u30FC\u30C4\u3000 FLTB66\uFF0F\u751F\u6D3B\u7FD2\u6163\u3000\u3000\u3000 FLTH66\n\u3000\u3075\u308F\u3063\u3068\u3057\u305F\u611F\u899A\u3000 FLTS66\uFF0F\u4ED6\u4EBA\u3078\u306E\u614B\u5EA6 FLTA66\uFF0F\u30D8\u30D3\u30FC\u30A6\u30A7\u30A4\u30C8 FLTW66\n\u3000\u540C\u50DA\u3000\u3000\u3000\u3000 FLTC66\uFF0F\u90E8\u4E0B\u3000\u3000\u3000\u3000 FLTU66\uFF0F\u4E0A\u53F8\u3000\u3000\u3000\u3000 FLTO66\n\u3000\u635C\u67FB\u306E\u3084\u308A\u65B9 FLTI66\n\u8ABF\u67FB\u306E\u969C\u5BB3\u8868 OBT\u3000\u3000\u5909\u8ABF\u8868 ACT\u3000\u3000\u76EE\u6483\u8005\u8868 EWT\u3000\u3000\u8FF7\u5BAE\u5165\u308A\u8868 WMT\n\u601D\u3044\u51FA\u306E\u54C1\u6C7A\u5B9A\u8868 MIT\u3000\u3000\u30A8\u30D4\u30BD\u30FC\u30C9\u4ED8\u304D\u601D\u3044\u51FA\u306E\u54C1\u8868 MITE\u3000\u3000\u547C\u3073\u540D\u8868A\u30FBB\u3000 NCT66\u30FBNCT10\n\u3010\u8A2D\u5B9A\u6642\u3011\n\u80CC\u666F\u8868\n\u3000\u63A2\u5075\u3000\u904B\u547D\u306E\u8840\u7D71 BGDD\uFF0F\u5929\u6027\u306E\u624D\u80FD BGDG\uFF0F\u30DE\u30CB\u30A2\u3000\u3000\u3000\u3000 BGDM\n\u3000\u52A9\u624B\u3000\u6B63\u7FA9\u306E\u4EBA\u3000 BGAJ\uFF0F\u60C5\u71B1\u306E\u4EBA\u3000 BGAP\uFF0F\u5DFB\u304D\u8FBC\u307E\u308C\u306E\u4EBA BGAI\n\u8EAB\u9577\u8868 HT\u3000\u3000\u305F\u307E\u308A\u5834\u8868 BT\u3000\u3000\u95A2\u4FC2\u8868 GRT\n\u8077\u696D\u8868A\u30FBB\u3000\u3000JBT66\u30FBJBT10\u3000\u3000\u30D5\u30A1\u30C3\u30B7\u30E7\u30F3\u7279\u5FB4\u8868A\u30FBB\u3000\u3000\u3000\u3000FST66\u30FBFST10\n\u597D\u304D\u306A\u3082\u306E\uFF0F\u5ACC\u3044\u306A\u3082\u306E\u8868A\u30FBB\u3000LDT66\u30FBLDT10\n"

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

Returns a new instance of FutariSousa.



64
65
66
67
68
# File 'lib/bcdice/game_system/FutariSousa.rb', line 64

def initialize(command)
  super(command)

  @d66_sort_type = D66SortType::ASC
end

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



72
73
74
75
76
77
78
79
80
81
82
# File 'lib/bcdice/game_system/FutariSousa.rb', line 72

def eval_game_system_specific_command(command)
  if (m = /^(\d+)?DT$/i.match(command))
    count = m[1]&.to_i || 2
    return roll_dt(command, count)
  elsif (m = /^(\d+)?AS$/i.match(command))
    count = m[1]&.to_i || 2
    return roll_as(command, count)
  end

  return roll_tables(command, self.class::TABLES)
end