This will do an additional check based on a configured flag to allow players to limit a stockpile to having only a single t-shirt for example. Without this it considers each t-shirt a different type of stack and does not limit it.
Actually, i need to look at version 1.2+ dissassembly to make sure, but seems like CanStackWith() is working pretty good already, so gonna just close this.
This will do an additional check based on a configured flag to allow players to limit a stockpile to having only a single t-shirt for example. Without this it considers each t-shirt a different type of stack and does not limit it.