Author Topic: Item Stacking  (Read 417 times)

Mainly for use with ghost's inventory system. Let's say you have 3 printers. They would all occupy the same slot, but you would still have 3 printers there.


And it would be nice to have compatibility with the inventory system.


You would be able to control the max stack like this:
Code: [Select]
(maxstacks.txt in add-on.zip)
gunItem   10
printerItem   50
spearItem   -1
-1 would be infinite stack. Or at least the maximum the inventory system can handle without flooding the screen with "999999999999999999999999" or something. 0 will just be changed to 1.

I'm sure if you played minecraft or terraria or RPGs with a grid inventory system you would figure this out.

This would work well with Sylvanor's barricade items
/support

This would work well with Sylvanor's barricade items
/support
What barricade items?

Directly from GSF's Item Storage thread.

Question: Would it be possible to support item stacking? Having multiples of one item would make it stack.
Just for items, not for weapons or tools or any other category?

Trying to make a material system, we've run into the problem that materials would eat up way too much inventory space to be useful.

I'm sure it can be done, but it would be far too difficult to achieve anytime soon. In the mean time, you could remotley transfer materials to various chests relative to that material, then access specific materials from chests when you need to craft. Just an idea; I can include an output event to change the inventory being accessed (when transferring items) to automate this if it would help.