Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo to StellarLife #491

Merged
merged 1 commit into from
Aug 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/bcdice/game_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
require "bcdice/game_system/SteamPunkers"
require "bcdice/game_system/StellarKnights"
require "bcdice/game_system/StellarKnights_Korean"
require "bcdice/game_system/SterileLife"
require "bcdice/game_system/StellarLife"
require "bcdice/game_system/StrangerOfSwordCity"
require "bcdice/game_system/StratoShout"
require "bcdice/game_system/StratoShout_Korean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

module BCDice
module GameSystem
class SterileLife < Base
class StellarLifeLife < Base
# ゲームシステムの識別子
ID = 'SterileLife'
ID = 'StellarLife'

# ゲームシステム名
NAME = 'ステラーライフTRPG'
Expand Down
18 changes: 9 additions & 9 deletions test/data/SterileLife.toml → test/data/StellarLife.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "4DA[4,8]"
output = "(0,5,0,1) > 成功数1"
rands = [
Expand All @@ -10,7 +10,7 @@ rands = [
]

[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "6DA-1[3,7,9]"
output = "(0,7,5,1,9,3) -1 > (-1,6,4,0,8,2) > 成功数5"
rands = [
Expand All @@ -23,15 +23,15 @@ rands = [
]

[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "VPFT"
output = "船名接頭辞表(4) > PSS(民間宇宙船)"
rands = [
{ sides = 10, value = 5 },
]

[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "VNRT"
output = "船名後半表(31) > オブザーバー"
rands = [
Expand All @@ -40,15 +40,15 @@ rands = [
]

[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "aaft"
output = "アバターアルファベット表①(6) > R"
rands = [
{ sides = 10, value = 7 },
]

[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "RNST"
output = "ランダムNPC艦表(21) > 〈リサイクルフォージ〉"
rands = [
Expand All @@ -57,7 +57,7 @@ rands = [
]

[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "RET"
output = "ランダムイベント表(81) > 氷火山アステロイド 推進剤300、希少金属1を獲得"
rands = [
Expand All @@ -66,7 +66,7 @@ rands = [
]

[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "TRAT"
output = "お宝形容表(36) > アバンギャルド"
rands = [
Expand All @@ -75,7 +75,7 @@ rands = [
]

[[ test ]]
game_system = "SterileLife"
game_system = "StellarLife"
input = "TET"
output = "超未来の技術(4) > スマートテクスタイル:布やロープが自由自在に動きます。カーボンナノチューブなどの導電性の素材を織り込むことで繊維自体が電子機器として稼働・変形し、ボタンのセンサーと連動して様々な機能を果たします。"
rands = [
Expand Down