Duckov Cash Slot

If you liked this item, please rate it up on Steam Workshop page.

Author: OLC

Last revision: 28 Nov, 2025 at 07:35 UTC (5)

File size: 472.17 KB

On Steam Workshop

Description:

Expanded Equipment Slot System

The game now features a flexible, expandable equipment slot system that allows multiple additional slots to be customized via configuration files. This system supports different item tags, display positions, and special logic settings.

Configuration File Location and Default Settings

Profile path:
<Game Installation Directory>/ModConfigs/Duckov_CashSlot/CustomSlots.json

If the configuration file does not exist, the mod will automatically create a default configuration file containing the following slots:

  • Cash:RequiredTags "Cash"
  • Medic: RequiredTags "Medic"
  • Key: RequiredTags "Key"

All slots above are set by default to display in the pet slot, do not drop upon death, ignore weight calculations, and do not prevent equipping duplicate items with the same ID.

Configuration Item Details

  • Key: Slot ID (unique identifier; duplicates are not permitted, including slots originally present in the game).
    It is recommended to add your own prefixes such as "exslot:", "extendslot:", or other custom prefixes to avoid conflicts with the game’s built-in slot IDs or those added by other mods.
    For example: The default IDs for slots in the keyring are "key1", "key2", "key3", etc. If you use these IDs, the corresponding slots will not display properly in the keyring.
  • RequiredTags: Tags that items placed in slots must possess (all must be satisfied to place in the slot).
  • ExcludedTags: Tags that must be excluded from items placed in the slot (the presence of any one will prevent placement).
  • Name: Slot display name (optional; if absent or empty, the game’s default name display logic will be automatically reverted).
    The game’s native display logic:
    First, locate the name of the first RequiredTag. Display its in-game name as the slot name. If none exists, use "?".
  • ShowIn: Display position: Character (player side) or Pet (pet side).
  • ForbidDeathDrop: Whether to prevent item drops upon death (true/false).
  • ForbidWeightCalculation: Whether to ignore weight calculations for items in inventory slots (true/false).
  • ForbidItemsWithSameID: Whether to prohibit equipping items with the same ID (true/false).
  • DisableModifier: Whether to disable attribute modifiers for slot items (e.g., movement speed, backpack capacity) (true/false).

Resource Links
GitHub Project Page[github.com]

Special Logic Explanation

  • Key Pouch adds a "Key" tag to allow keys to be placed in the designated key slot, but prevents them from being placed in other slots.
    The current optimization logic causes conflicts with other mods, rendering them unusable. We have reverted to this logic.
    The "Cash" tag automatically uses the item name "Cash" as its display name to resolve slot name display issues. (Note: This effect is triggered only by the "Cash" tag and does not apply to other tags.)
  • Expansion slots support the following features (native slots remain unaffected; applies only to expansion slots):
    • Use the ammunition in the magazine to load the bullet.
      Use the key in the slot when searching for keys.
    • Allow slot items to be set as quickbar items.
    • Triggers effects when placing effect items (such as totems).

When the number of slots exceeds the configured limit, a scrollbar will automatically appear.
Supports customizing the number of display rows in <game installation directory>/ModConfigs/Duckov_CashSlot/SlotDisplaySetting.json:

  • InventorySlotDisplayRows: Maximum number of rows displayed for side inventory slots, default 2.
  • PetSlotDisplayRows: Maximum number of rows displayed for pet side slots, default 3.
  • PetSlotDisplayColumns: Maximum number of columns displayed in the pet slot sidebar, default 1.
  • PetInventoryDisplayColumns: Maximum number of columns displayed for pet inventory slots. Default: 1.
  • PetSlotDisplayPosition: Pet slot display position, default BelowPetIcon (below the pet inventory icon).
    Optional configuration items:
    • AboveInventory Pet Inventory
    • BelowInventory Below the pet’s inventory
    • BelowPetIcon Below the pet inventory icon (default)
  • NewSuperPetDisplayCompact: Enable the new Super Pet display style. Default: false.
  • AllowModifyOtherModPetDisplay: Whether this mod is permitted to modify the pet inventory display style set by other mods. Default: false.
  • DontNeedMoreSlotReminder: Whether to suppress the reminder that more slots exist outside the scrollable area. Default: false.
    Once enabled, the extra slot at the bottom will no longer be displayed. If you forget this and later complain that you can’t see the slot, the author will not address your issue.

When both Super Pet and MergeMyMOD are detected, the PetInventoryDisplayColumns setting will be disabled.
This mod will not modify the display style of any pet inventory in such cases. If you encounter style conflicts, please contact the mod author listed above for resolution.
You can enable the AllowModifyOtherModPetDisplay setting to modify the pet inventory display style configured by other mods.

Uninstallation Notes
Loading saves after uninstalling will result in expansion slot data loss!
Please clear all items from the expansion slots before uninstalling.
Other bugs may exist. Feel free to report them anytime—I’ll fix them when I can!

Compatibility Testing
Compatibility has been tested with the following Mods:

  • Display Cash With Money
  • SuperPet
  • For personal use only
  • Better Security Box (Steamworks ID: 3598394270)
  • More Totem Sockets and Gem Sockets (MoreTotem)

Known incompatible mods:

  • Bullets can be obtained from containers and pet backpacks during reloading Manifests as bullets in the magazine slot failing to reload properly (possibly fixed)
  • More Totem (New Version) Manifests as interface layout conflicts (possibly due to other conflicting features)

[/list]
The configuration file is automatically generated after the mod loads. Modifications require reloading the mod for changes to take effect (e.g., restarting the game or reloading the mod).

An in-game settings interface exists (due to the complexity of the configuration content, existing ModSetting and ModConfig cannot be used to implement the configuration).
Press the = key on your keyboard to open the settings interface, where you can add, remove, modify, or check expansion slots.
Key bindings can also be modified in this interface.
[/quote]

Updated on November 9, 2025, at 7:20 PM

Added the DontNeedMoreSlotReminder setting to disable the design prompt indicating additional slots beyond the scrollable area.
Once this feature is enabled, we will not accept any feedback regarding being unable to locate slots due to forgetting to scroll.

If you find that certain features are missing or contain bugs, please first verify that you are using the latest version of the Mod
You can force Steam to update to the latest version by unsubscribing and then resubscribing
Download
Required items:

Click the title to search on this site.


HarmonyLibSteam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.