Trader Assort Relocator 1.0.0

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.

Are you tired of downloading multiple mods just to be unable to use custom gear because its arbitrarily locked behind a custom trader? This mod can hide the custom traders you want while relocating their offers within the vanilla ones!

Remember to setup your config file to list the traders you want to keep!


No Logs = No Support


Are you tired of downloading multiple mods just to not be able to use custom gear because its arbitrarily locked behind a custom trader?

This mod can hide the custom traders you want while relocating their offers within the vanilla ones!


It distributes based on what type of item it is:

  • Prapor gets Special Equipments.
  • Therapist gets Cases, Regular Containers, Meds, Provisions, Keys and Keycards.
  • Skier gets Searchable Items (Like custom lootboxes).
  • Peacekeeper gets Info Items, Currencies and Secure Containers.
  • Mechanic gets Weapons, Mods, Ammo, Grenades and Melees (Also acts as a failsafe if its a class i haven't added in).
  • Ragman gets Gear (Anything you can wear) and Gear Components.
  • Jaeger gets Barter Items.

Remember to add the traders you want to keep on the config file.

  • For things like magtape and the color cores, do we need to install Painter?

    • This mod doesnt add new items, it just reallocates custom traders to vanilla traders.

    • I understood that and I played around and found out. I didn't know if the trader had to be installed along side dependent mods or if the mod handled the items still. Thank you for your response

    • This mod by itself doesn't do anything, it's intended use is to reduce the amount of custom traders by reallocating their offers into the vanilla traders.


      If you want to keep some traders for a specific reason like them having a good questline or such, you can add them to the ignore list.

  • birbbye How can i solve this problem?;


    TypeError: Cannot read properties of undefined (reading '_parent')

    TypeError: Cannot read properties of undefined (reading '_parent')

    at Mod.postDBLoad (C:\SPT\user\mods\zSpring-TraderAssortRelocator\src\mod.ts:178:67)

    at PostDBModLoader.executeModsAsync (C:\snapshot\src\loaders\PostDBModLoader.ts:63:45)

    at PostDBModLoader.onLoad (C:\snapshot\src\loaders\PostDBModLoader.ts:26:24)

    at App.load (C:\snapshot\src\utils\App.ts:51:26)

    TypeError: Cannot read properties of undefined (reading '_parent')

    TypeError: Cannot read properties of undefined (reading '_parent')

    at Mod.postDBLoad (C:\SPT\user\mods\zSpring-TraderAssortRelocator\src\mod.ts:178:67)

    at PostDBModLoader.executeModsAsync (C:\snapshot\src\loaders\PostDBModLoader.ts:63:45)

    at PostDBModLoader.onLoad (C:\snapshot\src\loaders\PostDBModLoader.ts:26:24)

    at App.load (C:\snapshot\src\utils\App.ts:51:26)
    :(

    • Regarding this error, it happens because the item doesnt have a parentId associated with its entry on the item tables.




      Most likely caused by a malformed entry on the database or another mod conflict, this mod heavily relies on the parentId so there isnt much i can do to "fix it".

  • Hello! Thank you for creating the mod! I encountered some issues while using it, and I’ve uploaded the log file to Pastebin. Could you please take a look? The problem should start from line 569. I really appreciate it!

    https://pastebin.com/S8zhCes5

    • Regarding this error, it happens because the item doesnt have a parentId associated with its entry on the item tables.


      Most likely caused by a malformed entry on the database or another mod conflict, this mod heavily relies on the parentId so there isnt much i can do to "fix it".


      You could try adding either 'Artem' or 'ArtemTrader' to the ignore list on the config file and see if it works for the other traders that you have installed.

    • got it. thank you so much!

      Thumbs Up 1
  • how do you know what trader the items will be sent to?

    • It distributes based on what type of item it is:

      • Prapor gets Special Equipments
      • Therapist gets Cases, Regular Containers, Meds, Provisions, Keys and Keycards
      • Skier gets Searchable Items (Like custom lootboxes)
      • Peacekeeper gets Info Items, Currencies and Secure Containers
      • Mechanic gets Weapons, Mods, Ammo, Grenades and Melees
      • Ragman gets Gear (Anything you can wear) and Gear Components
      • Jaeger gets Barter Items
      Heart 1
  • I have a custom set of Assort files and have been looking for a way to add them to the vanilla traders INSTEAD of the vanilla traders base inventories


    These assorts largely move higher caliber guns up the leveling tree to level 3 and 4 traders-


    Basically creating a Hardcore lite experience


    Would you be interested in collaborating with me to bring that to life as an independent mod or one that uses this as a dependency?


    Thanks for making this!