Don't Starve

Don't Starve

415 ratings
Save Equipment Slots
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
23.770 KB
15 Dec, 2018 @ 1:25am
21 Aug, 2019 @ 2:32am
18 Change Notes ( view )

Subscribe to download
Save Equipment Slots

Description
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 Comments
LenneDalben 1 Jul @ 6:57pm 
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  [author] 18 Jul, 2024 @ 7:49am 
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) 17 Jul, 2024 @ 7:03pm 
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  [author] 17 Jul, 2024 @ 12:40pm 
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) 16 Jul, 2024 @ 12:57am 
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 16 Jun, 2024 @ 9:52am 
This mod seems to not work with backpacks
SirRiffsAlot 1 Apr, 2023 @ 5:31am 
Late to the party, but this is like an absolute must for games like these where ever second counts. Thanks dude!
Puriren 3 Apr, 2021 @ 10:12pm 
Thank you, this mod is really comfortable :sans:
johnsir 5 Jan, 2021 @ 1:04pm 
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  [author] 5 Jan, 2021 @ 12:38am 
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.