You are viewing a potentially older version of this package. View all versions.
ByteSizeMetal-InventoryControls-1.7.1 icon

InventoryControls

Cycle items in hand while armed, or browse without equipping while unarmed. Tap to store or equip; hold to drop. Occupied hotbar displays group around the main item. Supports vanilla and optional SLRUpgradePack slots.

Date uploaded 2 weeks ago
Version 1.7.1
Download link ByteSizeMetal-InventoryControls-1.7.1.zip
Downloads 271
Dependency string ByteSizeMetal-InventoryControls-1.7.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Inventory Controls 1.7.1

Author: ByteSizeMetal

A standalone R.E.P.O. inventory control mod. Requires BepInEx only. It works with the normal three inventory slots without SLRUpgradePack.

When SLRUpgradePack is detected, the included compatibility adapter automatically includes its unlocked extra inventory slots, up to nine total. No separate patch, toggle, or installation is needed. If SLR is absent, disabled or its optional API cannot be read, the base controls continue to work with vanilla slots.

Controls

Action Keyboard default Controller default
Cycle Left [ D-pad left
Cycle Right ] D-pad right
Put Away Backquote D-pad down

Remap in REPOConfig → Inventory Controls, under Bindings - Cycle Left, Bindings - Cycle Right, and Bindings - Put Away. Put Away is the unequip / re-equip action: tap to store what is in hand, tap with empty hands to equip the highlighted item, or hold to drop a held item.

Set General → Hold to drop seconds to adjust the hold threshold (default 0.4 seconds, range 0.1–2 seconds). A tap stores or re-equips on button release; a hold drops once when the threshold is reached. Releasing after a drop does nothing. Holding with empty hands does nothing. A mouse-wheel binding always acts as an immediate tap because a wheel pulse cannot be held.

Each action has these editable dropdowns:

  • Keyboard / Mouse Key — choose a key, or Mouse0–Mouse4; None disables this binding.
  • Keyboard Modifier and Keyboard Modifier 2 — optional held keys for a chord.
  • Controller button — choose a D-pad direction, face button, shoulder, trigger or stick press.
  • Controller modifier — optional controller button that must also be held.
  • Mouse wheel — None, Up or Down.

Changes apply immediately. Controller face directions are South = Xbox A / PlayStation Cross, East = B / Circle, West = X / Square, North = Y / Triangle.

Version 1.1.1 uses enum settings because REPOConfig 1.2.7 does not display BepInEx KeyboardShortcut structs. Existing keyboard keys and the first two modifiers seed the new visible settings, while existing controller settings are preserved. The old Keyboard or mouse entry remains only for migration. REPOConfig is optional; the configuration file can also be edited while the game is closed.

  • Cycle Left and Cycle Right preserve whether you are equipped. While armed, they put the current item back safely and draw the next occupied item, so you stay armed. With empty hands, they move the green selection without drawing anything. Both directions skip empty/locked slots and wrap in a full circle. Temporary empty hands during a swap are part of the same equipped state.
  • Tap Put Away with empty hands to equip the highlighted item. Without browsing, this defaults to the last held inventory item, including items selected through normal vanilla/SLR slot keys. Memory follows the item's current slot if it is rearranged. If it was dropped, consumed, removed, locked or is still busy, another unlocked, settled hotbar item becomes the ready target: prefer the old position if occupied, then search right with wrapping. With no prior selection, the first ready occupied slot becomes the target. Unarmed navigation moves one occupied slot beyond this current target in the chosen direction, without drawing it. Once equipped, navigation swaps directly to the item one position over.
  • Tap Put Away to store a compatible held item in the first free unlocked slot, from left to right. First-time world pickups need no prior hotbar assignment; if the grab is still starting, storage waits for it to finish.
  • Hold Put Away to release the held item normally, leaving it out of the hotbar. Stored items in other slots remain untouched. This also releases held objects that cannot be stored.
  • Tap Put Away while armed to store the current item and become unarmed. Browse in either direction, then tap again to draw the highlighted item and become armed. Additional cycle presses during a swap remain queued; pressing Put Away cancels a draw that has not started, or waits for an in-flight draw before storing the arriving item.
  • A full inventory or a held object that cannot go in inventory leaves the object in hand when tapping, cycling or pressing a slot key. A swap waits for the game's animations to settle. If its target disappears, another ready inventory item is used; a rejected or timed-out native request does not retry indefinitely. Only an explicit hold requests a drop.
  • Number and SLR slot keys swap items instead of dropping what you hold. It goes back to its slot, then the new item comes out. Turn this off with General → Never drop from slot keys.
  • Letting go of grab, damage and physics still drop items as normal.
  • With one item, armed cycling keeps that item in hand without stowing/redrawing it. Unarmed cycling keeps it stored until you tap to equip or use a direct slot key.
  • Menus, text entry, spectating, death, focus loss and disabled gameplay input cancel pending actions. A replaced held item or disconnected input device cancels the tap/hold gesture. Normal direct-slot commands remain available and cancel pending cycle commands.

When one of these actions fires, the mod suppresses vanilla/SLR direct-slot handling for that frame to avoid selecting twice on one press. Put Away also suppresses direct-slot handling during its hold and release. Other gameplay actions on the same physical button, such as an ability or item use, should be rebound separately if they conflict. Give Cycle Left and Cycle Right different bindings; assigning both to one button cancels cycling in both directions.

Main item and hotbar display

The mod maintains a ready recall target whenever an unlocked, settled inventory item is available. Dropping or using up the remembered item no longer leaves recall tied to a missing object. With empty hands, this only updates memory; items stay stored until you tap to equip the selection or use a direct slot key. While armed, cycling swaps the held item and the main slot follows the item actually drawn. Empty inventories have no ready target, and the game must finish any active inventory transaction before it can safely draw another item.

By default, the highlighted slot stays in the middle and occupied slot displays gather beside it, using central empty display positions whenever available. Empty slots move to the outside edges, so there are no holes between occupied displays. Occupied items retain their circular browsing order. Odd slot counts have an exact middle; even counts use the left of the two middle positions. This permutes existing horizontal positions, keeping the native bar width and spacing. Actual slot assignments, key mappings and saves stay attached to the same items. Binding labels and SLR battery indicators travel with their slots. The held inventory item's origin counts as occupied for presentation; a first-time world pickup gets a hotbar position after storage.

The main slot has a thick, bright green outline with a soft glow and contrasting inner edge. It follows native HUD visibility and does not receive mouse/controller input. The overlay stays outside slot templates so SLR upgrades cannot clone it into extra slots.

Configure these under REPOConfig → Inventory Controls → Hotbar:

  • Center main item — center the highlighted selection and group occupied slots beside it (default on).
  • Highlight main item — enable/disable the green outline around the main selection independently (default on).
  • Outline thickness — 1–10 UI units (default 4).
  • Outline padding — 0–12 extra UI units around the slot (default 4).
  • Extra slot spacing — 0–24 extra UI units between slots, so key labels clear the outline (default 8). The bar narrows itself if it would run off screen.

Visual settings apply immediately. Turning centering off restores native positions. Rendering uses cached slot/battery references; hierarchy scans run when the HUD structure changes. Visual failures disable the presentation for that launch while inventory controls remain available.

Install

Use Import local mod in Thunderstore Mod Manager and select ByteSizeMetal-InventoryControls-1.7.1.zip, then restart normally. Alternatively, place InventoryControls.dll under the active profile's BepInEx/plugins.

Replace the earlier SLRInventoryControls package with this one. The plugin keeps the old internal identity so existing bindings survive, and BepInEx selects the newer version rather than running two input handlers. The configuration filename therefore remains BepInEx/config/local.SLRInventoryControls.cfg; the displayed mod name is Inventory Controls.

Only players wanting these controls need to install this mod. Its native inventory requests use the game's existing multiplayer validation. It changes no upgrade counts, saves, prices or network protocol.

Optional compatibility

SLRUpgradePack 0.6.0 is detected through an optional dependency and reflection; it is not a required DLL reference or package dependency. SLR support activates automatically, respects the inventory upgrade's enabled flag, and never exposes slots beyond the purchased count or active inventory objects. No Swap Drop is optional and no longer needed for slot keys, but it is safe to leave installed: this mod stores before drawing, so its swap/drop handling has nothing to do. Explicit hold-to-drop uses PhysGrabber.ReleaseObject instead of the RequestUnequip method that No Swap Drop intercepts. KeybindLib is not required.

Validation

Release build uses shared compilation disabled. Validation for 1.7.1 includes 76 production navigation/transaction/layout checks run entirely in-process without game assemblies, plus 50 installed game/SLR API checks using metadata only. Layout checks cover every occupancy pattern, selected slot and count from one through nine: unique positions, no internal holes, centered selection and circular occupied order. Checks cover armed swaps, unarmed browsing, queued inputs during store/draw, equip/unequip interruptions, disappearing/busy targets, direct-slot swaps, safe storage, explicit drops and selection recovery.

The updated presentation fixture compiles without warnings or errors. Live Unity/controller/multiplayer behavior still needs confirmation after a normal restart; no standalone gameplay fixture is launched while R.E.P.O. is running. The build script packages outside the profile and does not install unless -Install is explicitly supplied.

CHANGELOG

1.7.2

  • Cycle the hotbar in either direction while pulling a cart, driving or holding a non-inventory object. Cycling moves the selection without making an equip, store or release request.

1.7.1

  • Cycling preserves equipped state: armed players swap smoothly through occupied slots without dropping; unarmed players browse without drawing. Both directions wrap around and skip empty/locked slots.
  • Preserve an armed swap's pending draw when more cycle inputs arrive during storage. Temporary empty hands between store and draw do not switch navigation to unarmed mode.
  • Tap Put Away to become unarmed; browse and tap again to equip the selection. A Put Away press cancels an unissued cycle draw, or waits for an already-started draw before storing it. Hold-to-drop remains explicit.
  • If a pending swap target disappears, use another ready inventory item. Wait for busy target animations and retain native rejection/timeout safeguards. Keep existing bindings, SLR support and centered occupied-slot presentation.

1.7.0

  • Cycle Left/Right now browse occupied slots without drawing, storing or dropping items, both armed and unarmed. Navigation advances from the browsed selection instead of snapping back to the currently held item.
  • Keep a separate highlighted selection while holding another item. Tap Put Away to store the held item, then tap with empty hands to equip the selected item. Dropping still releases the actual held object. Direct number/SLR slot-key swaps retain their existing behavior.
  • With Center main item on, group occupied hotbar displays beside the central selection and move empty positions to the ends. Preserve circular occupied order, slot IDs, bindings and batteries. Include the held item's remembered origin. Cache layout arrays without adding per-frame allocations or hierarchy scans.
  • Preserve existing binding/config keys and the stable plugin identity. Align the assembly version with the public/plugin version at 1.7.0.

1.6.1

  • Set the author to ByteSizeMetal. The package file name now carries it, so mod managers no longer show Unknown.

1.6.0

  • Add Never drop from slot keys, on by default. Number and SLR slot keys now swap items: what you hold goes back to its slot, then the new item comes out.
  • If a swap isn't possible, what you hold stays in your hand. That covers carrying a valuable or having a full inventory.
  • Letting go, holding Put Away, damage and physics still drop items as normal.
  • No Swap Drop is no longer needed for this, but it's safe to leave installed.

1.5.0

  • Fix uneven, touching hotbar slots with SLR's extra inventory slots. The game only listed the first three, so it spaced those and left the rest where SLR put them. All slots and key labels now use one even layout.
  • Add Extra slot spacing (default 8), so key labels clear the green border.
  • Narrow the bar automatically if it would run off screen.

1.4.0

  • Maintain a ready recall target whenever an unlocked, settled hotbar item exists, recovering after drops, consumption, missing items and locked slots. Choosing a fallback updates memory without automatically drawing it.
  • Center the main equipped / recall slot using circular visual order while preserving item ownership, slot IDs, bindings and native bar width/spacing.
  • Add a bright green selection border with glow, configurable thickness and padding, and independent centering/highlight toggles.
  • Keep nested and external SLR battery indicators aligned, restore native offsets before HUD/SLR layout changes, and keep the overlay outside cloned slot templates.
  • Cache HUD references and isolate visual failures from inventory controls.
  • Validate with 102 policy/transaction/layout, 40 binding/gesture, 25 presentation/mesh and 50 installed API checks.

1.3.0

  • Tap Put Away with empty hands to re-equip the last used inventory item.
  • Unarmed cycling starts one occupied slot left or right of that re-equip position, with wrapping and empty-slot skipping.
  • Track actual held inventory items, including normal vanilla/SLR direct-slot selections; failed selection requests do not replace memory.
  • Follow the remembered item when storing or rearranging moves it to another slot; never recall an unrelated replacement item.
  • Preserve selection memory across menu/direct-slot cancellation; clear it when the inventory instance changes.
  • Retain tap-to-store, first-free storage, configurable hold-to-drop and saved bindings.
  • Add 18 recall/relative-cycling checks; 81 policy/transaction checks now pass.

1.2.0

  • Tap Put Away to store the held item in the first free unlocked slot, including first-time world pickups.
  • Wait for an unfinished grab before requesting storage.
  • Hold Put Away to drop the held item once and leave it out of the hotbar; releasing after the drop does nothing.
  • Add configurable Hold to drop seconds (default 0.4 seconds). Existing key/button mappings are preserved; wheel input remains immediate storage.
  • Cancel gestures on item replacement, menu/focus changes and input device disconnects.
  • Use the native grip release for intentional drops, avoiding No Swap Drop's inventory draw interception.
  • Expand validation to 63 policy/transaction, 40 binding/gesture and 40 installed API checks.

1.1.1

  • Expose configurable keyboard/mouse keys and two optional keyboard modifiers as REPOConfig-compatible dropdowns.
  • Preserve per-action controller buttons/modifiers and mouse-wheel choices.
  • Migrate legacy keyboard shortcuts into visible settings.
  • Add 22 production binding checks, including immediate changes and migration.

1.1.0

  • Standalone Inventory Controls: base cycling and Put Away work without SLRUpgradePack.
  • Automatically enable included SLR extra-slot compatibility when SLR is detected.
  • Isolate optional compatibility failures so vanilla controls remain available.
  • Preserve existing input bindings and plugin identity when replacing the SLR-only 1.0.0 build.
  • Add seven standalone/optional-capacity checks; 48 behavior checks now pass.