饥荒
416 个评价
Save Equipment Slots
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
23.770 KB
2018 年 12 月 15 日 上午 1:25
2019 年 8 月 21 日 上午 2:32
18 项改动说明 ( 查看 )

订阅以下载
Save Equipment Slots

描述
No more updates planned
This mod will no longer receive updates.
Only when a critical bug arises I will attempt to fix it.

-----------

Saves the inventory slots of equipment items and makes sure they always return to their saved slot.
If a saved slot is occupied items will be rearranged automatically to make space.

Compatibility
  • Don't Starve
  • Reign of Giants
  • Shipwrecked
  • Hamlet

Don't Starve Together
The DST version of this mod is available in the DST Workshop.

Clear Slots with Controller
To clear a saved slot with a controller press LB + RB at the same time in the inventory management screen when highlighting the slot.

Changelog
See the Change Notes.

Known Issues
  • None

If you run into anything please let me know :)

Configuration
  • Apply To Items: allows you to save slots of more than just equipment.
    • Equipment (default)
    • Equipment + Food
    • Equipment + Healing (e.g. Healing Salve, Spider Gland)
    • Equipment + Food + Healing
    • All Items (every item in the game)
  • Show Slot Icons: When enabled (default), renders icons of assigned items above their inventory slots.
  • Slot Icon Opacity: Sets the opacity of the slot icons. Default is 75%.
  • Slot Icon Scale: Sets the scale of the slot icons. Default is 75%.
  • Slot Icon Vertical Offset: Increases the vertical offset between the slot icons and their inventory slot. Only added for users of mods that add additional rows of inventory slots (e.g. "60 inventory slots"). Otherwise you probably want to leave it at Default (= right above their inventory slot).
  • Disable Save Slots Toggle: Key combination that will toggle saving slots on/off. When off, picking up items or moving them will not assign/change their slots. This is useful when you only want to save item slots in some scenarios, or only want to save a few specific items and not everything.
    • - none - (default)
    • Control + A through Control + Z
    Please note the hotkey you configure could be in use by the game or another mod as well. Make sure to pick an available one.
  • Save Slots Initial State: The initial state of the save slots behavior (default: On). Only used when a toggle key is configured. If you prefer to by default not save any items, you can set this to Off so you have explicitly turn it On first when you want to use it.
  • Disable Slot Icon Click: Controls when to disable the slot icon click action which would clear an item's saved slot:
    • Never (default): You can always click on a slot icon to clear the item's slot
    • If Save Slots: Off: When Save Slots is toggled off the slot icon click will be disabled.
  • Allow Equip For Space: When enabled (default), this mod is allowed to equip an item to make space for another item. In practice this would only occur when multiple items share a single slot and the slot is blocked. In other cases a blocking item is simply moved to some other slot.
  • Reserve Saved Slots: Controls whether or not slots that have an assigned item will be reserved for their saved items only. This means other items will not be placed there unless done manually by the player:
    • Never (default): Saved slots will never be reserved for their items. This means other items can occupy a saved slot, but will be moved out of the way when a saved item can go there.
    • If Free Slots: Saved slots will only be reserved for their items while there are other free slots available in inventory or backpack.
    • Always: Saved slots will always be reserved for their items. It means saved slots are considered "full" whenever other items are picked up, so will either be empty or contain one of their saved items.
126 条留言
LenneDalben 7 月 1 日 下午 6:57 
Thanks for sharing this
It seems to work fine with the standard vanilla slots, but it doesn't work with the extra backpack slots. I have the additional backpack slots set to Separated in the config, and it would have been neat to have the tools there. At least I can just set the tools to the front of the standard vanilla slots, and keep other stuff in the extra backpack slots.
dani  [作者] 2024 年 7 月 18 日 上午 7:49 
Hi Tropical. Glad to hear it was probably another mod, I wouldn't want my mod to cause any crashes. As for fixing other people's outdated mods, sorry that is not something I enjoy. I hope the original authors can fix it or perhaps someone else can create a working fork. All the best to you!
Tropical (CRI) 2024 年 7 月 17 日 下午 7:03 
Hi dani, thank you for your kind response. Unfortunately, it was honestly some very weird crashes that completely kill 3 of my runs when entering caves. I had about 10 mods enable, most where updated besides this and other 3. I even had (Crash check mod enable) and last crash just told me "Game crash itself) lol So I was just suspicious about the 3 "outdated ones" since I could not figured out which one was causing problems. Though, I think the one that was causing issues was machine range check. Anyhow, sorry for trouble dani. If I may. Would you be interesting in taking a look at two mods that are abandon? I think they are quality of life ones, if is worth your time and effort that is. Otherwise, thank you very much for ur time and appreciation. :steamthumbsup:
dani  [作者] 2024 年 7 月 17 日 下午 12:40 
Hi Tropical. Is there anything specific that crashes because of my mod? I haven't touched this in years but just did a very quick test in Hamlet with the latest update and the basics seem to work. There isn't much I can do unless you have a scenario that crashes now. The mod is essentially a single Lua file, it is not compiled to a specific version of the game or anything. I cannot "update it to the latest version of DS" unless something has broken. Please check the game log files, it should show some info when your game crashes. If "SaveEquipmentSlots" is not part of the stack trace then it's probably something else. I would also expect more bug reports since this mod has been downloaded quite a bit. If it is, let me know the details and I'll try to have a look.
Tropical (CRI) 2024 年 7 月 16 日 上午 12:57 
Hi, dani. I was wondering if you could update this quality of life mod to the latest DS version? The game was last updated in April, 2023. I just had a few crashes. This one is outdated out of all of my mods. Thank you :)
Not Luzeria 2024 年 6 月 16 日 上午 9:52 
This mod seems to not work with backpacks
SirRiffsAlot 2023 年 4 月 1 日 上午 5:31 
Late to the party, but this is like an absolute must for games like these where ever second counts. Thanks dude!
Puriren 2021 年 4 月 3 日 下午 10:12 
Thank you, this mod is really comfortable :sans:
johnsir 2021 年 1 月 5 日 下午 1:04 
It might have to be done with the other slots all being full, but having a backpack for it to go into. Or it could just be that it somehow doesn't work because I'm using a controller, even though that shouldn't change anything. Items don't seem to bind to backpack slots also.

It could also just be this world hates me more than I thought, and causes problems to happen to ONLY me with no explanation yet again.
dani  [作者] 2021 年 1 月 5 日 上午 12:38 
johnsir,

I am trying to understand which is why I asked to specify the exact steps. The first time you listed them it was amiguous. I read your second description and followed them:

1) Have Axe + Spear saved to the same slot. I use slot 3.
2) Have Spear in slot 3. Axe is on the ground.
3) Pick up the Axe. It goes to first empty slot (Spear blocks 3). Axe icon is still above slot 3.
4) Drop Spear.
5) Drop Axe
6) Pickup Axe. It goes to slot 3.

For me it all works as intended. What does not work for you, which step? Video would also be good, yes.