bdew-minecraft / pressure

Pressure Pipes mod
18 stars 10 forks source link

No config? #20

Closed slawr34 closed 10 years ago

slawr34 commented 10 years ago

Is this mod supposed to generate a config? On Bdew's website is says that you can change the efficiency of your generator but there is no config to do so.

bdew commented 10 years ago

I'm assuming this is for Advanced Generators and you just posted this on the wrong mod...

You should have a folder /config/AdvGenerators - in there you can write your own configuration sinppets

For eample, create a file "whatever.cfg"

cfg Machines {
    cfg TurbineController {
        MJPerTickPerTurbine = 10    
        FuelConsumptionMultiplier = 0.9
        cfg FuelValues {
            fluidname = 80  // this can add or override the value of fuels
        }
    }
}

And this will be merged with the internal config and can override the values there. Look here for examples of what can be changed.

You can also extract the internal configs from the jar into /config/AdvGenerators/overrides and edit them there, but you will need to manually update that when the mod udpates.

I'm currently writing up some proper documentation for this system (which is the same for all my mods).

slawr34 commented 10 years ago

Haha oops, yes this was meant to go to Advanced Generators.

Thanks for that suggestion, it's somewhat cooler making your own config than editing a preexisting one. Correct me if I'm wrong: A fuel consumption value of 1.0 means that the amount of fuel used is equal to that used in regular generators and a higher value is more inefficient.

As an aside, did you have any plans adding lava to fluids usable in the generator?

Again, thanks!

bdew commented 10 years ago

Lava will be useable in some other form, probably to produce steam which can then be used to generate power. This should be in the next few versions.

slawr34 commented 10 years ago

Anyway, obviously don't want to start a discussion here but looking forward to it. Keep up the good work!