#(Niklas) item script no stacking items

15 messages · Page 1 of 1 (latest)

wispy condor
#

is it possible to make items non stackable?
One way would be to make a random lore on the items...

pliant adderBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

frozen tide
#

!m max_stack_size

wicked marlinBOT
# frozen tide !m max_stack_size

Sets the maximum stack size for all items this material type.
Note that altering this will probably require a script performing "- inventory update" in the event "after player clicks in inventory:" to maintain sync.
The maximum the client will interact with is stacks of 64, however you can set the max up to 127 and the client will render it, but refuse to move stacks properly.

Object

MaterialTag

Input

ElementTag(Number)

Tags

<MaterialTag.max_stack_size> Returns the maximum amount of this material that can be held in a stack.

frozen tide
#

!t max_stack

wicked marlinBOT
frozen tide
#

!t <ItemTag.max_stack>

wicked marlinBOT
frozen tide
#

idk which one would work best for you

stoic nacelle
#

I've made custom items that are normally stackable to not stack just by adding a flag set to a unique value when they are crafted. That way there isn't any extra lore text when you hover over the item in your inventory and you don't have to change the stack size of materials that normally do stack.

timber oar
#

^

#

!t util.random_uuid

wicked marlinBOT
timber oar
#

or any other random data