Crafting Editor 1.0.5

Please do not ask when mod authors will update their mods to 3.10
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

  • New Production List: Create a new production.json, you MUST use a mod like MoreHideoutCrafts to import your productions, or your game will crash.
  • Default Production List: Just add or edit productions. Be careful when deleteting default productions, as this can lead to errors if the game tries to access them.
  • Upload a Production List: Depending on where you get the list, refer to one of the options above.

Do NOT delete the quest requirments from a default production. This can lead to a game crash.

If you overwrote your default production.json and need to restore it, use the "Default Production List" option and download the file.

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

If you have no experience with git/npm/node just use the online 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)


  • Version 1.0.5

    New:

    - Added pictures when hovering over a production name.

    - Create a new craft with the currently selected area pre-selected.

    - Automatically create the area requirement for the currently selected area.

    Before this, you could encounter a visual bug where mods like "More Checkmarks" would display level 0 as required. (see screenshot)


    Workbenchlvl0.png


    Fixed:

    - Various minor bugs related to selecting an area and using the search function.


    Special thanks to Alkashy providing lots of feedback / reporting bugs and testing various things!

  • Version 1.0.4

    Added a tag with a tooltip to all default productions, which will notify the user, that editing a default production could lead to a game crash.

  • Version 1.0.3.1

    Highlight the current selected production to make it easier to use the buttons on the right side.

  • Version 1.0.3

    Added a theme switcher, so you are no longer forced to use the dark theme (beware of the flashbang).


    Fixed a bug where, when the move up/down buttons were used inside a specific area, the selected area changed to 'All' and all productions were shown, making the move function essentially unusable.

  • Version 1.0.2

    Fixed:
    - Duplikated IDs
    - Requirments overwriting each other.

    Thanks to WilliamHB and eluuuusive for reporting these bugs and helping to reproduce them.

  • Version 1.0.1

    An error message has been added if the end product has not been set or if there is not at least one requirement.

  • Version 1.0.0

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

  • Is there any way to use modded items?
    This mod is already a god damn masterpiece, but if there's also a way to use modded items it would sweeten the deal even more.

    Edit* Im not sure whether its related to this mod, but for some reason after downloading it and adding a few items my game is hard stuck after finishing the raid (dying / extracting) and the console says absolutely nothing, not even an error message.
    send help.

    • I could find try and create a way to import modded items.json files. I will have to think about that because it would need some restructuring.


      The only way I could imagine this happening is if you added parent items to the recipe e.g. keys. If you give me the production.json I will take a look I to that.

    • You could just make the item select window accept ID's directly.
      It should work really well!

      Also another neat thing that would make sorting the crafts a lot easier is naming them in the editor. Just have an option to do that there, even if its temporary

    • https://pastebin.com/0UkQJdBN

      The product.json file
      I hope i sent it right

    • That would generate so many errors for users who don't know what they are doing, for experienced users who I trust to use the IDs in the right way that's already possible, just create the production with an dummy endprodukt and switch out the id with a text editor.

    • I will take a look at the json tomorrow.

      Thumbs Up 1
  • how do i install it and do edit my current thing

    • If you have no experience with setting up npm projects just use the online version (it is the same as offline but you don't have to install anything). There you can select if you want to create a new file, use the default one or upload an existing.

      If you made your changes in the Editor just download the file and place it in the path shown on the start page. Please make sure to read the disclaimer.

  • Hey AcksBerg.


    I have changed the production.json, but the recipes don't show up.


    Why?


    Do i need to install anything?


    Thanks

    • Hey Skalenios, do you use the MoreHideoutCrafts Mod or just want to replace the default production.json?


      If the second one is the case, did you download the file and place it in the directory shown in the disclaimer?


      You don't need to install anything.

  • 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!!