Minable with fluids
Posted: Mon Jul 30, 2018 5:25 pm
Hi all! Now we can set mining drills with only one fluid:
Is it possible to make a table of fluids? For example:
Of coarse then this mining drill needs at least two input fluid boxes.
Code: Select all
data.raw.resource["uranium-ore"].minable.hardness = 0.9
data.raw.resource["uranium-ore"].minable.mining_particle = "stone-particle"
data.raw.resource["uranium-ore"].minable.mining_time = 4
data.raw.resource["uranium-ore"].minable.result = "uranium-ore"
data.raw.resource["uranium-ore"].minable.fluid_amount = 10
data.raw.resource["uranium-ore"].minable.required_fluid = "sulfuric-acid"
Code: Select all
data.raw.resource["uranium-ore"].minable.required_fluids = {{fluid = "sulfuric-acid", amount = 10}, {fluid = "steam", amount = 50}}