|
|
Post by madseance on Mar 20, 2021 17:53:29 GMT -5
Apologies if this is something obvious I'm missing; I did search the archives and other websites and looked at some other tuning files, but I can't figure out how to fix this. Something that bugs me about the Paranormal pack is that Sacred Candles, Wraith Wax, and other reward items will go into Sims' inventory, but as separate entries—they don't stack. I was going to do a default override and enable "Is Stackable" in Warehouse, but looking at the files, they already have it set to "1". I also looked through their tuning, and found this line in the inventory section:  I tried removing this line in an override for the candles, which doesn't appear in the other stackable items' tuning that I looked at, but I still can't manage to get stackable candles. So I'm wondering, is there something else that might be preventing these items from stacking? Or something about making default overrides for these kinds of items (debug, reward) that I'm overlooking? Here's the extracted tuning file for the Sacred Candles.
|
|
|
|
Post by madseance on Mar 20, 2021 22:09:19 GMT -5
Okay, I think I've figured it out by digging through the TDESCs. The "stack_scheme" default is "NONE", so having it declared is preventing the stacking even with it set to 1 in Warehouse. The other options are (from ScriptObject.tdesc): - VARIANT_GROUP: This object will stack with objects with in the same variant group. For example, orange guitars will stack with red guitars.
- DEFINITION: This object will stack with objects with the same definition. For example, orange guitars will stack with other orange guitars but not with red guitars. Dynamic entries stack together.
Testing the candles with VARIANT_GROUP successfully generates a candle stack that you can drag out of your inventory and place like other stacked objects (e.g. harvestables). I haven't tried it with DEFINITION yet. There is only one variant of the sacred candle, but there are multiple swatches of some of the other rewards (Soul Scraps, Specter Sips, Hello Dahlias, and the decorative versions of the tendrils and hands), so I can imagine they would stack differently with DEFINITION. Candles *might* stack differently with definition since you can put partly depleted ones in your inventory, too; but since that's a state (?) and not a definition, they might all stack together still.
I'll keep testing it and seeing what I get, but I'm going ahead and putting this info here in case anyone else is poking at inventory tuning and comes across it.
|
|
|
|
Post by madseance on Mar 21, 2021 2:47:30 GMT -5
Marking as solved since it seems to be working. I've modified all the loot to stack (minus the Strange Overgrowth because I can't get the swatches to display properly) and the overrides are here.
|
|
|
|
Post by amberlokisdotter on Apr 24, 2021 4:00:51 GMT -5
Thank you for posting this. I was looking for a way to set an inventory item to stack by separate colors, and couldn't figure it out. This showed me what I needed to look for. Thank you!
|
|