Fluid Centrifuge


Adds fluid boxes and pipe connections to the centrifuge.

Tweaks
15 days ago
2.1
7
Fluids Manufacturing
Owner:
ndunnett
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
15 days ago
Latest Version:
0.1.0 (15 days ago)
Factorio version:
2.1
Downloaded by:
7 users

Fluid Centrifuge

Adds fluid boxes and pipe connections to the centrifuge. This is intended to be used by other mods to make it possible to use fluids for recipes using the centrifuging crafting category, extending the utility of the centrifuge beyond uranium processing. This mod also makes the uranium-glow effects tintable per recipe instead of always being green, using the primary color value from the crafting_machine_tint property of the recipe prototype.

Compatibility

This mod should be compatible with any other mod that doesn't alter the graphics of the centrifuge. No testing has been done.

Example Recipe

data:extend({
    {
        type = "recipe",
        name = "water-to-steam",
        enabled = true,
        energy_required = 1,
        categories = { "centrifuging" },
        icon = "__base__/graphics/icons/fluid/steam.png",
        icon_size = 64,
        subgroup = "other",
        order = "z",
        main_product = "steam",
        -- When the recipe includes fluids, the pipe connections on the centrifuge will be rendered.
        ingredients = {{ type = "fluid", name = "water", amount = 10 }},
        results = {{ type = "fluid", name = "steam", amount = 10 }},
        -- Applies a purple tint to the working animation glow effects. If no tint is set, green will be used by default.
        crafting_machine_tint = { primary = { r = 1, g = 0, b = 1, a = 1 } },
    },
})