
Since advanced oil processing produces more overall, its total fuel value will be used.Ĭombinations without productivity modules are omitted, since the first combination produces more net energy per cycle than the total fuel value. Since all products scale equally based on productivity, each recipe can be expressed solely as the fuel value of the products combined and that value can be scaled based on productivity below. Petroleum gas = 340kJ (half of light oil).Heavy oil = 32,139/55kJ (based on optimal non-beaconed conversion to light oil).Based on the above tables, the following fuel values for each product will be used: Since the solid fuel is being used in a closed loop, and therefore is going into boilers, the 25MJ fuel value is halved when used.Ĭombinations without productivity modules are omitted, since the first combination produces more net energy per cycle than a single piece of solid fuel is worth.Ĭombinations for each number of productivity modules show their best combination in bold, and only that combination is used to work out energy gained per cycle.Ĭrude oil can be processed with either basic or advanced oil processing. This table shows the results of various module combinations for a single cycle of the chemical plant for either light oil or petroleum.
#FACTORIO OIL CRACKED#
Light oil is not cracked since it takes twice as much petroleum gas to make one solid fuel. Petroleum gas and light oil will be used as-is for producing solid fuel.

Light oil and petroleum gas into solid fuel Power cost and power results will be worked out in reverse, with the result that gives the most power being used for each step thereafter. 2 Converting solid fuel into rocket fuel.1.1 Light oil and petroleum gas into solid fuel.The API documentation is also available in a machine-readable format that developer tools can use. For example, positions or crafting ingredients. Concepts: Lua table formats that some of the API functions expect or return.The following data types are used across the API: General libraries and functions that Factorio provides or changes. The global dictionary, useful for storing data persistent across a save-load cycle.Ĭontents of the defines table, which contains symbolic constants used throughout the API. Provides an interface for registering event handlers.Īllows inter-mod communication by way of providing a repository of interfaces that is shared by all mods.Īllows registering custom commands for the in-game console accessible via the grave key.Īllows printing messages to the calling RCON instance if any.Īllows rendering of geometric shapes, text and sprites in the game world. It is, however, not available inside handlers registered with LuaBootstrap::on_load. This is the main object, through which most of the API is accessed. To facilitate that, some are provided as global classes.

To make any use of the API, therefore, you need to have access to instances of these classes.
#FACTORIO OIL MODS#
The classes and events used in this phase are documented here on this website.įor more information about how mods are loaded, initialized, and the different phases, see Data Lifecycle.Īll of the scripting API functionality is implemented via class members. The prototypes are documented on the wiki: Prototype definitions
#FACTORIO OIL MOD#
The mod settings are documented on the wiki: Tutorial:Mod settings

The settings stage is used to set up mod configuration options.In general, the Factorio API consists of 3 phases:
