moveStack
moveStack(
entity,stackMove):void
Moves the stack in slot from to slot to. Into an empty slot it
moves whole; onto a stack it can merge with, it tops that stack up to
the max and leaves the rest where it was; onto any other, the two swap.
A slot the bag does not have moves nothing.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
stackMove |
StackMove |
Returns
Section titled “Returns”void