Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
This will edit prices for your trader mods, as long as the traders use an assort.json. Support for questassort.json to show quest requirement for a better overview.
Tested with Lotus and Legs the trader, but should work with any mod that includes an assort.json file.
- Place assort.json and if available, questassort.json next to the EXE. Then launch.
- Open browser and go to 127.0.0.1:5000
Screenshots
Overview of all assort items (main page)
edit page, with the ability to add, remove and change quantity of barter requirements.
-
Version 1.1.0
- archon0ne
- 2.1k Downloads
Compiled for ease-of-use.
- Place assort.json and if available, questassort.json next to the EXE. Then launch.
- Open browser and go to 127.0.0.1:5000
-
Version 1.0.0
- archon0ne
- 136 Downloads
Alkashy
Honestly a great idea for a mod, but what's the installation process?
I put it in the mods folder and it gave me a bunch of errors. It's probably just me being dumb though
DarkEsteves
it will be great the abillity to add or remove items and a way to edit at
trader level they unlock...
Illu-sama
Does this work with the base traders like Prapor and Peace Keeper?
If yes, then any idea what that file name is in the game files?
DarkEsteves
hi its possible , go to :
\SPT - 3.9.8\SPT_Data\Server\database\traders\
and you will find all the traders folders, inside each folder is an assort.json file
it works , i been able to modifi a bunch of trades to barter.. awsome
SaltyClap
I'm confused about this process. Do I need to put both the
assort.json
andquestassort.json
files from the trader folder into theAssort_editor
folder? Then, do I launchAssort_editor.exe
and go to the website? If so, it's not working for meDarkEsteves
yes , copy them both to assort editor folder, open the
Assort_editor.exe
and go to the linkgiven , should open all the trades in that file , when you finishing editing , close the app ando copy the edited file assort.json from assort editor folder to the mod folder
Cosm1c Gam3r
I have question. Is it normal (I highly doubt it) that unpacking using 7z took me more than 1 and a half hour to unpack this mod?
archon0ne Author
No that's not normal. There's something wrong with your system in that case
Cosm1c Gam3r
No other zip, rar, 7z took that long ever. That was weird.
The Techno
is it possible to make this also edit the trader level the item is sold at?
archon0ne Author
Certainly. Can't provide an estimate for when, but should be easy enough to add it. 😁
Cosm1c Gam3r
I spent so much time editing in trader assort.json that such mod would be godsend.
But I wonder if I can use it on SPT 3.7.x version?
Can I change assort values:
"UnlimitedCount": true, (true/false)
"StackObjectsCount": 1850000, (any number)
"BuyRestrictionMax": 3, (any number)
"BuyRestrictionCurrent": 0 (any number)
archon0ne Author
Can you show me an assort.json which has BuyRestrictionMax and BuyRestrictionCurrent? The other two should be possible
Cosm1c Gam3r
Practically all trader assort.json items have those values:
"StackObjectsCount":
"BuyRestrictionMax":
some items have in addition those values:
"UnlimitedCount":
"BuyRestrictionCurrent":
Sometimes item have only "StackObjectsCount" without all the other 3 vatues.
archon0ne Author
The traders I have tried it on (Legs, Lotus) do not have BuyREstrictionMax or BuyRestrictionCurrent. Can you point me to a specific one?
example from Legs
Cosm1c Gam3r
Well I am on 3.7.X so I do not have new traders.
I gave example from Mechanic, Ragfair, Therapist. But I tweaked all the traders as I want them to have way less available item numbers for example instead of 100k or 1M to 1-2 items.
So as I already mentioned I see items having only StackObjectsCount while others have UnlimitedCount": true some have also "BuyRestrictionMax": and sometimes they also have BuyRestrictionCurrent":
I would only care to be able to delete UnlimitedCount": true as it is the same as changing it to false. Also I would like to be able to greatly reduce those ridiculous numbers of items (except ammo) by tweaking "StackObjectsCount": "BuyRestrictionMax":\
As for "BuyRestrictionCurrent" to be honest I do not touch this value as I have no idea what it is responsible for.
archon0ne Author
I agree, I can't wrap my head around what "current" means, when Max is available as well fro buy restriction count.
I will take a look and see if i can't find these values
Tonofash
Is it possible to make a bot loadout editor? Trying to manually add a gun to a boss or follower is kind of a headache.
archon0ne Author
That's unfortunately out of scope for this specific app, but maybe in the future. Don't wait for it, though. 🫡
Tonofash
Okie, Thank you for replying.
SPiRaL
Yo this looks great compared to modifying assort.json manually for some custom traders who's prices are just too low for everything they sell compared to vanilla. Do you still need to modify the prices of each item manually with this GUI, or is there by chance a multiplier? Would be awesome if I could choose a trader, lets say lotus, & simply increase the cost of all items she sells by like 1.2 for example while ignoring barter trades.
archon0ne Author
No, there is not, but it would be trivial to do something like that without needing a GUI. You can make a very simple script that just looks for items in the barter scheme that have roubles, USD or EUR as requirement, and multiply those "count" values by whatever multiplier you desire.
I would say such a feature is currently not planned for implementation, but here is a script that can accomplish it, as written by ChatGPT:
all you need is python, and it can be ran from commandline with:
python multiply_currencies.py assort.json updated_assort.json --global_multiplier 1.2
SPiRaL
Holy sh!t, I just tried it and it worked perfectly Big thanks boss!!! You totally could have just said it wasn't a feature but went the extra mile for me, very much appreciated!
S13NDR_M4N
Hey man, virus total does not like this file at all
Idk what you can do about that but here is the result of app.exe
I am assuming this is because it is an unknown exe file but
not my area of expertise
archon0ne Author
Compiled through different means, which seems to have helped:
Assort_Editor.zip on virustotal
Assort_editor.exe on virustotal
S13NDR_M4N
The zip was always squared away - but the exe still wont run for me bc defender and antivirus quarantine it
and not for nothing against you, but I am trying to get it to run without providing an exe file an exception
Ya know?
archon0ne Author
the source code is still available to run, without compilation. It's just a python app so it's functionally the same uncompiled
edit: Also, curious your windows defender trips on it, mine seems to have no problems with it 🤔
S13NDR_M4N
It zaps it out of existence if I try to open it
I'll grab the source and see if I can make that work
Cosm1c Gam3r
Why not just simply add it to exception?
LUNACVLT
does this have the ability to add items to specific traders?
wanted to add an expensive gas-mask to a trader
archon0ne Author
No, not yet.
Currently it functions only to edit what is already there. So it's a balancing tool currently.
i plan to expand on it and make it able to do everything you can do manually.
MadFrogz
Nice !
Now we need some way to show base prices for custom items !
S13NDR_M4N
I was literally about to start editing my assorts tomorrow
This is a life saver!
The timing is incredible
Therkelsen
Finally we can stop editing json files in the coal mines!
TeejayMerks
This is DOPE! I was going to make a program to do this.
DayJBDay
dope. will save me so much time editing prices - thank you!