Project Zomboid

Project Zomboid

Immersive Solar Arrays (v41, GitHub reupload)
Kazali Oct 27, 2023 @ 8:17am
Possible help for new mod
To keep it simple and short:
I wanted to see if there is a solution to the plumbing problem of pz (a sink, post water shutoff, only works, when it has a rainbarrel at the floor above it and in an 3x3 grid.)
I wanted to see if I could make a mod where those numbers can be tweaked in a sandbox option for tile size and perhaps floor number.

As a reference, I wanted to use your mod (since the connecting and detection from a solar panel to the battery bank seemed similar. Just that one was water and the other electricity)
I dug up a little bit in your code, trying to figure out how you did what. Obviously for a beginner, such as myself, it was overwhelming. If you could, somehow, explain how you calculated what battery bank and solar part gets connected together and all, that would be awesome. I was looking at coordinates and found things like 'square' and perhaps coordinates (x,y,z), but ultimately had no clue, where you got those information out from.

If this is out of your league as well, I understand this. Simply asking if help is possible at all.

PS:
If there is already a mod that does such things, then that would be my mistake. I just remember to have read in the 'Irrigation pipes for farming and water supply [B41+]' mod, that sinks and washing machines still need to be connected via the vanilla way. So obviously not my solution.

Of course if this idea for a new mod, that doesn't seem to exist yet, has peaked your interest, I think that is worthy of a new mod. (So long you are not overloaded with the ISA mod already.)
In any case, I hope that this problem gets solved one way or another.

I hope to hear good news soon and wish you a good time.

-A (hopefully) new modder (maybe)