Sorry to say, looks good in theory but it's practically useless. Like others said, your mod doesn't take the toolbar cycling into consideration and locks specific non-cycle location which becomes broken in each cycling. Like I lock bait in r1-c2 and when due cycling it becomes r2-c2, your mod still locks r1-c2 for another item but not the cycled position of r2-c2. So I'd rather use cycling instead of trying to deal with half-working mod. Your intentions are good but unless you can win over over cycling, parking your mod until further updates.
Found my own error but it's a conflict. I'm using https://www.nexusmods.com/stardewvalley/mods/1845 Bigger PackBack extension which adds 4th row for 50k gil and your mod works only on Vanilla version with only 3 rows so your mod's rotation of 3 falls short for a 4 row configuration, causing mismatch most of the time. So please if you have the time try to add a 4th row configuration to your mod (or even more since there are 1-2 mod that allow more than 10 rows). Thanks.
I'll add these to my todo list and see how feasible they are. Preventing the organize button from moving locked items should be fairly simple, the mod simply doesn't touch that function at the moment but I think I could probably get that working. I'll have to look at the convenient chests mod to see how they handle it and whether I can interact with that at all. It may be a little bit, because my school workload is kind of a mess right now, but I appreciate the feedback and will try to get these implemented once I've got a bit more free time available.
I have been regularely having single stacks of resources such as wood, stone, and more organized at the bottom of my inventory. I have been using as a mod called Convenient Chests, that's amazing but stashing transfers my organized resources if any are initially inside the chest no matter what settings I use so a mod like this is incredible. Unfortunately, locking inventory slots does not work in stopping stash transfers in Convenient Chests. It would be a dream come true if this mod could be made compatable with various chest and organization mods including the one I mentioned.
Hello, is there a way to lock these items to specific slots but in the 2nd and 3rd tabs? I like to have 3 toolbars, and I just hit tab to cycle through. But even after favoriting items to the slots in the 2nd and 3rd tab, if I click the organize button the other tools return to the first tab by default
This should now be working in the newest version! And thanks for your replies to the other folks needing help in here! You can change it directly in the config file, or in-game with the added Generic Mod Config Menu support, if you have that installed as well
FYI, I am getting this information from SMAPI about this mod: "These mods have no update keys in their manifest. SMAPI may not notify you about updates for these mods. Consider notifying the mod authors about this problem." Notification duty complete. Thanks for reading this!
All you need to do is modify the manifest.json file as follows:
{ "Name": "Lock Hotbar Items", "Author": "Falson", "Version": "0.1.0", "UniqueID": "Falson.LockHotbarItems", "Description": "A mod to let you favorite and 'lock' items in your inventory, preventing them from being moved to chests by the quick deposit button", "MinimumApiLevel": "4.1.1", "EntryDll": "LockHotbarItems.dll", "UpdateKeys": [ "Nexus:23702" ] }
18 comments
Sorry to say, looks good in theory but it's practically useless. Like others said, your mod doesn't take the toolbar cycling into consideration and locks specific non-cycle location which becomes broken in each cycling. Like I lock bait in r1-c2 and when due cycling it becomes r2-c2, your mod still locks r1-c2 for another item but not the cycled position of r2-c2. So I'd rather use cycling instead of trying to deal with half-working mod. Your intentions are good but unless you can win over over cycling, parking your mod until further updates.
Found my own error but it's a conflict. I'm using https://www.nexusmods.com/stardewvalley/mods/1845 Bigger PackBack extension which adds 4th row for 50k gil and your mod works only on Vanilla version with only 3 rows so your mod's rotation of 3 falls short for a 4 row configuration, causing mismatch most of the time. So please if you have the time try to add a 4th row configuration to your mod (or even more since there are 1-2 mod that allow more than 10 rows). Thanks.I'll add these to my todo list and see how feasible they are. Preventing the organize button from moving locked items should be fairly simple, the mod simply doesn't touch that function at the moment but I think I could probably get that working. I'll have to look at the convenient chests mod to see how they handle it and whether I can interact with that at all. It may be a little bit, because my school workload is kind of a mess right now, but I appreciate the feedback and will try to get these implemented once I've got a bit more free time available.
I like to have 3 toolbars, and I just hit tab to cycle through. But even after favoriting items to the slots in the 2nd and 3rd tab, if I click the organize button the other tools return to the first tab by default
Would it be possible to change the KEY that shows and favorites the inventory slots?
All you need to do is modify the manifest.json file as follows:
{
"Name": "Lock Hotbar Items",
"Author": "Falson",
"Version": "0.1.0",
"UniqueID": "Falson.LockHotbarItems",
"Description": "A mod to let you favorite and 'lock' items in your
inventory, preventing them from being moved to chests by the quick
deposit button",
"MinimumApiLevel": "4.1.1",
"EntryDll": "LockHotbarItems.dll",
"UpdateKeys": [ "Nexus:23702" ]
}
1. Install the mod.
2. Press:
LeftAlt + Left mouse click a slot to favorite/unfavorite.
OR
Hold LeftAlt to see favorited slots.
You can change the config.json file to always show favorites slots.
Default is:
{
"AlwaysShowFavorites": false
}
Always show would be:
{
"AlwaysShowFavorites": true
}
Works fine for me.
May not work if you are not playing on PC.