You are viewing a potentially older version of this package. View all versions.
ZaboomafooW-BetterUtilitySlot-1.0.1 icon

BetterUtilitySlot

Lets items blocked only by vanilla's Utility Slot flag, such as Shovels, Keys, and Ammo, use the built-in Utility Slot. No extra slots or configuration.

Date uploaded 14 hours ago
Version 1.0.1
Download link ZaboomafooW-BetterUtilitySlot-1.0.1.zip
Downloads 25
Dependency string ZaboomafooW-BetterUtilitySlot-1.0.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

BetterUtilitySlot

BetterUtilitySlot is a small Lethal Company v81 quality-of-life mod that lets items blocked only by vanilla's Utility Slot restriction use the game's built-in Utility Slot.

In vanilla v81, the serialized item definitions show that only three normal non-scrap items are blocked specifically by disallowUtilitySlot:

  • Shovel
  • Key
  • Ammo

BetterUtilitySlot allows those items into the vanilla Utility Slot while preserving vanilla's other eligibility rules.

What it changes

  • Allows items marked disallowUtilitySlot to use the vanilla Utility Slot when they are otherwise eligible.
  • Preserves the vanilla scrap restriction.
  • Preserves the vanilla two-handed item restriction.
  • Uses the existing vanilla Utility Slot (slot 50).
  • Uses the normal vanilla Equip to belt : [E] interaction.
  • Adds no extra inventory slots.
  • Adds no configuration or custom UI.

Multiplayer

Install BetterUtilitySlot on all players in the lobby. Lethal Company resolves the pickup slot locally on each peer during the vanilla grab ClientRpc, so matching installs avoid inventory-slot desynchronization.

Installation

Install with r2modman / Thunderstore Mod Manager, or place the DLL in BepInEx/plugins for a manual installation.

Compatibility

BetterUtilitySlot patches only PlayerControllerB.FirstEmptyItemSlot. Vanilla runs normally first; the mod changes the result only when the Utility Slot is empty and an otherwise eligible item is blocked solely by disallowUtilitySlot.

Version

  • Lethal Company: v81
  • BetterUtilitySlot: v1.0.1
  • BepInEx: 5.4.23.5 / BepInExPack 5.4.2305

CHANGELOG

Changelog

1.0.5

  • Fixed carried weight not being reduced when an item in the Utility Slot is consumed while another item is selected, including Shotgun ammo reloads.
  • Keeps the local carry-weight HUD updated after slot-50 consumption.
  • Scoped Utility Slot eligibility changes so a normal client only changes its own player's inventory; the host still keeps authoritative player copies aligned.
  • Clarified that unrelated non-host clients do not need the mod installed.

1.0.4

  • Fixed Shotgun reloads when Ammo is stored in the Utility Slot.
  • Fixed slot-50 item consumption incorrectly using the normal inventory HUD icon array.
  • Fixed successful Utility Slot item consumption leaving a stale utility icon visible until another item was equipped to the slot.
  • No change to Utility Slot eligibility rules.

1.0.2

  • Updated the Thunderstore package icon.
  • No gameplay changes from v1.0.1.

1.0.1

  • Initial BetterUtilitySlot publication candidate for Lethal Company v81.
  • Allows otherwise eligible items blocked by vanilla's disallowUtilitySlot flag to use the built-in Utility Slot.
  • Vanilla v81 affected normal non-scrap items: Shovel, Key, and Ammo.
  • Preserves vanilla scrap and two-handed restrictions.
  • Uses the existing vanilla Utility Slot and Equip-to-belt interaction.
  • No configuration, custom inventory, or extra slots.