Struggle with waterpump mod

Place to post guides, observations, things related to modding that are not mods themselves.
astral-entity
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Apr 11, 2023 7:48 am
Contact:

Struggle with waterpump mod

Post by astral-entity »

I wanted to create a mod for a water pump until I hit a road block. As far as I can see, it's not possible to do what I wanted or it's getting too complicated.

What I wanted to do was a water pump that ...

... looks like a pump jack
... acts like an offshore pump
... requires electricity
... can be placed anywhere

To add at least some form of balancing, I think this should come with a cost. For the benefit of putting that pump anywhere, it should require electricity and only has a low water output.

Sounds simple, but it's not.
  • I got a version of the mod working, using the "OffshorePumpPrototype" prototype. Unfortunately this prototype doesn't have attributes to configure an energy source.
  • Using a "MiningDrillPrototype" is also not working for me since it needs to be placed on resources. And I want it to be placeable everywhere.
  • The "AssemblingMachinePrototype" with a hidden recipe (I saw that a lot in other mods) is also not really what I want. I don't like the items-produced counter and I don't like the idea of water being "produced".
Soo. to create a clean mod, the way I wanted to I need one of these things:
  1. The "OffshorePumpPrototype" is extended with the ability to have an energy source.
  2. The "AssemblingMachinePrototype" can be configured to be placed anywhere. And maybe I need a way to mark it so it's not thinking that resources are missing
FuryoftheStars
Smart Inserter
Smart Inserter
Posts: 2768
Joined: Tue Apr 25, 2017 2:01 pm
Contact:

Re: Struggle with waterpump mod

Post by FuryoftheStars »

There exist a few varieties of this type of mod already:
Offshore P.U.M.P.S. and Ground Water
Water Well (pump free water from the ground)
Zaned - Drill to Aquifer
Mud Water well pump
Stone Water Well

To list a few.

Edit: That list was primarily meant as a "take a look at these on how they did it". That said...
astral-entity wrote: Tue Feb 13, 2024 6:28 pm The "AssemblingMachinePrototype" with a hidden recipe (I saw that a lot in other mods) is also not really what I want. I don't like the items-produced counter and I don't like the idea of water being "produced".
This is, unfortunately, afaik, the only way to do it. You can just ignore the production counter, or see it as a counter of how much the pump as drawn up from the ground.
astral-entity wrote: Tue Feb 13, 2024 6:28 pm The "AssemblingMachinePrototype" can be configured to be placed anywhere. And maybe I need a way to mark it so it's not thinking that resources are missing[/list]
I'm assuming you meant "MiningDrillPrototype" there.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 266
Joined: Wed Jan 03, 2018 10:12 pm

Re: Struggle with waterpump mod

Post by jamiechi1 »

Can the Stone Water Well mod be 'forked'. I have been using my locally modified version for years.
I don't see any licensing info on the mod page.
And Discussions are locked there as well. (There should be a law against this.)
I plan to update it for 2.0 and others might find this helpful.
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 530
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Struggle with waterpump mod

Post by Silari »

jamiechi1 wrote: Mon Oct 28, 2024 8:10 pm Can the Stone Water Well mod be 'forked'. I have been using my locally modified version for years.
I don't see any licensing info on the mod page.
And Discussions are locked there as well. (There should be a law against this.)
I plan to update it for 2.0 and others might find this helpful.
Every mod has licensing terms shown as part of the block of info at the top, under Homepage. Per that, it's under the creative commons 3.0 license.
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 266
Joined: Wed Jan 03, 2018 10:12 pm

Re: Struggle with waterpump mod

Post by jamiechi1 »

Silari wrote: Mon Oct 28, 2024 8:56 pm
jamiechi1 wrote: Mon Oct 28, 2024 8:10 pm Can the Stone Water Well mod be 'forked'. I have been using my locally modified version for years.
I don't see any licensing info on the mod page.
And Discussions are locked there as well. (There should be a law against this.)
I plan to update it for 2.0 and others might find this helpful.
Every mod has licensing terms shown as part of the block of info at the top, under Homepage. Per that, it's under the creative commons 3.0 license.
For some reason I never looked there. I expected to see a license file in the mod and a reference in the info.json file.
In any case, I got the mod ported to 2.0 late last night and it seems to work fine now. (Currently only tested on Nauvis.)

Anyone want to take it over and release it? The original mod owner Steinio disappeared and locked the discussions for this mod.
I have access to Github and can upload it there. I will Not use Discord. Don't ask why.

Edit: Maybe I should just put it on Github for now.
User avatar
BraveCaperCat
Fast Inserter
Fast Inserter
Posts: 243
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: Struggle with waterpump mod

Post by BraveCaperCat »

jamiechi1 wrote: Wed Oct 30, 2024 8:10 pm
Silari wrote: Mon Oct 28, 2024 8:56 pm
jamiechi1 wrote: Mon Oct 28, 2024 8:10 pm Can the Stone Water Well mod be 'forked'. I have been using my locally modified version for years.
I don't see any licensing info on the mod page.
And Discussions are locked there as well. (There should be a law against this.)
I plan to update it for 2.0 and others might find this helpful.
Every mod has licensing terms shown as part of the block of info at the top, under Homepage. Per that, it's under the creative commons 3.0 license.
For some reason I never looked there. I expected to see a license file in the mod and a reference in the info.json file.
In any case, I got the mod ported to 2.0 late last night and it seems to work fine now. (Currently only tested on Nauvis.)

Anyone want to take it over and release it? The original mod owner Steinio disappeared and locked the discussions for this mod.
I have access to Github and can upload it there. I will Not use Discord. Don't ask why.
I'd want to take it over and release it!
Creator of multiple mods, including Quality Assurance - My most popular one. Expect multiple modding-related questions, answers and other posts.
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 266
Joined: Wed Jan 03, 2018 10:12 pm

Re: Struggle with waterpump mod

Post by jamiechi1 »

BraveCaperCat wrote: Thu Oct 31, 2024 1:36 pm
jamiechi1 wrote: Wed Oct 30, 2024 8:10 pm
Silari wrote: Mon Oct 28, 2024 8:56 pm
jamiechi1 wrote: Mon Oct 28, 2024 8:10 pm Can the Stone Water Well mod be 'forked'. I have been using my locally modified version for years.
I don't see any licensing info on the mod page.
And Discussions are locked there as well. (There should be a law against this.)
I plan to update it for 2.0 and others might find this helpful.
Every mod has licensing terms shown as part of the block of info at the top, under Homepage. Per that, it's under the creative commons 3.0 license.
For some reason I never looked there. I expected to see a license file in the mod and a reference in the info.json file.
In any case, I got the mod ported to 2.0 late last night and it seems to work fine now. (Currently only tested on Nauvis.)

Anyone want to take it over and release it? The original mod owner Steinio disappeared and locked the discussions for this mod.
I have access to Github and can upload it there. I will Not use Discord. Don't ask why.
I'd want to take it over and release it!
Read Only link to my latest code.
https://1drv.ms/u/c/01162d1530f5d466/Ed ... g?e=KttEbb
User avatar
BraveCaperCat
Fast Inserter
Fast Inserter
Posts: 243
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: Struggle with waterpump mod

Post by BraveCaperCat »

jamiechi1 wrote: Sat Nov 02, 2024 2:49 am
BraveCaperCat wrote: Thu Oct 31, 2024 1:36 pm
jamiechi1 wrote: Wed Oct 30, 2024 8:10 pm
Silari wrote: Mon Oct 28, 2024 8:56 pm
jamiechi1 wrote: Mon Oct 28, 2024 8:10 pm Can the Stone Water Well mod be 'forked'. I have been using my locally modified version for years.
I don't see any licensing info on the mod page.
And Discussions are locked there as well. (There should be a law against this.)
I plan to update it for 2.0 and others might find this helpful.
Every mod has licensing terms shown as part of the block of info at the top, under Homepage. Per that, it's under the creative commons 3.0 license.
For some reason I never looked there. I expected to see a license file in the mod and a reference in the info.json file.
In any case, I got the mod ported to 2.0 late last night and it seems to work fine now. (Currently only tested on Nauvis.)

Anyone want to take it over and release it? The original mod owner Steinio disappeared and locked the discussions for this mod.
I have access to Github and can upload it there. I will Not use Discord. Don't ask why.
I'd want to take it over and release it!
Read Only link to my latest code.
https://1drv.ms/u/c/01162d1530f5d466/Ed ... g?e=KttEbb
Stone Water Well 2 Repository
Creator of multiple mods, including Quality Assurance - My most popular one. Expect multiple modding-related questions, answers and other posts.
User avatar
BraveCaperCat
Fast Inserter
Fast Inserter
Posts: 243
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: Struggle with waterpump mod

Post by BraveCaperCat »

Did you already upload the mod to the mod portal? or is that another fork?
Creator of multiple mods, including Quality Assurance - My most popular one. Expect multiple modding-related questions, answers and other posts.
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 266
Joined: Wed Jan 03, 2018 10:12 pm

Re: Struggle with waterpump mod

Post by jamiechi1 »

I have never released any mods. It is an old modification I made to shrink the Water Well to 3x3 tiles, and fixed the graphics to insure the visible pipe inside was the same size as the pipes in the game. I think I made my version around 3 years ago.
My version originally based on https://mods.factorio.com/mod/StoneWaterWell version 18.4.
Post Reply

Return to “Modding discussion”