So i've been messing around with a few mods for a couple of days now, and i've kind of created a mod that works, but doesn't. (The entire code package is listed below.)
The mod is an attempt to disable hand-crafting and force the player to use automation.
For this, i have an already existing mod that i've modified, called "no hand crafting".
The newly created burner assembling machine needs to only be able to access 19 or 20 basic items for crafting, for balancing reasons.
For this, i had the idea of adding a new category, and assigning those 19/20 items to that category.
Then i would add the newly created category to the assembling_machine_1/2/3, so that those still had access to the same items.
The creation of the assembler works, inserting it in the player inventory on game start works as well, but i have managed to, rather significantly, fuck up the data-updates.lua (i think).
What i notice in game, is that the burner assembler does exist, is handed to me on game init, but shows no craftable items, most likely with the categories as a point of failure.
In addition to that, the other assemblers do not show the modified items in their lists, but the items are present in my inventory.
The data-updates.lua file contains the base mod's recipe's category edit, along with the addition of the new category to the base assemblers.
I'm not really sure how to properly format data.raw functions for category (or any other) edits, and i've tried a numerous amount of combinations of different methods found on this forum and google in general, to no avail.
TL;DR: data-updates.lua provided in spoiler #4 below, is probably broken as shit. Any advice on how to format it?...
data.lua
control.lua
recipe-category.lua
data-updates.lua
entities.lua
item.lua
recipe.lua
P.S. Sorry if the post is awfully long, i'm not entirely sure what's causing the issue, so this might save a lot of stumbling around in the dark... :3P.P.S. I have to add that a significant amount of this code was frankensteined to work. In addition to that, i probably only know for 80% how everything works, so bear that in mind when posting a reply. Cheers! ;P