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

[SW2] 騎獣の価格に数値以外のものが入力されている場合に適切に整形する #241

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ViVi-shark
Copy link
Contributor

@ViVi-shark ViVi-shark commented Aug 8, 2024

変更内容

  • 必要でなさそうなときは単位 G をつけない
  • 末尾の括弧書きは単位の後ろに回す

必要でなさそうなときは単位 G をつけない

従来は、騎獣の価格に常に単位 G がついていた。
image

が、金額以外のものが記入されたときに不自然なことになるので、価格(の末尾)が数字でなければ単位をつけないようにした。

なお、金額以外のものが入力される具体例としては、(2.0時代の表現だが)『ルミエルレガシィ』137頁の「レンタル不能」などが考えられる。

末尾の括弧書きは単位の後ろに回す

(非売品) など、末尾に括弧書きがある場合、その部分を単位より後ろに回すようにした。

該当する表現の例は、やはり『ルミエルレガシィ』137頁などにある。

image

@ViVi-shark ViVi-shark force-pushed the feature/sw2-remove_unit_if_price_is_not_number branch from 2a66a7d to 35772f5 Compare August 27, 2024 05:02
@ViVi-shark ViVi-shark changed the title [SW2] 騎獣の価格が数値でなければ単位 G をつけない [SW2] 騎獣の価格に数値以外のものが入力されている場合に適切に整形する Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant