ItemDockFix
Multi-row paged passive dock with Up/Down paging, page counter, arrow-key select and F to drop; fixes vanilla icon overlap. 被动栏改为多行网格 + ↑↓ 翻页 + 页码 + 方向键选择 + F 丢弃,修复原版图标重叠导致无法选中/丢弃。
| Last updated | 4 days ago |
| Total downloads | 90 |
| Total rating | 1 |
| Categories | QoL |
| Dependency string | Ultra_arting-ItemDockFix-1.1.2 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack_EtG
BepInEx pack for Enter the Gungeon. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2101README
ItemDockFix · 被动道具栏修复
**中文速览:**被动道具栏改为多行网格,支持 ↑↓ 翻页、页码提示、方向键选择、F 丢弃,修复原版被动过多时图标重叠、无法选中与丢弃的问题(完整中文说明见文末「中文速览」)。
Makes the passive item dock in Enter the Gungeon actually usable when you carry a lot of passive items.
Long-press Tab to open the map, and the dock at the bottom shows every passive you own so you can pick one and drop it with F. Vanilla lays all of them out in a single 270-unit row: once you have more than ~13 passives the icons pile on top of each other, and since the click test walks the list in order and stops at the first hit inside a fixed radius, the later icons can never be selected — so they can never be dropped.
This mod replaces that layout with a grid and adds keyboard control.
What it does
- Multi-row grid instead of one overlapping row. Icons are laid out in rows sized to the width of the dock strip, so nothing overlaps and every icon is individually clickable.
- Paging. When you own more than one page's worth, the extra items go to further pages; a small
1/2indicator appears in the top-right corner of the dock. Default page size is 14 x 3 = 42 passives (auto width, 3 rows) on a 16:9 display. - Rows adapt to the panel. If the dock panel is shorter than
RowsPerPagerows, the effective page size is reduced instead of letting the grid spill out of the panel — raisingRowsPerPagecan never push icons out of the dock. - Keyboard support. The mouse is no longer the only way in: arrow keys select,
Up/Downpage,Fdrops — all while the map is held open. (In vanilla the keyboard branch of the minimap controller is skipped entirely, so keyboard players could not drop passives at all.) - Reliable clicking. Because rows are packed tighter than vanilla's click radius, a click now selects the nearest icon instead of the first one in the list.
- Slightly smaller icons. Icons render at 80% of vanilla size by default so a dense grid stays readable — configurable.
- Safe dropping.
Fonly drops an item that is visibly selected on the current page and allowed to be dropped. An item that is off-page, not selected, or undroppable (quest/undroppable passives) is never dropped silently.
Only the passive dock is touched. Guns, actives, co-op split-screen docks, the map itself and everything else behave exactly like vanilla.
Controls
| Input | Action |
|---|---|
Hold Tab |
Open the map and the item dock (vanilla) |
| Mouse click on an icon | Select it (now always the nearest one) |
Left / Right |
Select previous / next icon on the current page |
Up / Down |
Previous / next page |
F |
Drop the selected passive (vanilla Action4) |
Gamepad behaviour is unchanged from vanilla (d-pad cycling, Action4 to drop).
Configuration
BepInEx/config/hawkhao.etg.itemdockfix.cfg
| Key | Default | Range | Meaning |
|---|---|---|---|
Layout/ItemsPerRow |
0 |
0-32 | Icons per row. 0 = fit the dock strip width automatically; a positive number caps it. |
Layout/RowsPerPage |
3 |
1-8 | Rows per page. Beyond ItemsPerRow x RowsPerPage items the dock pages with Up/Down. The real value is also capped by how many rows fit inside the dock panel. |
Layout/IconScale |
0.8 |
0.4-1.2 | Icon size relative to vanilla (1.0 = vanilla size). |
Debug/LogLayout |
false |
- | Log the computed grid geometry when it changes. |
Debug/EnableDebugHotkeys |
false |
- | Dev hotkeys F6-F11: grant random passives, dump dock geometry / passive registry, force a re-layout. For testing only — they cheat, keep this off during normal play. |
Values outside the range are confined by BepInEx when the config is written, and the mod also clamps them internally, so a hand-edited cfg cannot produce a broken layout.
Installation
- r2modman / Gale / Thunderstore Mod Manager: install
BepInExPack_EtGfirst, then this package. Gale users can keep the defaultDefaultprofile. - Manual: install BepInEx 5.4.x (x64) into the game folder, then copy
BepInEx/plugins/ItemDockFix/ItemDockFix.dllinto the game'sBepInEx/plugins/.
Compatibility
- Built against the current Steam build (Unity 2017.4.27, BepInEx 5.4.21).
- Works with mods that add passive items: they all go through
PlayerController.AcquirePassiveItem/GameUIRoot.AddPassiveItemToDock, which is the path this mod lays out. Tested with a heavy mod list (715PassiveItemsubclasses across 8 mod assemblies, 767 registered passive pickups) and 60+ passives in the dock at once. - Every hook is a postfix/prefix around vanilla logic and every callback is wrapped in
try/catchwith a log line, so a failure in the dock layout degrades to vanilla behaviour instead of breaking the map screen. - If another mod replaces
MinimapUIController.ArrangeDockItemsorUpdateitself, the two will conflict; otherwise there is no shared state.
Notes
- The page indicator only shows up when there is more than one page; it hides when the map is closed and is clamped to the screen so it cannot be left floating outside the UI.
RowsPerPagealso controls the vertical centering of the grid inside the dock panel, so a smaller value keeps the icons visually balanced instead of pinned to the bottom.
License
MIT — the mod source is free to use, modify and redistribute (see the LICENSE file in the repository). Enter the Gungeon and its item sprites remain the property of Dodge Roll / Devolver Digital; the icon is fan art.
中文速览
长按 Tab 打开地图后,底部的被动道具栏在原版里是单行 270 单位排布:被动超过十几个后图标互相重叠,而点击判定会在图标列表里"取第一个命中就停",于是后面的图标永远选不中、也就永远丢不掉。
本 mod 把它换成了网格布局:
- 按道具栏白条的宽度自动铺满,每行 14 个(默认)、每页 3 行 = 一页 42 个,超出后用
↑/↓翻页,右上角显示1/2这样的页数 - 每行行数会再受面板高度限制:把
RowsPerPage调大也不会让网格顶出道具栏 - 键盘可用:
←/→选择、↑/↓翻页、F丢弃(原版键盘玩家其实没法丢被动) - 点击改为"取最近图标",相邻图标再密也不会点错
F只会丢弃"当前页上确实被选中、且允许丢弃"的道具;不在当前页、没选中、或不可丢弃的道具不会被误丢- 图标默认缩到原版的 80%,密排时更好认
配置在 BepInEx/config/hawkhao.etg.itemdockfix.cfg,可调每行个数(0-32)、每页行数(1-8)、图标缩放(0.4-1.2),超出范围的数值会被夹回。只改被动道具栏,枪械、主动道具、双人分屏均保持原版行为。