MoreHideoutCrafts 1.0.1

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Add crafts to your hideout, using almost any station!

Adding items to craft, is a bit odd, and hopefully I will make a GUI later.

You can see how to add custom recipes with the shipped .jsons.

[tabmenu]
  • is this installed in bepinex or user folder??

  • how do you install this?

  • this work in 3.9.4?

  • Is there a way to add a craft locked behind a quest? Can I get an example?


    EDIT : After some trial and error, and reading the code. Here is what I figured.


    You need to add this line to your crafting requirement, replacing the quest ID with the quest you want to attach it to. Make sure you set Locked to true.

    Code
    {
    "questId": "59c512ad86f7741f0d09de9b",
    "type": "QuestComplete"
    }

    Then on the quest, either you can edit the existing quests in ./Aki_Data/Server/database/templates/quests.json OR edit the quests on a custom trader in ./Virtual's Custom Quest Loader/database/quests/***.json with the following. The first ID is made up but make it unique, the second ID and target is also made up, but make sure its unique and the same between the two. Then place the item ID to be unlocked in the _tpl field. The traderID is the station ID and the LL is the station level. (as far as I can tell). Where you place it, make sure the index field is in sequence with the rest of the rewards.

    Something to note that was catching me up, the code that checks for unlocks in SPT doesn't allow more than one return, looking at the code you can have multiple crafts of the same item, but only if they are either in different stations, or station levels. You can't have two crafts in the same station on the same level.

  • Spicy Mayo for your enjoyment.

    Should be a level 2 craft imo, but here's the craft.



  • It would be nice to be able to edit vanilla crafts.


    EDIT : There is a way to do it, although it would still be nice to edit them here as I believe SPT updates overwrite any edits made and the mod would prevent that. For anyone that wants to know how, you edit the production.json in Aki_data/Server/database/hideout

  • Jo Thx for this Mod, its Awesome.


    I created a Json File for all the Crafts from the Lightkeeper Quests.

    So that they are there earlier and you don't have to do the Quests to unlock them.

    I set the Production Time for all this Crafts to 24 hours and I also set in the Json File the Original Items and Tools that you need for the Crafts from the Tarkov Wiki Page.

    I hope it helps you.


    I don't know why, but I had to set the time to 90,000 so that it would work for me with the 24 hours. I hope it looks the same for you.


    It's my first Post here and if there's anything wrong, Please tell me.


    Sorry for my bad English. ^^


    Edit: I added the Barter items that are behind the Lightkeeper quests too, which you can now Craft.

    The Advanced Current Converter and the Far-Forward GPS Signal Amplifier and the SIG MCX SPEAR.


    Greetz




    Heart 1
  • Any ideas how to remove default Tarkov crafts?

  • workes like a charm! ty for this awsome mod bro

  • For some reason, my hideout won't load with this mod. It just starts an infinite loading loop when entering the hideout.


    Server launcher is not giving any errors, straight opposite. It prints that it has loaded all the custom recipes from the JSON-files, which is made from the presets you posted.

  • Greetings! Does it work with 3.8.0? And if not, is there an update planned?

    • It should work with 3.8.0, but I haven't tested it yet. I probably won't push an actual update unless it is broken.

    • unfortunately, it does not work with the latest version 3.8.0, it gives a message that errors have been detected in the mod and it will not be loaded

    • I'll try to look into it in the next few days. I'll reply to this "thread" when I've hopefully fixed it. Thanks for lettin' me know.

      Heart 2
    • Thank you very much, budy! Because for me, this mod is like a drug. And ....I think that for many other players too :love:

    • The prevention of loading is something new in the AKI server to prevent loading outdated mods, but this new release also does fix another loading issue due to missing packages.

      Heart 1
  • where do i create the new json file? in the morehideoutcrafts mod folder?

    • I created the craft as per your instructions in the overview, it seems to load the "custom craft" when booting up but it doesn't show in the intel station where i coded it. can you add crafts during a playthrough or would i have to start again?

  • this mod crashes the morecheckmarks mod ... that mod stops working after

    Remove "fs": "^0.0.1-security" from "dependencies" , so i get morehideoutcrafts working but

    morecheckmarks is not working anymore, even if ideleted morehideoutcrafts completly..

  • Hello,

    is there possible e.g. 2 to 3 endProduct ?


    example

    [

    {

    "_id": "nogen4000Test",

    "areaType": 2,

    "requirements": [

    {

    "templateId": "5d40407c86f774318526545a",

    "count": 10,

    "isFunctional": false,

    "isEncoded": false,

    "type": "Item"

    },

    {

    "areaType": 2,

    "requiredLevel": 1,

    "type": "Area"

    }

    ],

    "productionTime": 240,

    "needFuelForAllProductionTime": false,

    "locked": false,

    "endProduct": "5b44cf1486f77431723e3d05","5b44cd8b86f774503d30cba2","5b44d0de86f774503d30cba8",

    "continuous": false,

    "count": 1,

    "productionLimitCount": 0,

    "isEncoded": false

    }

    ]

  • the time to craft doesn't decrease if in SVM i reduce the craft time. is there some compatibility trick?

    • Noticed that as well. It probably is just a compatibility thing, but I'm not a coder.

  • I would love to add and modify crafts. I know how to do it but it's quite tedious. Hope you will add that GUI to make the process much easier.

  • For everyone having problems with the mod being "skipped":

    1. Open package.json
    2. Remove "fs": "^0.0.1-security" from "dependencies"

    Please don't change "autoInstallModDependencies"!!!

    I don't know why the dev required 0.0.1-security package, but it is not required!

    Thumbs Up 1 Heart 1
  • Okay I followed the steps provided by Kundich  


    I also copy pasted each of the featured presets into a notepad.txt file then changed it to .json and copied the information into each .json. as shown below that it is loading those three presets.

    [MoreHideoutCrafts] Loaded 3 custom crafting recipes from Goblin King Meds @DevilFlippy.json.

    [MoreHideoutCrafts] Loaded 17 custom crafting recipes from Additional Ammo - @BAOBAO25.json.

    [MoreHideoutCrafts] Loaded 15 custom crafting recipes from Hardcore Meds @MeowletteBlackpaw.json.


    The rest is showing it loading in the quote.

    My only question is did I set this up correctly based off the info provided?
    SPT UPLOAD FOLDER\user\mods\shredder MoreHideoutCrafts\src\configs

    https://www.mediafire.com/view/xjmm5axotxvdebs/more_crafts.png/file

    • P.s. to remove the error:

      Mod papershredder432-MoreHideoutCrafts is not compatible with the current version of AKI. You may encounter issues - no support will be provided!

      Just go into the package.json of shredder-MoreHideoutCrafts and change the akiVersion to"3.7.*"


    • I know for a fact I set it up correctly however I ran into an issue where upon reaching med station lv 2 and trying to upgrade it doesn't, then upon leaving game and trying to relaunch it gets stuck in an infinite load.


      This is resolved by removing this preset

      Hardcore Meds @MeowletteBlackpaw

  • Aki server "say"
    Skipping loading of Mod: MoreHideoutCrafts by: papershredder432
    What did i wrong?

    • Read the messages just bellow :P

  • I tried the auto install mod dependencies and I just get back more errors than before and the mod just breaks.

    Code
    ModLoader: loading 24 server mods...
    Mod shredder-MoreHideoutCrafts package.json requires name property
    Mod shredder-MoreHideoutCrafts package.json requires author property
    Mod shredder-MoreHideoutCrafts package.json requires version property
    Mod shredder-MoreHideoutCrafts package.json requires license property
    Mod shredder-MoreHideoutCrafts package.json contains an invalid version string

    I then get this in the server console if I try to run it again.

    Thumbs Up 1
    • Same here :/
      Don't understand whats happening but it's definitely broken :/

    • This is easily fixed. What's happening is that when you change .*\Aki_Data\Server\configs\core.json to have "autoInstallModDependencies": true, your package.json gets wiped out. Fortunately, it's easy to fix and doesn't require changes directly to core.json. It's four easy steps:


      1) Reverse the change in core.json so that "autoInstallModDependencies": false

      2) Inside of the mod folder, open the package.json.bak. CTRL-A, CTRL-C. You want to copy all of the contents of this file.

      3) In the same folder, open package.json. Note that it's empty now. CTRL-A, CTRL-V. You're basically pasting the contents of .bak into .json.

      4) Beginning on line 14 (curly brace followed by a comma), delete the comma and everything down to the last, closing curly brace. Those are not needed.


      Your final package.json ought to look like this (and note I changed the version because of a weird compulsion I have):


      Hope that helps.


      (Edited for stupidity related to core.json values. Apologies.)

      Heart 4
    • Everything working just fine after following that. much thanks!

    • Thank you very much for your time and kindness!

    • Always happy to help. If you run into any weird shenanigans, please let me know. I don't think the "script" block is needed, but I'd love to know if anything goes sideways for anyone.

      Heart 1
  • hi , the AKI console tells me that your mod is not loaded..


    "Skipping loading of Mod: MoreHideoutCrafts by: papershredder432"

    • me too, maybe 3.7.0 broke it?

    • nop, i found the problem, go to


      .*\Aki_Data\Server\configs\core.json


      go to :

      "autoInstallModDependencies": false


      and change it to true

      and restart server and launcher

    • thanks for the help!

    • when i do it the server spits out a bunch of red text that i dont know the meaning of

      something with '' command failed: C:\SPTarkov 3.7.1\Aki_Data\Server\@pnpm.exe install fs@^0.0.1-security

    • maybe is not compatible with 3.7.1 ..

  • Where do I add these files? If I add it with other jsons under more_guns nothing happens.
    Can anyone make a youtube tutorial on this?

  • is this one incompatible with item-info? as soon as i do custom crafts i get red text in the console related to item info, the custom crafts get loaded normally and have no issues

    • They shouldn't be but I've not used both at the same time.

    • okay i figured out what causes the issue, if something in the config isnt right, the console gives red text from iteminfo, ive had some problem with items that needed 7400 things that had no icon for crafting

  • Does anyone have any craft sets for this? I can do it myself but I'll save myself the hassle if some are already available (I've already got the hardcore focused weapon one)

  • my hideout is not loading when this mod is installed :(

  • This is an amazing mod, thanks so much!


    I was looking for exactly something like this to add extra crafting recipes, easy to use also - top job! ^^

  • Can this be used with softcore?

    • Yes, i use the 2 mods on my play

  • does this mod come with already made crafts?

  • Ok maybe I am losing my mind but I thought there were crafts for the booze generator, nutrition center and lavatory as well? Are those included with this mod?

    • It's possible, but this is more of a "library" for configs made by other people.

  • Created this for more hardcore type players - especially those that use Path to Tarkov or otherwise don't have access to, or have limited resources from Therapist at all times. More med crafts and med refills. Let me know how they balance, I haven't had a chance to test.