Water pump
Moderator: bobingabout
Water pump
it seems that you no longer can select water from pump. What am I missing? last v13
Re: Water pump
It's now disabled by default - available from special ground resources that look like recolored oil wells.dzbanek wrote:it seems that you no longer can select water from pump. What am I missing? last v13
You can use config mod to revert this to previous behavior.
Re: Water pump
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?
Re: Water pump
You might need to call reset recipes/technology after change like this to apply to save file.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?
It's something like this:
Code: Select all
/c game.player.force.reset_technologies()
/c game.player.force.reset_recipes()
Re: Water pump
It didn't do anything visible. Still no luck.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Water pump
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.
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
Re: Water pump
Thank you Bob, it's working now, like you said.
Re: Water pump
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
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Water pump
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.
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.
Re: Water pump
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 I love the work you do (Y)
Re: Water pump
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!
Re: Water pump
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..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 I love the work you do (Y)
Re: Water pump
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.