Crafting Editor 1.0.2

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.

A simple WebGUI to edit Hideout Crafting/Production.

Production Editor

This web application allows users to edit and customize the production.json file used in SPT, providing a user-friendly interface to manage hideout production settings. Users can create, edit, or upload their own production files, manage item requirements, and export the modified production.json for use in SPT.

Features

  • Production Management: Create new productions, edit existing ones, or delete them as needed.
  • Requirement Editing: Modify production requirements such as area, item count, and level directly through the UI.
  • File Upload and Download: Upload your current production.json for editing and export the updated list when finished.
  • Local Execution: All changes are performed client-side, ensuring privacy and security for your data.

Usage

Best use a mod like MoreHideoutCrafts to import your productions.

Online Version

Visit sardine.one to start editing your production.json online.

This website does not use cookies. Everything runs locally on your machine, and no data is transmitted to the server. This means that when you reload the website, you will lose your progress. So, don't forget to download the production.json file.

Local Version

Requirements [email protected] and [email protected]

  1. Clone the repository:
    Code
    git clone https://github.com/AcksBerg/SPTProductionEditor.git
    cd SPTProductionEditor


  2. npm install
    Code
    npm install


  3. Start the development server:
    Code
    npm run dev


  4. Open your browser and visit http://localhost:3000. (or shown in the console)


  • If something is missing or you have a feature request let me know and I will see what I can do.

  • Hi!
    Do you know why the site copies the same item when I try to add a new one ?
    Eg: I tried to make a recipe for GOlden star balm, using vaseline, ibuprofens and Hot Rod.
    I put the vaseline as the first item, when I create a new row to add the second item, and lets say I try to put the ibuprofen, the site put the ibuprofen in the first and in the second row.


    https://imgur.com/a/L3H6OhS

    • Interesting, that's a new one. I will have to test things out. When you add another one will it also replace the first and second one with what ever you put in the third one?


      I am currently on a trip but will resume development tomorrow or so.

      I will get back to you when I am back.

    • replaces both.

      Thumbs Up 1
    • Thanks for reporting the bug, I could reproduce it and will start working on it.

      Until I publish a patch, when creating requirements, add one, when adding the next new one, first select something else (does not matter what) out of the list and then use the search function, the bug only accures when the search function is directly used. That seems to fix it in most of the cases.

    • I published a fix. Please report back if it works for you now.

  • Hi, great mod. i'm also having the issue with my game being frozen loaded before the main menu, i'm also not throwing any errors anywhere that I can find unfortunately. let me know where and i can send my .json files. I did a lot of additions and changes to it so im unsure what to do. Thank you in advance :)

    • also to clarify, i just removed the old production.json and added the new one. nothing else.

    • You can copy the code from the file into https://pastebin.com/ and send me the link.

      If you created new ones it would be immensely helpful to know which ones.

  • i have two ideas but i am not sure if the game is capable of doing it (maybe already an option and i don't know how to do it on the site).


    1.

    is it possible to take apart an item (kind of de-crafting it) for example:

    in order to craft 6 RGD-5 grenades i will need these items:

    • 3 x UZRGM grenade fuze
    • 2 x TP-200 TNT Brick

    is it possible to do the opposite like this:

    6 x RGD-5 Grenade ----> 5hrs 5min ------> 3 x UZRGM grenade Fuze & 2 x TP-200 TNT Brick


    2.

    is it possible to craft items with any item from an item family?

    for example:

    i want to craft a Disposable Syringe, and i want to make it from injectors (since that's the closest we have to a syringe), but i don't want to have a craft option for every injector in the game.

    all injectors (except for Morphine) are under type "Stimulant".

    is it possible to do something that would work like this:
    "Any Stimulant" ----> 20sec -----> Disposable Syringe



    just something i thought about today when using the site, awesome work

    • First thing is sadly not possible as the end product only takes one id.


      The second could be possible, currently I blacklist every parent group. I will try and test it, but currently I am on a field trip, it will take me till ~ Tuesday.

      Heart 1
    • Sadly it is not possible to create "Any" Requirments, it will show you the name of the parent but will not find the fitting items. That would be something someone has to mod into the game.
      QyZEnf5.png

    • alright, thanks for trying though, and thanks for the work you do on this tool

  • Hey man, nice work.


    Im using the online editor, but when i move the json file in to the config folder, my game gets stuck before the main menu appears?


    Just wondering if you have any solutions, i could just be dumb tho.

    • Can you provide me the .json file and tell me what you edited? I will try and find what went wrong.

    • Sorry man, i was dumb- was clashing with one of my custom json.


      got it sorted. Thanks man

      Thumbs Up 1
    • Okay great, thanks for letting me know

  • That's so cool, with this I can more easily change the hideout gaming experience the way I want!

  • damn this is amazing, i love it, i have been editing the files so many times already, this makes it so much easier.

    thank you for this tool, its awesome

    Heart 1
  • Looks sick! Nice work

  • yippee Someone did it!!!

    Heart 1
    • I hope everything works as expected!

    • like in some cartoon: yes!! yes!! yes!!