Page 1 of 1

[Klonan] [0.15.34] Requires: 25 Water per 10 ore

Posted: Wed Sep 06, 2017 5:17 pm
by darkfrei
2017-09-06 00_00_54.png
2017-09-06 00_00_54.png (78.57 KiB) Viewed 4384 times
Hi all!

Here is Hydraulic Pumpjack from this mod.

This entity is a mining drill with input_fluid_box for water supply and output_fluid_box for crude oil production.

But this description said that our production is ore, not liquids.



This deep-crude-oil has:

Code: Select all

  minable = {
    hardness = 1,
    mining_time = 1,
    results = {
      {
        -- amount_max = 10,
        -- amount_min = 10,
        amount = 10,
        name = "crude-oil",
        probability = 1,
        type = "fluid"
      }
    },
	fluid_amount = 25,
   required_fluid = "water"

Re: [Klonan] [0.15.34] Requires: 25 Water per 10 ore

Posted: Wed Sep 06, 2017 6:13 pm
by darkfrei
2017-09-06 20_07_37.png
2017-09-06 20_07_37.png (25.08 KiB) Viewed 4369 times
Second bug (or not bug?) with same mod

Another problem is that water consumption is only once in ten oil productions, although it must occur at each production.

fluid_amount more than 199 can't be added too.

Re: [Klonan] [0.15.34] Requires: 25 Water per 10 ore

Posted: Wed Sep 06, 2017 6:16 pm
by Klonan
Thanks for the report,

This is fixed for 0.16

Re: [Klonan] [0.15.34] Requires: 25 Water per 10 ore

Posted: Wed Sep 06, 2017 6:20 pm
by darkfrei
When mining_power by the hydraulic pupmjack is equal 2, then it's possible to place this entity so:
2017-09-06 20_23_05.png
2017-09-06 20_23_05.png (44.41 KiB) Viewed 4367 times
When the same mining_power is equal 1, then impossible
2017-09-06 20_17_07.png
2017-09-06 20_17_07.png (61.51 KiB) Viewed 4368 times

Re: [Klonan] [0.15.34] Requires: 25 Water per 10 ore

Posted: Wed Sep 06, 2017 6:25 pm
by Klonan
darkfrei wrote:
2017-09-06 20_07_37.png
Second bug (or not bug?) with same mod

Another problem is that water consumption is only once in ten oil productions, although it must occur at each production.

fluid_amount more than 199 can't be added too.
Could you elaborate on this? I am not exactly sure what you mean
darkfrei wrote:When mining_power by the hydraulic pupmjack is equal 2, then it's possible to place this entity so:
2017-09-06 20_23_05.png
When the same mining_power is equal 1, then impossible
2017-09-06 20_17_07.png
The mining power must be greater than the resource mining hardness

Re: [Klonan] [0.15.34] Requires: 25 Water per 10 ore

Posted: Wed Sep 06, 2017 6:39 pm
by darkfrei
Klonan wrote:
darkfrei wrote: Another problem is that water consumption is only once in ten oil productions, although it must occur at each production.
Could you elaborate on this? I am not exactly sure what you mean
If I have in deep-crude-oil this code:

Code: Select all

minable = {
hardness = 1, 
mining_time = 1, 
results = {{amount = 10,  name = "crude-oil", probability = 1, type = "fluid"}},
fluid_amount = 10,   required_fluid = "water"}
It looks so, that on every 10 water spent I must get 10 oil. But now the input will be decreased every 10 seconds, but outputs I get every second.
So, from one tank of water I get 10 tanks of oil.

Re: [Klonan] [0.15.34] Requires: 25 Water per 10 ore

Posted: Wed Sep 06, 2017 8:33 pm
by Klonan
darkfrei wrote:
Klonan wrote:
darkfrei wrote: Another problem is that water consumption is only once in ten oil productions, although it must occur at each production.
Could you elaborate on this? I am not exactly sure what you mean
If I have in deep-crude-oil this code:

Code: Select all

minable = {
hardness = 1, 
mining_time = 1, 
results = {{amount = 10,  name = "crude-oil", probability = 1, type = "fluid"}},
fluid_amount = 10,   required_fluid = "water"}
It looks so, that on every 10 water spent I must get 10 oil. But now the input will be decreased every 10 seconds, but outputs I get every second.
So, from one tank of water I get 10 tanks of oil.
Okay, I have done some digging into the code, and this is correct behaviour

The fluid is only consumed every 10 mining operations, which for base game is correct saying 'every 10 ore',
So for 0.16 the description will read 'Requires: 2.5 water per mining operation'

Re: [Klonan] [0.15.34] Requires: 25 Water per 10 ore

Posted: Wed Sep 06, 2017 9:13 pm
by darkfrei
Thanks a lot!
Now it became more clear.