Page 1 of 1

Game does not obey fluid_amount

Posted: Mon May 08, 2017 10:44 pm
by Earendel
For Uranium ore, and presumably any other ores that specify a required fluid amount, they seem to ignore the specified fluid_amount, or at least apply the amount in some way that is counter-intuitive and/or wrong:

Code: Select all

minable =
{
      hardness = 0.9,
      mining_particle = "stone-particle",
      mining_time = 4,
      result = "uranium-ore",
      fluid_amount = 10,
      required_fluid = "sulfuric-acid"
}
Expected result: mining result per cycle is {name = "uranium-ore", count = 1}, required fluid is {name = "sulfuric-acid", amount = 10}
i.e it should require 10 sulphuric acid per uranium-ore.

Currently it seems to only require 1 sulphuric acid per uranium-ore.

Re: Game does not obey fluid_amount

Posted: Mon May 08, 2017 10:55 pm
by Rseding91
It's fluid_amount / 10 per ore.

The mining drill consumes fluid when it starts mining a resource entity and then it mines that resources 10 times and switches to the next in the patch it can find at which point it repeats the cycle.

Re: Game does not obey fluid_amount

Posted: Tue May 09, 2017 4:41 pm
by Earendel
Ok, but seeing as they're they're part of the same minable definition, shouldn't the result count and the fluid_amount both refer to the same timeframe, i.e. 1 mining attempt, or 10 attempts in a a cycle of 10?