Just4comments wrote:Is there a way to create crafting recipes for items that don’t have them?
Yep.
The folders you need are assets/data/recipes, which is where you'll want to put the new recipe,
and assets/data/items, which is where you'll want to start looking for the specific item you want to make the recipe for, and any of the ingredients you want it to have. Then you'll want to open up those xml files in a text editor (these ones we're just viewing).
For instance, if you wanted to create a recipe for ark meat, you'll go into assets/data/items/consumable and open arkmeat.xml
Once you've done that, go into the recipes folder and open up any of the recipes there. Create a new xml file in the recipe folder, and copy the code over.
There's a few things you'll want to change in that copied code, obviously. The second line in the file should be something like this:
<recipe name="faraday suit" requiredskill="1" startunlocked="false">
The name here refers to the name of the recipe - it doesn't matter what you call it, but obviously change that to something relevant, like "ark meat". Requiredskill refers to the level of a skill (i forget the one as it's been a while) that you need to craft the recipe. Change it to whatever you feel is right, I think the range is 0-4. Startunlocked i'm pretty sure you'll always want to be "true", as otherwise there will be no way to unlock it (since I have no clue how one would go about inserting unlocking a recipe into the game).
Then there's the <description></description> section. Change the text between those to whatever you want the description to be.
After that there will be one or multiple ingredients, that look similar to this:
<ingredient item="scrap metal" quantity="4" />
Add, change and delete these lines until you have the ones you want. Here is where the files we opened earlier are used: copy the name of the item from the item's file, on a line that'll look something like:
<ItemResource name="battery" weight="1" value="100">
to the ingredient line. Quantity is self explanatory. So in this case it may be something like:
<ingredient item="battery" quantity="2" />
<ingredient item="fabric" quantity="1" />
Below those there may be something along the lines of:
<tokenRequirement item="roboticist" quantity="1" />
This adds extra skill requirements (quantity is skill level). Probably remove these, or add them if you like. Skill files are in assets/data/perks
Finally, the last line you'll want to change looks like this:
<result item="capture device" />
Copy the name of the item you want to create in, and you can even add a quantity produced like so:
<result item="arkmeat" count="20" />
Then save the file, and you're done. The reason I say copy the names from the file is that the naming is a bit inconsistent. Sometimes there are spaces in between words, sometimes not.