File information

Last updated

Original upload

Created by

shudnal

Uploaded by

shudnal

Virus scan

Safe to use

Tags for this mod

294 comments

  1. shudnal
    shudnal
    • supporter
    • 40 kudos
    Locked
    Sticky
    For easy configs formatting you can use Google Sheets JSON Helper. It was created for this mod to help editing configs.
    More info in the spreadsheet itself.

    Now you can edit all your trader files at once and your items as a list without need to think about JSON format at all. All you need is to copy/paste content from/to files.

    Credits for the idea, first implementation, testing and documentation for @MeowingInsanely!
  2. TheRyderShotgun
    TheRyderShotgun
    • member
    • 2 kudos
    I want to make it so the merchants are exactly the same as vanilla except Haldor sells Dvergr Extractors, how do I do that?
    1. shudnal
      shudnal
      • supporter
      • 40 kudos

      • create ...\BepInEx\config\shudnal.TradersExtended folder
      • create shudnal.TradersExtended.haldor.buy.json file inside that folder
      • paste this and save the file
      [
        {
          "prefab": "DvergrNeedle",
          "stack": 1,
          "price": 3000
        }
      ]
    2. TheRyderShotgun
      TheRyderShotgun
      • member
      • 2 kudos
      I suppose I'm doing something wrong, cuz he doesn't sell anything new

      is it different if i installed the mod manually and added the .dll file directly into the plugins folder?

      the mod still works, it shows up in the config manager ingame, and the trader window is different now, but he just doesnt sell those new items
    3. shudnal
      shudnal
      • supporter
      • 40 kudos
      There is Item discovery section.
      Sell only discovered items is set to true by default, making items only appear at trader after you touched them.
      And Undiscovered items list to sell makes item an exception from discovery rules.
      You can add DvergrNeedle to Undiscovered items list to sell config to make it appear at any stage.
      And then you can set your needle like this
      [
        {
          "prefab": "DvergrNeedle",
          "stack": 1,
          "price": 3000,
          "requiredGlobalKey": "defeated_goblinking"
        }
      ]
      to make it buyable after you kill Yagluth.
    4. TheRyderShotgun
      TheRyderShotgun
      • member
      • 2 kudos
      BUY, not SELL. the json is supposed to be "shudnal.TradersExtended.haldor.buy.json", not "shudnal.TradersExtended.haldor.sell.json"

      i went a little mad when nothing seemed to work and saw a little down below you recommended downloading a config someone else made, and i did that, and realized that buy and sell was reversed

      might have also been me using notepad to write the config file, but in my defense, i did also try the json website you linked and that didnt work either, but that was because i was unknowingly listing it as an item i can sell to haldor.

      anyway, after using the original code, in the json maker website, and saving it as a .buy.json, haldor now sells dvergr extractors. cheers.
    5. shudnal
      shudnal
      • supporter
      • 40 kudos
      Sorry my mistake. I copied file name from a wrong tab lol. Everything else was fine btw.
  3. Sanguinar42
    Sanguinar42
    • member
    • 0 kudos
    Hey, is there a way to just unlock purchase of any item without needing to individually add them to the config lists? I'm coming from the BetterTrader mod for ability to buy and sell to Haldor, but when I load this mod, even though I can see the altered UI that let's me sell, it still only lets me sell the treasure items, and Haldor still only has the regular items to buy even after I set item discovery to false.

    If it makes a difference, this is installed on a preexisting world after I got to Haldor and realized the BetterTrader mod no longer worked.
    1. shudnal
      shudnal
      • supporter
      • 40 kudos
      Easiest manual way to add all items to trade list is to use Google Sheets JSON Helper. You already have all vanilla items added on trader specific pages. If you have no need in trader specific configs you can use Common.Buy and Common.Sell sheets. All you need is to set stack size and price to every item for it to appear.

      But you can easily migrate you current lists from BetterTrader using LLM. I took Default config file from BetterTrader and made ChatGPT transform it to shudnal.TradersExtended.common.buy.json and shudnal.TradersExtended.common.sell.json.
    2. Sanguinar42
      Sanguinar42
      • member
      • 0 kudos
      How do I get it so that I can sell trophies to a merchant? I'd like to be able to sell greydwarf, skeleton, and other monster trophies for coins so they're not clogging up my storage, but every time I use the JSON helper, it refuses to set a price for Haldor to buy them, so I can't sell them to him in game.
    3. shudnal
      shudnal
      • supporter
      • 40 kudos
      What exactly do you do? You should find item prefab name on page Haldor.Sell and set price there.
    4. Sanguinar42
      Sanguinar42
      • member
      • 0 kudos
      There's no way for it to auto set a price? 
    5. shudnal
      shudnal
      • supporter
      • 40 kudos
      "Auto" means there is some formula which actually is not. Game does not have any economics outside of vanilla pieces balanced in its own way. So there is no formula and no basis for calculation presented in game. You can make economic model based on some rules and then apply that model to prices but again you have to do it all by yourself.
      "Auto" prices from BetterTrader is merely random values applied to item groups. At least as I see it. It's far from balanced and while it's reachable to make somewhat balance model I bet no one will be interested in making one.
  4. TOMULS21
    TOMULS21
    • member
    • 0 kudos
    Can anyone help me fix it so that it shows all items for sale because it doesn't show them to me?
    1. shudnal
      shudnal
      • supporter
      • 40 kudos
      This mod is a framework and does not come with any predefined item lists. You have to set item lists yourself or use one of existing lists made by other people like:
  5. theintelarif
    theintelarif
    • member
    • 0 kudos
    Solved issue.
  6. Xanada
    Xanada
    • premium
    • 0 kudos
    Не могу разобраться почему не прогружается список предметов. Я не вносил никаких изменений в настройки, часть с деньгами, скидками и тд прогрузилась, а вот предметы на покупку после их нахождения у продавца - нет. Или нужно отдельным списком еще куда-то загрузить весь потенциальный список предметов после установки мода?
    1. shudnal
      shudnal
      • supporter
      • 40 kudos
      Да, нужно подготовить файл в формате JSON, назвать его правильно и положить в папку "\BepInEx\config". Формат файла есть в описании, там же примеры имен файлов. Можно воспользоваться Google Sheets JSON Helper, там есть пошаговый гайд и автоматическое формирование файла.
  7. stakedexx
    stakedexx
    • supporter
    • 1 kudos
    no entiendo tu mod del todo, trato de agregar algo pero no me deja....
  8. bkoee
    bkoee
    • supporter
    • 0 kudos
    How can I enable logging to see what is happening when purchasing a treasure map? I am currently trying to buy an ashlands map and it can not get a location for it
    1. shudnal
      shudnal
      • supporter
      • 40 kudos
      This mod doesn't operate any map. I guess you use EpicLoot and its treasure maps.
    2. bkoee
      bkoee
      • supporter
      • 0 kudos
      That explains why when I enabled all of your logs nothing was happening! It's so hard to keep track of what mod does what, thank you for your reply!
  9. Ideh1
    Ideh1
    • member
    • 0 kudos
    Is it possible to get a gold decay system? So for example if the trader has 16000 gold due to me buying lots of stuff, that amount will decay at a rate of x per day. Similar to the refill system. This would be very nice.
    1. shudnal
      shudnal
      • supporter
      • 40 kudos
      That's definitely a good idea. I'll add new config to trader coins section.
    2. Ideh1
      Ideh1
      • member
      • 0 kudos
      Oh lovely, and thank you so much for the great additions to the game!
  10. CephalonAlhertum
    CephalonAlhertum
    • member
    • 0 kudos
    How i can add items that i can sell to Bog Witch with "empty" prefab ?
    1. shudnal
      shudnal
      • supporter
      • 40 kudos
      Using prefab name BogWitch, there is file name example. 
    2. CephalonAlhertum
      CephalonAlhertum
      • member
      • 0 kudos
      Its still not working. Im used file examlpe for BogWitch that you have and its still not work. You have mistake in file name example for witch too. 

      Im used name like this: shudnal.TradersExtended.bogwitch.sell (for sell)

      UPD: i found my mistake in config file, sorry.
  11. Eturna
    Eturna
    • supporter
    • 0 kudos
    Hi! It seems there might be a confliction with this mod and your Extra Slots mod. Whenever I have both enabled, it seems this mod loads properly as the menu is different than vanilla and nothing shows up in the console. But I only see the vanilla items and can't sell anything. 
    1. shudnal
      shudnal
      • supporter
      • 40 kudos
      It works fine for me. I have all my mods installed and check for compatibility. More so both mods don't have intersecting functions. I guess the issue could be in different mod manager profiles where your json files are at only one profile.