If you've always wanted to make a MOD, but did not know where to start, edit this mod to create different recipes for the manufacture of your items.
This is a basic tutorial on modifying the game. Over time you will find that there are more practical ways that will not conflict with other mods.
1 . Download Notepad++: (or similar)
https://notepad-plus-plus.org/download/
2 . Download this mod (YouModRecipe_0.0.1.zip) and extract to your Factorio mod folder (factorio/mods - if you download it from site) or (%appdata%/factorio/mods - if you using Steam) - I advise you to download the last version and extract to a simple folder in your computer (site https://factorio.com/download). The game opens and closes faster off Steam.
The mod will appear like this on your Mod Folder:
3 . Enter in the folder /mods/YouModRecipe_0.0.1/prototypes/
You have all of these files to edit. They all have recipes of how they will be made within the game. Let's, for example, change the Inserter recipe
4 . Select all of your files and click Edit with Notepad++
5 . Press Ctrl+F and search for name = "inserter" clicking on "Find All in All Opened Documents". You can browse the several items in the files and modify as you wish.
6 . Double Click in ther result:
7 . Now you have the recipe:
(if you wanna hide this recipe, you can add a line like this - hidden = true, - it will not appear in the game)
8 . Let's change one ingredient. Let's change electronic-circuit for burner-inserter.
9 . Now save the changes and run the game... The new recipe will be in the game:
Now you just have to imagine and study the changes in recipes you want. You can use more raw materials, make all most expensive, cheaper, use more stone or less iron ... This is how you begin to understand how the game works. In addition to "changing" the recipes, we can create "new recipes" even for an item that already has one, or even create recipes for items that we will invent.
10 . If you want to finalize your mod, you should edit the info.json file for mod informations:
{
"name": "YouModRecipe", <-- Name of the mod will be the Folder Name
"version": "0.0.1", <-- with this version
"title": "YouMod Recipe - Tutorial and Example how to mod Recipes",
"author": "YourName",
"factorio_version": "0.16",
"description": "Edit these recipe files with a software like Notepad++ and create your own mod with modified recipes."
}
11 . Compact the folder in .zip
This tutorial was this first step for modding, depending on the acceptance of this tutorial I intend to always publish basic tutorials on how to mod with items, change images in the game, create a new item, mod with entities, modify features, data.lua file, control.lua , etc...
Sorry for my English, I'm using google translate
Thanks, and leave your suggestion.