边缘世界 RimWorld

边缘世界 RimWorld

106 个评价
Storage Memory
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.6
文件大小
发表于
更新日期
501.033 KB
8 月 6 日 上午 4:23
8 月 7 日 上午 7:44
5 项改动说明 ( 查看 )

订阅以下载
Storage Memory

描述
This small mod allows storage buildings (like shelves) to "remember" their contents when uninstalled (minified) and restores them when reinstalled.
Useful for relocating fully stocked shelves without manually hauling everything.

- Works with any storage implementing Building_Storage class (vanilla Shelf and Small Shelf, any other mod storage using this class).
- Safe to add or remove at any time
- Should also work with gene banks and bookcases

Destroying a minified storage building will cause its contents to fall to the ground.

Tested with Reel's Storage.

Known issues: With large storage (such as metal crates, for example), some items (usually one or two stacks) will fall to the ground after moving the storage.

Public github link if anyone want to check how I made it and / or fork it : https://github.com/Selk/Modding/tree/main/StorageMemory
29 条留言
KawwaK 9 月 14 日 上午 9:18 
I'm using it for almost a month with around 500 mods and I've never had the dissapearing items bug. It's wrking perfect so far.
Selk  [作者] 9 月 14 日 上午 2:13 
Thanks everyone.
I'm sorry but I don't have the time to continue working on the mod at this moment..


I added the public github link if anyone is interested. If that's the case, let me know.
meyermagic 9 月 13 日 下午 9:06 
I experienced the disappearing items issue a few people have reported, but I'm not sure if it's actually the fault of Storage Memory. I experienced the issue trying to move a Reel's Medicine Cabinet, linked to another Medicine Cabinet and an Adaptive Primitive Storage "Woven Basket (x3)". In one case 18/36 items remained after moving, in another none, and in another 34/36 remained and two stacks dropped on the floor. After removing Storage Memory, reloading the save, and moving the same medicine cabinet, I found that all the items still disappeared. Reloading the save again, and going into the "contents" menu for the storage and clicking the red x to drop items, each item I click drop for disappears and the game produces a "You have filled the map" message, with no errors logged in the debug log. Unlinking does not resolve the issue.

Hopefully this will be helpful.
Robotic 9 月 8 日 上午 9:54 
So. This mod has possibility of deleting items? Anyone else?
KawwaK 8 月 26 日 上午 2:50 
This mod is awesome, so underrated! It works like a charm. Thanks!
Succulent Chinese Meal 8 月 25 日 上午 4:53 
@Selk Destroying storages with items doesn't seem to drop the items for me. I destroyed a Wood Log Pile from Reel's and it dropped none of the wood stored within it.

Unrelated to that, it seems that the mod also throws an exception on deserializing bookcases, resulting in them being 'deleted' upon loading a save. May only occur with non-empty bookcases, or small bookcases, but I'm not sure.
Wubwub 8 月 23 日 上午 5:21 
So for some reason, picking up and moving my storage crates causes some kind of weird map glitch where all the graphics start piling up on top of each other to the point where there's names and colors all over my screen. Specifically the large wooden crates from Reel's Expanded Storage.
Selk  [作者] 8 月 11 日 上午 6:34 
@micky101836 & @efedrall6663 : you might use another mod that conflict with mine. I just tested to move a shelf full of vac suits and to destroy a shelf, I don't have any issue at all. Do you use any other storage mod ?
efedrall6663 8 月 10 日 下午 2:18 
I moved my shelf one tile down filled with vac suits and it destroyed half of them bruh. Time for dev mode.
micky101836 8 月 9 日 下午 9:31 
when the shelf is destroyed all the items on it gets destroyed as well :steamsad: