Mod Details

Trader Assort Extender

Trader Assort Extender 1.0.1

Created by  GoatBoy

281 Downloads

SPT 3.11.4 Compatible

Add and remove items from traders

Latest Version 1.0.1
SPT 3.11.4

Updated Oct 13, 8:32 PM

13.53 KB

Version Notes

Added:

  • You can set items as quest rewards, however the item does not display as a reward when viewing the quest in game, haven’t found a work around

Changed:

  • When removing an item from the trader, it now uses the ID instead of the TPL, this means if a trader has multiple listings of the same item, you can pick and choose what to remove

Any issues please let me know, I’m not 100% I will update to 4.0.0

This download is externally hosted.
Always scan for viruses.

This mod allows you to add and remove items from traders, including custom traders, I recommend using Debug Tooltip by Tyfon to easily copy and paste the TPL’s when removing items from traders, make sure to do so from within the trader’s inventory itself.

Mod’s current features:

- Add items to a trader’s stock
- Remove items from a trader’s stock
- You can have multiple assort/remove files as long as the file name ends in assort.json or remove.json ex. custom_assort.json
- The mod loads the remove.json files FIRST and then the assort.json files secondly, meaning you can remove an item from a trader, using remove.json
and add it back using assort.json if you want an item at a different price or trader tier
- This mod *SHOULD* work with adding/removing modded items from a trader’s stock, I haven’t tested this enough though

Version 1.0.1
Download Mod Version
SPT 3.11.4
Latest Compatible SPT Version

13.53 KB

35 Downloads

Created Oct 13, 8:25 PM

Updated Oct 13, 8:32 PM

Virus Total Results

Added:

  • You can set items as quest rewards, however the item does not display as a reward when viewing the quest in game, haven’t found a work around

Changed:

  • When removing an item from the trader, it now uses the ID instead of the TPL, this means if a trader has multiple listings of the same item, you can pick and choose what to remove

Any issues please let me know, I’m not 100% I will update to 4.0.0

Version 1.0.0
Download Mod Version
SPT 3.11.4
Latest Compatible SPT Version

246 Downloads

Created Sep 3, 3:32 AM

Updated Sep 3, 3:32 AM

Virus Total Results
Luma

we couldn’t figure out how to use this mod. we tried using the tpl and item id of propital and it kept saying it couldn’t convert the value we put in to a gclass1319 when we opened therapist ingame

0 Likes

My bad, I am planning on rebuilding this mod within the next week to make it more seamless and fix some issues that I have noticed, if you are adding an item, you need to use a mongo24 object ID for the ID field, it is unique for each entry, so do not re use any for other entries, it is used as an identifier when you are setting it’s barter and loyalty values further down in the assort.json, sorry for any confusion

0 Likes
FallegaHQ

hey

I have released this mod

Mod Configurator

If you want to support my mod, please let me know and I will help you with the setup if you need/want

1 Like
Tedratox

how can i add all secure container in a trader?
i try to add id’s item in “items” but don’t work

{

“items”: [],

“barter_scheme”: {},

“loyal_level_items”: {}

}

0 Likes

the formatting is the exact same as any trader’s assort.json is structured, also don’t forget that you have to add commas where it is appropriate when adding additional entries, here is one example of a kappa container for 500,000 roubles, a max of 3 that you can buy per reset, and it is at trader level 1:

{ “items”: [ { “_id”: “68bba427970c87d64a2f69bc”, “_tpl”: “5c093ca986f7740a1867ab12”, “parentId”: “hideout”, “slotId”: “hideout”, “upd”: { “StackObjectsCount”: 9999999, “UnlimitedCount”: true, “BuyRestrictionMax”: 3, “BuyRestrictionCurrent”: 0 } } ], “barter_scheme”: { “68bba427970c87d64a2f69bc”: [ [ { “_tpl”: “5449016a4bdc2d6f028b456f”, “count”: 500000 } ] ] }, “loyal_level_items”: { “68bba427970c87d64a2f69bc”: 1 } }

0 Likes

I forgot to mention as well, it is important that when you add a new item, you need to use a mongo24 object ID for the ID field, it is unique for each entry, so do not re use any for other entries, in the example above, the mongo ID is “_id”: “68bba427970c87d64a2f69bc” it is used as an identifier when you are setting it’s barter and loyalty values further down in the assort.json

0 Likes
MSGScooteroll3k

what am I exactly pasting in the “remove” config to remove items? not very clear…

0 Likes

My bad I should of clarified, I recommend using Debug Tooltip by Tyfon, as you can copy the TPL directly from the trader’s inventory, otherwise you would have to find the assort.json for each trader that you want to mod, you would use the TPL to create a list in the remove.json, ex.

[
“TPL_1”,
“TPL_2”,
“TPL_3”,
“TPL_4”,
“TPL_5”
]

Also note that if you want to remove an item, that has multiple listings from the same trader, for example Analgin Painkillers from Therapist is listed for roubles and a barter, both listings would be gone, you would have to add both back, if you wanted them at a different price or trader level, a small inconvenience but I don’t currently know of a work around

2 Likes

ah okii, thanks!

1 Like
Ha7an

Would you be able to make a mod, where items from moddded traders get placed to the proper standard trader?

0 Likes

What would be the point of this?

0 Likes

This unfortunately is probably the better route to go, as it would be hard to determine what item goes to what trader, it’s more work, but it is a lot more personalized this way, I made this for this exact reason actually haha

0 Likes

Details