About this mod
Automatically sells items which have no use for their (estimated) sell price, includes most if not all common junk/valuable/decorative/jewelry items, Now configurable!, Say goodbye to inventory clutter and hello to something else because I'm not good at writing descriptions. It's very cool tho I promise.
- Requirements
- Permissions and credits
- Changelogs
- Donations
The mod is configurable!, see instructions below!
Stuff you can expect to be automatically sold :
- Common rings & Necklaces (minus potentially quest ones)
- "Valuable" items : Paintings, Cutlery, Precious Gems (Not Diamonds, they're used in a quest) and more
- Decorative items : Bottles, Buckets, Bigger Bottles, Soap thingies, Rags etc.
- Rotten Food : Yeah.
Here's a small video demo, ignore weird stack amounts and other weird stuff happening, it's mostly due to me already having some of the autosell items in my inventory and doing some debugging.
Now, read this very, very, very carefully :
- If you notice something that should obviously be added to the list of useless stuff, let me know of the english name of said item and I'll add it to the list.
- IF YOU NOTICE SOMETHING THAT SHOULD OBVIOUSLY NOT BE AUTOMATICALLY SOLD LET ME KNOW ASAP AND I'LL NUKE THIS SHIT FROM THE LIST I'M NOT IN THE BUSINESS OF BREAKING SAVES SORRY IF IT HAPPENED, HOPE YOU SAVED NOT TOO LONG AGO. REMOVE THE MOD UNTIL I FIX IT.
"Why don't you just ignore quest items bro, just don't sell essential items bro" : You can't, this game is messy, items aren't properly tagged internally, or properly named, or proper, or anything to be honest. Guess what, diamonds are technically quest items and so are incenses, same for the infernal irony stuff, yeah. I have to create the list of trash by hand, it's currently over 700 lines long.
I'm not sure I caught all of these "exceptions" so do not hesitate to report stuff, I'll fix it asap.
Requires BG3 Script Extender! You can easily install it via BG3 Mod Manager
Installation : use BG3 Mod Manager or manually install it if you know what you're doing, may be compatible with vortex but probably not (but maybe yes) and I won't support it. Please do not ask me for help with the installation.
Uninstallation : Remove the mod, that's it.
Compatibility : Everything but it will behave weirdly (in your favor) with Stackable Items not much I can do about it, the vanilla stacks also behave weirdly sometimes. Nothing game breaking tho, you just will get a bit more money from time to time, should be 100% fine. You probably won't get this behavior since your items will be sold and won't have time to stack.
Configuration Files:
Configuration files will be generated on the first loading (and again if you delete them, just load any save and you'll get some default ones back). You can find them at:
AppData\Local\Larian Studios\Baldur's Gate 3\Script Extender\Fall_AutoSeller\
- config.json : Contains basic variables. You can adjust the sell percentage amount, log the items you pick up to the console (set DEBUG_MESSAGES to 4), and enable/disable the mod from here. The values will be taken into account when a save is loaded, so you don't need to close the game when making changes to it. currently configurable values are :
- "DEBUG_MESSAGES" : 0 to 4, default 3, will print the name & UID of the item you pick up in the console when set to 4, along with some other stuff.
- "MOD_ENABLED" : 1 or 0, default 1, function is obvious, setting it to 0 will stop the autoselling logic
- "SELL_VALUE_PERCENTAGE" : any number, default 40, the percentage of the total item value you'll get on pickup
- "ENABLE_LOGGING" : 0 or 1, default 0, set to 1 to enable logging the name & UID of the item you pick up to a log file located in the same directory as the config file
- Other variables are currently unused and are basically just spoiler for potential features, don't touch the VERSION string
- junk_list.json : A copy of the mod's internal junk list. It isn't used in the code, so you can do whatever you want with it, and it won't break anything. It's just for you to look at as an example of how your keep_list and sell_list should look. Also funny seeing the 750 lines of shit I had to add to it right?
- keep_list.json : Putting the UID of an item that is in the junk list will ignore it. Changes take effect when loading a save, so there's no need to reboot.
- sell_list.json : Putting the UID of an item in this list will add it to the internal junk list. Changes take effect when loading a save, so there's no need to reboot.
- logs.txt : Your log file, needs ENABLE_LOGGING set to 1 for it to be used, will contains the name & UID of the items you pick up for you to easily add them to either the keep or sell list, or to make reports about items that should or should not be in the list
FINDING ROOT UIDs:
Yeah, this isn't very user friendly but you can't just add an item name to the list for now your options are :
- Having some BG3 modding knowledge (very cool, the preferred method even!)
- Enable the log file by setting ENABLE_LOGGING to 1 in the configuration file, the item name & uid of picked up items will be logged to logs.txt in the same folder as the configuration files
- Using the excellent Multitool from ShinyHobo that is linked in the credits, use the gameobject explorer and find the MAP KEY string of your item
- Use the DEBUG_MESSAGES functionality described above, this requires having the console enabled, you can enable it from the settings in BG3MM
Credits :
Myself
Kvalyr, Looked into their stuff a lot for file IO & printing stuff
Norbyte for SE, you know, the dude allowing us to make the game cooler.
LaughingLeader because it's the man, you know.
ShinyHobo for the MultiTool dude basically carries the modding community on his back imo.
Chem9771 on Discord for making a cool webapp used to filter items, which I modified for my needs. Safe to say I would still be adding items line by line without them.
Click on the big fancy and badly cropped donate image if you feel generous :P
