Elin
32 个评价
Sort Inventory
   
奖励
收藏
已收藏
取消收藏
Gameplay: QoL
文件大小
发表于
更新日期
349.137 KB
5 月 10 日 下午 11:42
12 月 11 日 下午 10:52
7 项改动说明 ( 查看 )

订阅以下载
Sort Inventory

描述
(English is below Japanese)

このMODは、インベントリ内のコンテナすべてをまとめてソートするショートカットキーを追加します。

通常インベントリをソートするには、各コンテナのソートボタンを1つ1つクリックする必要があり煩雑です。
常にソートさせることもできますが、そうするとアイテムを任意の位置に置くことができなくなり、不便なことがあります。

このMODはそのような問題を解決します! このMODによって追加されるショートカットキーを実行すると、一発でインベントリ内のすべてのコンテナをソートします。

設定

設定ファイルは`SteamLibrary\steamapps\common\Elin\BepInEx\config\me.pocke.sort-inventory.cfg`にあります。

KeyCode

ショートカットキーに使用するキーを指定します。
デフォルト: S

KeyCodeMod

ショートカットキーに使用する修飾キーを指定します。
デフォルト: LeftAlt
None が指定された場合、修飾キーなしで動作します。

IgnoredContainerPattern

カンマ区切りの文字列で、ソートの対象外にしたいコンテナの名前を指定します。
デフォルト: 空文字列


コンテナ名が指定した文字列を含む場合、そのコンテナはこのMODによってソートされません。
コンテナ名は各アイテムのデフォルトの名前(例: 頑丈な箱)か、プレイヤーが設定した名前を参照します。

ConcatContainers

後述するconcatモードを有効にします。
デフォルト: false
concatモードが無効の場合、各コンテナのソートボタンを1つ1つクリックするのと同じ動作をします。

concatモード

concatモードを有効にすると、インベントリ内の同じ設定を持つコンテナを1つのコンテナとして扱ってソートします。

通常は各コンテナが独立してソートされます。そのためソート後も、同じ種類のアイテムが複数のコンテナに分散してしまいます。
concatモードでは複数のコンテナを1つのコンテナとして扱ってソートするため、同じ種類のアイテムを連続して並べられます。

また、別の振り分け設定を持つコンテナは別のコンテナとして扱われます。これによって、例えばなま物を保存するためのクーラーボックスの中身が他のコンテナと混ざることはありません。





This MOD adds a shortcut key to sort all containers in the inventory at once.

Normally, to sort the inventory, you need to click the sort button for each container one by one, which is cumbersome.
You can always enable sorting, but doing so makes it inconvenient because you cannot place items in desired positions.

This MOD solves such problems! By executing the shortcut key added by this MOD, you can sort all containers in the inventory at once.

Settings

The configuration file is located at `SteamLibrary\steamapps\common\Elin\BepInEx\config\me.pocke.sort-inventory.cfg`.

KeyCode

Specifies the key to use for the shortcut key.
Default: S

KeyCodeMod

Specifies the modifier key to use for the shortcut key.
Default: LeftAlt
If "None" is specified, it works without a modifier key.

IgnoredContainerPattern

A comma-separated string that specifies the names of containers you want to exclude from sorting.
Default: Empty string

If the container name contains the specified string, that container will not be sorted by this MOD.
The container name refers to the default name of each item (e.g., sturdy box) or the name set by the player.

ConcatContainers

Enables the concat mode described below.
Default: false
If concat mode is disabled, it behaves the same as clicking the sort button for each container one by one.

Concat Mode

When concat mode is enabled, containers in the inventory with the same settings are treated as a single container for sorting.

Normally, each container is sorted independently. As a result, even after sorting, the same type of items may be distributed across multiple containers.
In concat mode, multiple containers are treated as a single container for sorting, allowing the same type of items to be arranged consecutively.

Additionally, containers with different distribution settings are treated as separate containers. This ensures, for example, that the contents of a cooler box used to store perishables do not mix with other containers.




https://github.com/pocke/ElinSortInventoryMod
15 条留言
Velgus 12 月 11 日 下午 11:13 
So fast, and it works now - thank you!
pocke  [作者] 12 月 11 日 下午 11:07 
@Velgus Sorry for my misunderstanding. I now fully understand the issue. I released a new version to fix this problem. With this change, this mod sorts containers in the side section too.
Velgus 12 月 11 日 下午 10:30 
It still doesn't work. For reference, I mean when you place containers in the side section like this: https://imgur.com/a/T1rMuUy (this is also where the pouch used as an Oren wallet starts off in a new game)

If I put them into the base inventory, they sort fine, but if they're in that side section, they don't sort. This applies to both regular and concat mode, and all containers are on default settings.
pocke  [作者] 12 月 10 日 下午 11:52 
@Niv @Velgus Thanks for your feedbacks. I've released a new version of this mod. I hope it will help you.

* It adds a new setting to ignore specified containers
* It fixes container grouping algorithm. It unexpectedly ignored categories if the player does not use "Advanced Distribution" option.

See the release and the mod description for more detail. Thanks.
Velgus 12 月 9 日 上午 5:16 
The mod does not sort containers that are in the side-bar (eg. where gear is equipped). Could this be added? I prefer keeping all my containers in that section
Niv 12 月 1 日 下午 8:25 
concatモードが有効の時、各コンテナの振り分け設定を無視してソートされます。
このモードはどのように意図して実装されたのでしょうか。

またアイテムを任意の位置に置くことが出来なくなる事を解消する旨の説明がされていますが、本MODを使用してもこの問題は解消されません。
任意のコンテナをソートから除外するなどの設定が必要だと思います。
OH NO 9 月 23 日 下午 1:43 
when I sort, it only sorts my first bag. all my other bags do not get sorted. is this working as intended?
kotakotta 8 月 12 日 上午 4:23 
ah I see! Thanks a lot:steamhappy:
pocke  [作者] 8 月 12 日 上午 1:57 
@kotakotta I've probably fixed the problem. It displayed an error when the inventory is closed by Tab key.
But this mod still does nothing when the inventory is closed. So please open the inventory first to sort.

Thank you for your report and sorry for the late response. Feel free to ask me if you still have a problem
kotakotta 8 月 5 日 上午 1:26