Docs#4English
How to modify GTO formula

How to modify GTO formula

Our modpack——GTO is a modpack with a large number of crafting recipes and custom content. To improve game loading speed, recipe recognition speed, and EMI restart speed, we have changed the recipe loading method, so common examples such asKJS's modification method is invalidof. To provide support for recipe modification capabilities, we provide a visual recipe editor and recipe scripts.

a. Visual formula editor

The recipe editor is a tool for generating recipe scripts. To load this item in the game, you need to enable Dev mode in the GTOCORE settings file and restart the game.

The visual representative can use this item to right-click a work block (workbench, machine) to open a GUI, through which you can set input, output, voltage, time, circuit and other properties, then click "X" to export, and in Prism's log output box you can see the recipe script generated by this item.

How to modify GTO formula

This item's interface to a certain work block, clicking "x" can output in the log.

b. Recipe Script

How to modify GTO formula

The script generated by the recipe editor is shown in the figure.

Save the script to the directory /gtceu/recipe/xxx.gtrs, which means the saving is complete. Here, xxx is the script name, which can be customized. Then enter "/reload" in the game to immediately load the recipe, and it takes effect immediately. This script can be shared.

Contributors

Comments

0