RimWorld

RimWorld

LWM's Deep Storage
167 Comments
TBRabi 2 hours ago 
Thank you for your answer.
SP4RTAN  [author] 2 hours ago 
Enable the old stacking graphic option in the mod options for now
TBRabi 4 hours ago 
"While storing the same item using this mod, the stack sprites keep shifting towards the upper right corner. How can I fix this?"please
SP4RTAN  [author] 21 Oct @ 1:08pm 
Well yeah. That's basically a completely different mod that just uses updated Deep Storage textures
Odeyalko 21 Oct @ 6:53am 
Switching over to https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3373064575 port of Adaptive Storage Framework have fixed all Graphical & UI issues for me.
Odeyalko 21 Oct @ 6:43am 
I confirm this mod causing graphical bug with items offset on shelfs. Additionaly for me it also bugs out sometimes making forbidden "x" icon dissapear from forbidden to haul items, so there is no way to figure out which items are forbidden on a map, unless you manually select and check every item. This makes this mod extremely buggy on 1.6 in graphical & UI sense. Might gonna avoid using it until fixed.
Spectral_Ace 15 Oct @ 3:34pm 
So which part of the code handles the circular spread of the items, the "fancy mode" i guess. Just interested in looking at it to at least vaguely understand how it works.
Spectral_Ace 15 Oct @ 3:32pm 
ah, also, the items arent actually off the edge of the map, i can still double click to select all of them, but the minimap says otherwise. So it seems not even the game knows where they are.
SP4RTAN  [author] 15 Oct @ 3:27pm 
Patch_GenThing_ItemCenterAt_Graphics.cs is what handles part of the old stacking graphic option. That patch basically removes the offset which is one thing. But actually fixing the offset so it doesn't break when you have a bunch of stacks is a bit trickier
Spectral_Ace 15 Oct @ 3:19pm 
https://imgur.com/a/I0yEnD8

TLDR: Some of the offset items are so offset they are off the map actually

Hey this might be helpful for you. I was looking at the shelves and only saw 2 stack of steel despite each cell only having 3 so I was wondering if it was only trying to render the "top" stack but accidentally showing one of them offset, but then I wondered if the third was also offset but way way more. Using this Dubs Mint Minimap, I can highlight all selected items, so by selecting all the steel on the map (I think that's Allow Tool, might be vanilla now), it showed some of it way off in the top right corner. Since that's the direction of the offset, I wonder if somehow there is some sort of feedback loop or overflow error on the offset. Anyways, I hope this helps.
Spectral_Ace 15 Oct @ 10:11am 
Really wish I could help more, but game modding is something that I'm not familiar with, I can barely (very very very very poorly) write code to begin with. Syntax and language specific "code bits" are not something I do well with. I can understand the logic pretty well, but it's like translating a different language first. I'd love to know exactly what the code was actually doing. The best my knowledge lets me do from looking at the code is that Patch_GenThing_ItemCenterAt_Graphics.cs does *something* with rendering multiple items in one cell, but I have no clue WHAT or HOW it's doing it. I think it deals with the offset, but that's all i can tell.

So I really wish I could help more, but as you can see, I don't really understand enough to.
Spectral_Ace 15 Oct @ 9:35am 
Oh, bit of useful info that you may or may not be aware of, but i have yet to notice this on nonstackable items like apparel and weapons. This may just be coincidence, but any info is helpful i assume. Also, I wonder why it breaks with thing that still support the vanilla stacking. This issue is happening on vanilla shelves so I imagine its something with the framework of the stacking rather than a weird edge case, which i do not envy you having to fix. Good luck mate, and thanks for continuing this mod.
SP4RTAN  [author] 14 Oct @ 8:20pm 
I'm aware of this issue. It's got something to do with the way the game handles the offset of items on shelves. In the vanilla game, you can only have around 3 stacks of items on a shelf but with a mod like this where you can have a lot more than that, the large stack sizes break the offset that's applied.

For now, you can enable the "old stacking graphic" option in the mod options.

I'll look into properly fixing it when I have time.
Spectral_Ace 14 Oct @ 8:15pm 
Screenshot: pls see steel (middle left) and corn (top right) for examples
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3587239981

Forgot i could do this
Spectral_Ace 14 Oct @ 8:07pm 
Hey so in my current game, I have determined that this mod is causing some weird graphical issues with stored items. For some reason random stacks of items in storages will float offset from the storage. Pawns still interact as if it is on the shelf, but visually it is not. I am currently using a gravship so that may or may not be related as I didn't notice the issue until I rotated my gravship when landing, after which the bug first occurred (returning to original orientation next jump did not fix the issue).

As for testing to determine what mod caused it, this issue even occurs on normal vanilla shelves, but upon removing the mod, the issue disappears from them. I assume the reason is that Deep Storage in some way modifies storage behavior of vanilla shelves as well to put them into some kind of unified framework.

I can provide a screenshot if necessary. Just don't know how you'd like to see it.
King Doom 14 Oct @ 1:39am 
Having so many issues trying to use storage on this mod. Sometimes the really tall shelves work and I can fill them with mountains of small items and it's great, sometimes trying to put survival meals on them has pawns standing there dropping stuff on the floor over and over till the pawn dies.

Instant edit: changing the amount of stacks from 85 to 95 fixed it.
Mehrunes Dago 13 Oct @ 1:12pm 
Dope man thanks you're the best
SP4RTAN  [author] 9 Oct @ 9:48am 
I'll take a look soon
Ace Vicsonti 9 Oct @ 9:29am 
It's probably just me but it seems as if the mod doesn't work with "minify everything" mod anymore, at least for me the "Buildings" category doesn't show up in the storage list. Is there a way to fix that?
SP4RTAN  [author] 7 Oct @ 12:59pm 
Not sure about the wall fridges but I know there's some issues with the deep fridge. For now you have to set the stack size to maximum with the plus button to fix the pawns dropping stuff over and over again. If you want to change the stack size to something smaller you have to use the deep storage settings button and change it using that.
davy_jones 7 Oct @ 12:50pm 
i thought i had solved the problem but it's persisting. i can change the amount of stacks in my fridges(rimfridge) and meat hooks, but it doesn't actually ALLOW more than the default stacks. pawns will try to put thing in them over and over again but it just drops to the floor. Any help would be great
SP4RTAN  [author] 6 Oct @ 7:15pm 
Looks like I just need to update one of the xml patches for the dresser. I'll take a look at it when I can. Shouldn't cause any major issues though
Mehrunes Dago 6 Oct @ 7:09pm 
Hey man idk if it's on you or them but I saw you being very good with it and online so figured I'd ask you first lol. After installing this and Dressers Hold Clothing by Mlie I receive an error log upon opening my game that says this https://imgur.com/a/PYhf1KX

It doesn't seem to truly impact anyhting as the mods both seem to still work as intended but I don't know what it's implying myself as I'm not familiar with code like at all lol. Any insights even if it's just "should be fine to ignore" would be appreciated
GULÉ🏠 1 Oct @ 10:30am 
Thank you for the explanation!
SP4RTAN  [author] 30 Sep @ 11:11am 
LWM's Adaptive Deep Storage is just a port and update of the textures from this mod that uses Adaptive Storage Framework to function. It doesn't have any of the mod options that this has. This is a continuation of the original mod. You can use this and LWM's Adaptive Deep Storage at the same time but that wouldn't make much sense as you would basically have two versions of this mod in your game.

However if you use Adaptive Storage Framework itself together with this, Adaptive Storage Framework does add some nice options specifically for this mod

TL;DR, LWM's Adaptive Deep Storage and this mod are two different things

It looks like Mlie just updated Deep Storage Plus (Continued) yesterday
GULÉ🏠 30 Sep @ 10:33am 
I'm confused. If I have Adaptive Deep Storage, do I need this mod? Also there is a Deep Storage Plus (continued)?
TheTwitchSniper 10 Sep @ 5:33pm 
@SP4RTAN thank you kindly
SP4RTAN  [author] 10 Sep @ 4:40pm 
Use the old stacking graphic option to get around that for now. I'm looking into an actual fix for that.
TheTwitchSniper 10 Sep @ 4:37pm 
Is there anything that can be done about the red X on items that are forbidden not being present?
SP4RTAN  [author] 10 Sep @ 4:23pm 
@spare which drink mod are you using?
@tommanley102 check the mod settings and enable the "old stacking graphic"
tommanley102 10 Sep @ 2:20pm 
how to make item in storage look neat?
spare 10 Sep @ 5:56am 
Hello, it seems the refrigerator from another mod, “RimFridge: Now with Shelves!”, is being recognized as a locker-type structure, and the settings aren't working. Drinks and such aren't cooling anymore. Is this a known issue?
Mr Happy Penguin 9 Sep @ 8:18pm 
@SP4RTAN I found the problem. It was due to another mod, Stockpile Stack Limit. By default, it was limiting it to 1 item per stack. Setting a custom stack limit or removing the mod fixes the issue.
SP4RTAN  [author] 9 Sep @ 7:25pm 
@Mr Happy Penguin Just tested this and I'm able to store multiple weapons of the same type. It only happens with the weapon cabinet and not the weapon locker or anything else?
Mr Happy Penguin 9 Sep @ 7:04pm 
I'm not sure if this is a bug or feature. Weapons cabinet can only store 1 weapon of each type. I have 2 shotguns, but I can only put 1 per weapons cabinet.
TheTwitchSniper 9 Sep @ 4:52pm 
Having an issue, not sur if it has been mentioned already but the red X on items that are forbidden is non-present when this mod is active on my current mod list, I am wondering if it is incompatible with the Multiplayer/Multiplayer Compatibility mods
magnin 9 Sep @ 9:18am 
olee gracias por continuar el mod
SP4RTAN  [author] 8 Sep @ 11:21pm 
Any errors in the log?
Balthazad 8 Sep @ 11:18pm 
hi, the mod has developed a badass bug.
it destroys silver, but in masses.
just came home with 20500 silver, pawn went to unload it, unloaded 2500 and the rest disappeared. idk why the 20k have been as 1 stack in the inventory of the pawn, but i assume that that's part of the issue.
SP4RTAN  [author] 8 Sep @ 5:50pm 
@Werewolfie I'll get bookcases moved over to the storage category soon.

@Excalibur-13 yup, I'm still trying to figure out how to fix it. If you don't want to have that graphical bug, you can enable the old stacking graphic option in the mod settings.
Excalibur-13 8 Sep @ 12:32pm 
I'm sure you've already been informed of this issue, but there's a minor graphical bug where when multiple stacks of the same item type (i.e. Wood Logs) are all stored on the same tile of storage space they will start to appear above and to the right of the storage tile they're occupying. It's nothing gamebreaking but it's a little annoying to look at.
Werewolfie 8 Sep @ 11:10am 
Figured out my own thing, "DesignationCategoryDefs.xml" talks about a related architecture mod, and tells the mod to categorize DeepStorage things as "Storage". But the Architecture mod actually calls the storage group "Store" so everything DeepStorage touches gets labeled Storage, while only the bookcases remain in the default "Store" category. I tried changing the word Storage to Store in the <label> tag but it's not enough, there's a subcategory "General" on the bookcases and nothing on the rest of the storage units. I guess a solution would be to somehow include vanilla bookcases in what's covered by this mod, just like every other vanilla shelf is.
Werewolfie 8 Sep @ 10:41am 
I installed a mod called "Better Architect Menu" which rearranges the build menu categories. For some reason, having LWM's Deep Storage (Continued) running causes the vanilla bookcases to appear in "Store" category, and everything else (including all the other vanilla storage, all the storage from this mod and from another storage mod) to appear under category "Storage". Removing this mod causes everything to work as intended, so I'm wondering if there's a misspelling somewhere in this mod that says Store instead of Storage.
SP4RTAN  [author] 5 Sep @ 9:50am 
Yes they can
Dis Lexic 4 Sep @ 12:11pm 
Question, can animals eat from Haylofts? I'm getting tired of having mounds of hay build up in my enterence way.
SP4RTAN  [author] 1 Sep @ 11:29am 
I sent you a friend request. I want to look at your save. I've actually gotten that error myself a handful of times. I'm using over 300 mods though so I don't know what causes it for me.

It usually breaks everything when it happens but goes away when I reload my save so I'm not sure why it's not going away for you.
Pancakeman 31 Aug @ 7:03pm 
https://gist.github.com/HugsLibRecordKeeper/cc9fd95b944d8c7f83bed23ddbbcadf2

I am more than happy to provide any additional information needed.
SP4RTAN  [author] 31 Aug @ 6:41pm 
If you can use the HugsLib Log publisher and upload it, I'll take a look at it
Pancakeman 31 Aug @ 6:37pm 
There is another error that appears that is too long to comment here. I can send it to you if you want.

I tried to disable all of my mods that I have (I do not have many) and yet the issue persisted. I strongly suspect that this mod is the culprit as it is the only mod I have in my list that actually adds new items/buildings to the game.

This is a save file that I have had since 1.5, and when my save file was on 1.5 I used the old file of this mod from the original author. When I transitioned to 1.6, I switched to this mod instead as the last one did not update. I believe that my game is trying to use stuff from the old mod and for some reason cannot anymore, even though I have not been using the old one for a while now (though I could be wrong about this).

In any case, this whole issue is very disheartening to me, as this is a save that has been going for over 20 in-game years and I would hate to lose it.
Pancakeman 31 Aug @ 6:37pm 
@SP4RTAN, I have encountered a game-breaking bug that I believe is the result of this mod. When I updated my game to the latest patch (1.6.4566) I noticed that selecting any of the tabs in the architect menu (Structure, Power, Floors, etc.) none of the actual building options nor commands come up. I checked the devlog and the following error appears upon trying to select a tab in the architect menu:

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref B58ED97] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Root:OnGUI ()

(continued)