Skip to content

Commit

Permalink
1.4.0 所持している数、倉庫に入っている数のテキスト設定を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
elleonard committed Jun 24, 2023
1 parent c60e51e commit 7409c5c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/codes/ItemStorage/DarkPlasma_ItemStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,8 @@ class Window_StorageNumber extends Window_MenuNumber {
return;
}
this.changeTextColor(ColorManager.systemColor());
this.drawText('所持している数:', 0, 0);
this.drawText('倉庫に入っている数:', 0, this.lineHeight());
this.drawText(`${settings.partyItemCountText}:`, 0, 0);
this.drawText(`${settings.storageItemCountText}:`, 0, this.lineHeight());
const changePartyItemNumber = this._toStorage ? -this._number : this._number;
this.changeTextColor(ColorManager.paramchangeTextColor(changePartyItemNumber));
this.drawText(`${$gameParty.numItems(this._item) + changePartyItemNumber}`, 0, 0, this.innerWidth, 'right');
Expand Down
13 changes: 13 additions & 0 deletions src/codes/ItemStorage/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ DarkPlasma_ItemStorage:
year: 2022
license: MIT
histories:
- date: 2023/06/24
version: 1.4.0
description: '所持している数、倉庫に入っている数のテキスト設定を追加'
- date: 2023/04/02
version: 1.3.1
description: 'typescript移行'
Expand Down Expand Up @@ -37,6 +40,16 @@ DarkPlasma_ItemStorage:
ja: 倉庫内に格納できるアイテム1種類の最大数を設定します。
type: number
default: 99
- param: partyItemCountText
text:
ja: 所持している数テキスト
type: string
default: 所持している数
- param: storageItemCountText
text:
ja: 倉庫に入っている数テキスト
type: string
default: 倉庫に入っている数
commands:
- command: openStorage
text:
Expand Down
2 changes: 1 addition & 1 deletion src/typings/rmmz-types

0 comments on commit 7409c5c

Please sign in to comment.