You are viewing a potentially older version of this package. View all versions.
AtomicStudio-Stackable_Items-0.1.3 icon

Stackable Items

Adds stacking the same item into one slot

Date uploaded a week ago
Version 0.1.3
Download link AtomicStudio-Stackable_Items-0.1.3.zip
Downloads 13689
Dependency string AtomicStudio-Stackable_Items-0.1.3

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

Stackable Items

Here are my links, it would mean a lot to me if you go a head and check them out :3

Atomic's Mods Modding Community Join my Discord My Portfolio My Github Profile

What does Stackable Items do?

This makes it so you can use the same slot for the same item. You cannot stack weapons. This should work in multiplayer, if not please find me in the Modding Discord. You may also report any bugs and issues there.

Features

  • Allows from 1 -> 100 items per slot, 64 is the default
  • Items are individually tracked, meaning the same item can have different properties even when stacked
  • Dropping item re-equips it
  • Saving and Backup support

PLEASE READ!!

I recommend making a backup of your save with SaveBackups before running with this. I am unsure how unstable this is in multiplayer since I couldn't test, but it works in single-player fine.

In verson 0.1.1 and onwards SaveBackups now has compatibility with this mod.

Reporting bugs and questions

The Modding Discord has a mod-releases channel, search Stackable Items there!

CHANGELOG

v0.1.4 - Fixes and Compatibility

Hiccup made the fixes shown below, all the credit for these fixes go to them.

  • Add back some vanilla conditions that could cause issues in multiplayer and syncing
  • ItemBeingStored. All four prefix/postfix pairs now save and restore the previous value instead of nulling it, fixing both the nesting clobber and the permanent leak if any patched method throws.
  • DestroyByEating. Was an ObserversRpc with no owner check, so every client told the server to deselect the eater's slot. Now guarded to the local owner.
  • The bug where buying items too fast could cause the whole stack to become unusable has been fixed.
  • In the case you get a "Ghost Item" it will now discard when something in the stack is used/dropped so you may see 2+ items dissapear which is normal.

v0.1.3 - Changes

Stacked Weapons - 0.1.3+

  • You can no longer stack weapons. If you have stacked weapons in your old save then they will be sent to other slots.

v0.1.2 - Fix

  • Accidentally made it so the mod only works when SaveBackups is enabled.
    • No data will be lost if you downloaded without, it just wouldnt load.

v0.1.1 - Update

  • Support for SaveBackups by hiccup
  • Change the UI to display a stack just like the multiple bait.

v0.1.0 - Release

  • Release of the mod.