O_Atoba_Azul Posted November 13, 2025 Share Posted November 13, 2025 (edited) 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 November 14, 2025 by O_Atoba_Azul 5 2 Link to comment https://forums.kleientertainment.com/forums/topic/168758-modding-custom-stacking-conditions/ Share on other sites More sharing options...
summerscorcher Posted November 13, 2025 Share Posted November 13, 2025 (edited) 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 November 13, 2025 by summerscorcher 2 1 Link to comment https://forums.kleientertainment.com/forums/topic/168758-modding-custom-stacking-conditions/#findComment-1842910 Share on other sites More sharing options...
HalfEnder776 Posted November 16, 2025 Share Posted November 16, 2025 (edited) 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 November 16, 2025 by HalfEnder776 Link to comment https://forums.kleientertainment.com/forums/topic/168758-modding-custom-stacking-conditions/#findComment-1843064 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now