About this mod
Assign InventoryHotkey to DPad.
And with the optional function of the controller.
- Permissions and credits
The "config.json" is created at startup.
You can change the slot assign with "config.json".
1 to 9 , "0" is 10 , "-" is 11 , "+" is 12.
Move current tool to the Left = "L"
Move current tool to the Right = "R"
Move the toolbar up = "U"
Move the toolbar down = "D"
You can set the enable / disable key in "config.json EnableKey".
(default:"None".Example:"U","Numpad0","F1","ControllerA","ControllerY","LeftStick"etc.)
OputionalFunction(default:"false"."true" to enable)
Move the toolbar even when the menu is open.(LR shoulderKey)
OptionalFunction2(default:"false"."true" to enable)
When the menu is open, press the "Y button"(CraftButton) to imitate "Shift + right-click".
(Shift + right-click is "to select half a stack of inventory/chest items.")
The following explanation is written in Japanese.
起動時に「config.json」が作られます。
「config.json」ファイルをメモ帳などで編集することで、十字キー(DPad)にツールバーの選択が割り当てられます。
左から1~9、0-+をそれぞれ1~9、10、11、12で割り当てます。
現在のツール選択を左にずらすなら、"L"
現在のツール選択を右にずらすなら、"R"
ツールバーを上にずらすなら"U"
ツールバーを下にずらすなら"D"
例「"DPadUp": "1",」「"DPadDown": "5"」「"DPadLeft": "L"」「"DPadRight": "R"」など。
有効・無効はEnableKeyに"U","Numpad0","F1","ControllerA","LeftStick"などで割り当てる事で、ゲーム中に変更できます。
デフォルトは"None"(設定なし)です。
オプション機能(デフォルトは"false"、有効にする場合"true"を設定してください。)
メニューオープン時にもツールバーシフトを行えるようにします。(LR sholderKey)
オプション機能2(デフォルトは"false"、有効にする場合"true"を設定してください。)
メニューオープン時にYボタン(Craftボタン)で「シフト+右クリック」を行います。
スタックを半分づつ、拾ったり、移動したりできます。ショップの時は5づつ購入。
ゲーム中に十字キーにショートカット割り当てできれば、戦闘中に回復アイテム使ったりとか楽になるかな?と作りました。
作ってる途中にツールバーの上下の方法が分かったので試してたら、
インベントリメニューやチェストメニューのオープン時にも動いて不具合もなさそうなので追加で機能に入れました。
オプション機能2はキーボードでできて、コントローラーだとできなかったのが不満だったので、
どうにか追加できないか色々と試してなんとか機能を付けられました。
個人的には自作の「MoveAnnoyingCursor」と合わせてコントローラーの不満点が解消されたので、ひとまずは満足です。