Is it possible to make the item stacking dictated by the weapon's script when the item storage mod is present?
Like for instance, if you have the item, and in an item's script you have this:
IScanstack = 1;
ISstackmax = 24;
ISstackquantitymax = 6;
ISstackquantitymaxsmall = 1;
ISstackquantitymaxmedium = 2;
ISstackquantitymaxlarge = 4;
ISstackquantitybackpack = 3;
ISstackquantityitemslot = 1;
ISsmallinventorystacking = 1;
ISmediuminventorystacking = 1;
ISlargeinventorystacking = 1;
ISbackpackinventorystacking = 1;
ISitemslotstacking = 1;
Line 0 dictates whether an item can or cannot be stacked.
Line 1 dictates how many items can be stacked maximum. In this case, a maximum of 24 items can be stacked.
Line 2 dictates how many stacks there can be in total. If lines 3-7 in this sample aren't defined, then players can set as many stacks of this item wherever they want.
Line 3 dictates how many stacks of this item there can be in a small inventory.
Line 4 dictates how many stacks of this item there can be in a medium inventory.
Line 5 dictates how many stacks of this item there can be in a large inventory.
Line 6 dictates how many stacks of this item there can be in a backpack.
Line 7 dictates how many stacks of this item there can be in a player's default item slots.
Line 8 dictates if this item can be stacked in a small inventory or not.
Line 9 dictates if this item can be stacked in a medium inventory or not.
Line 10 dictates if this item can be stacked in a large inventory or not.
Line 11 dictates if this item can be stacked in a backpack or not.
Line 12 dictates if this item can be stacked in a player's default inventory or not.
Naturally, these lines would be disregarded if the player does not have the inventory mod. If the item does not have any of these lines of code, then items cannot be stacked and will behave normally.