Water pump

Some mods, made by Bob. Basically streaks every Factroio-area.

Moderator: bobingabout

User avatar
dzbanek
Inserter
Inserter
Posts: 28
Joined: Sun Jul 03, 2016 8:26 am
Contact:

Water pump

Post by dzbanek »

it seems that you no longer can select water from pump. What am I missing? last v13
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Water pump

Post by orzelek »

dzbanek wrote:it seems that you no longer can select water from pump. What am I missing? last v13
It's now disabled by default - available from special ground resources that look like recolored oil wells.
You can use config mod to revert this to previous behavior.
User avatar
dzbanek
Inserter
Inserter
Posts: 28
Joined: Sun Jul 03, 2016 8:26 am
Contact:

Re: Water pump

Post by dzbanek »

I've set bobmods.config.plates.EnableGroundWater to true, it does not work, no water in recipes. I hope I don't need to start over, do I?
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Water pump

Post by orzelek »

dzbanek wrote:I've set bobmods.config.plates.EnableGroundWater to true, it does not work, no water in recipes. I hope I don't need to start over, do I?
You might need to call reset recipes/technology after change like this to apply to save file.
It's something like this:

Code: Select all

/c game.player.force.reset_technologies()
/c game.player.force.reset_recipes()
User avatar
dzbanek
Inserter
Inserter
Posts: 28
Joined: Sun Jul 03, 2016 8:26 am
Contact:

Re: Water pump

Post by dzbanek »

It didn't do anything visible. Still no luck.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Water pump

Post by bobingabout »

the ground water recipes are unlocked by the water pumps research.

As a result, you need to research water pumps AFTER you enable ground water.

If you have researched it first, you'll need to enable them with scripting.

to do that, open the console, and enter this command. it will disable any achievements that arn't already disabled.

Code: Select all

/c for index, force in pairs(game.forces) do force.recipes["lithia-water"].enabled = true force.recipes["ground-water"].enabled = true end
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
User avatar
dzbanek
Inserter
Inserter
Posts: 28
Joined: Sun Jul 03, 2016 8:26 am
Contact:

Re: Water pump

Post by dzbanek »

Thank you Bob, it's working now, like you said.
Jodulf
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Jul 04, 2016 11:31 am
Contact:

Re: Water pump

Post by Jodulf »

Hi bob, I had the same problem yesterday, and the command fixed it, but today after your .13.(4?) update, the recipe disappeared, so I re-enabled it in the config and tried to run the command again, but got the error code "Cannot execute command. Error: [string "for index, force in pairs(game.forces) do for..."]:1: attemt to index field 'lithia-water' (a nil value) " any help would be greatly appreciated :)
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Water pump

Post by bobingabout »

The error basically just sounds like the recipe was not enabled, so... double check your options in the config mod.

The only thing that should have changed in bobplates (MCI) is the migration scripts, so if it worked before, it should still work now. Unfortunately, updating the config mod means that all your settings were lost.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Jodulf
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Jul 04, 2016 11:31 am
Contact:

Re: Water pump

Post by Jodulf »

I'm an idiot. I was configurating the file in my backup mod folder in documents, not the actual one in appdata -.- Thanks for the answers anyways Bob :D I love the work you do (Y)
User avatar
legion_2k
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed May 11, 2016 3:57 am
Contact:

Re: Water pump

Post by legion_2k »

Just set it up and did it in .13.6 and it now works. Change the config - saved -, then refreshed with the line of code in the console. Ta-Da!
User avatar
legion_2k
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed May 11, 2016 3:57 am
Contact:

Re: Water pump

Post by legion_2k »

Jodulf wrote:I'm an idiot. I was configurating the file in my backup mod folder in documents, not the actual one in appdata -.- Thanks for the answers anyways Bob :D I love the work you do (Y)
Ha! Welcome to the world of coding.. lol I have the same problem with staging and live apps at work.. I make sure staging has different colors or a label..
appex213
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jul 20, 2016 7:50 am

Re: Water pump

Post by appex213 »

legion_2k wrote:Just set it up and did it in .13.6 and it now works. Change the config - saved -, then refreshed with the line of code in the console. Ta-Da!

Can you explain what exactly you did? I'm having the same problem and i can't solve it.

EDIT: NVM, managed to get it working.
Post Reply

Return to “Bob's mods”