Jump to content

Recommended Posts

A really useful feature to have functions for custom conditions whether an item can stack with another.


While its easy enough to do this for just the stackable component with a simple hook, for example, lots of things use a similar check than Stackable.Put's check, and its really tedious to go around changing those.

Edit: Having an extra params for some stuff like auto-stacking (for example, letting an item get stacked normally, but not autostacked) would be pretty handy too.

Edited by O_Atoba_Azul
  • Like 5
  • Sanity 2

I vouch for this! Making regular stackable items unstackable for my character Wieneke was kind of a duct tape solution. It involves setting the item's skin name to a custom string and then hooking into EntityScript's StackableSkinHack to return false based on some conditions, which is really funny and it works well but I'm also afraid that it'll break (and it prints to the log that the item's skin is invalid which is unfortunate). So a proper solution to this would be amazing!

Edited by summerscorcher
  • Like 2
  • Big Ups 1

I would really like this aswell.....

On 11/13/2025 at 6:18 PM, summerscorcher said:

I vouch for this! Making regular stackable items unstackable for my character Wieneke was kind of a duct tape solution. It involves setting the item's skin name to a custom string and then hooking into EntityScript's StackableSkinHack to return false based on some conditions, which is really funny and it works well but I'm also afraid that it'll break (and it prints to the log that the item's skin is invalid which is unfortunate). So a proper solution to this would be amazing!

I actually considered doing something similar aswell but..... it did not seem safe...

Same with modifying the prefab name....

Edited by HalfEnder776

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...