Prison Architect

Prison Architect

Polder Pump Mod
25 Comments
Darmagon 30 May, 2022 @ 3:33pm 
One way to create a circle is to
1: Select all water tiles

2: Use "sqrt(x^2+y^2)=distance"
"sqrt()" Square root
"x" Difference in x position between tile and pump
"y" Difference in y position between tile and pump
"^2" Squared, To the power of two

3: Select tile that returns smallest value
Eep² 6 Mar, 2022 @ 1:20pm 
Sump pump?
Etheiy 29 Jun, 2021 @ 4:41am 
Has anyone been able to get this mod working recently?
It doesn't seem to do anything for me at the moment, and I'm not sure if it's something I've done wrong or just the mod being outdated or incompatible with DLC or something..
MeDerp 3 Jul, 2020 @ 7:58am 
thank you, I placed water in my prison and prisoners started drowning in it, this helped me get rid of it
Spartelfant  [author] 27 Nov, 2018 @ 1:37pm 
Funny you should mention that about the circle, because that's exactly one of the things I've been busy implementing! I did not like the square but I have to admit I spent a decent amount of time on finding a way to fit concentric circles onto PA's grid of squares.
As for the manual switching, that's an interesting thing to add as well. Though with the current amount of feature creep going on combined with a lot of RL stuff demanding my time it's probably going to be a while before release yet.
Either way thanks for sharing your ideas, I appreciate it!
Darmagon 19 Nov, 2018 @ 12:06pm 
also an idea to reduce lag is to make the polder pump just look for the closest water tile and destroy it, therefore making the pump more gradual, more balanced, and actually pump an expanding circle instead of a square. additionally, try making it act like a power station so it can manually be switched on and off. that's just my feedback, still a really usefull item!
Spartelfant  [author] 19 Nov, 2018 @ 12:43am 
@Darmagon Glad to hear you got it working and thanks for taking the time to let me know :guard:
Darmagon 18 Nov, 2018 @ 1:44pm 
ok thank you I didn't know about the mod activating in game step thingy
Spartelfant  [author] 18 Nov, 2018 @ 9:38am 
@Darmagon I've just checked with the most recent version of Prison Architect (v2.0-14k) and the current version of the mod (v1.2-13j) works fine for me.

Once you've subscribed to the mod, you may need to close and relaunch the game. Then make sure the mod is active: from the game's Main Menu, click Extras, click Mods, tick the box in front of this mod, then click Apply.

If you've done all that, the Polder Pump should appear in the Objects menu. If you have multiple mods it is possible they interfere with each other, which could lead to the Polder Pump missing its graphics. Though even without its graphics it should still appear in the Objects menu by name, it may just have a different icon or none at all.
Darmagon 16 Nov, 2018 @ 7:01pm 
I cannot find it in any category, did I install the mod incorrectly or something? I just did the normal workshop download process of hitting subscribe and restarting my game...
Spartelfant  [author] 24 Jul, 2018 @ 5:43pm 
This mod doesn't currently require an update, it works fine for game version 14k.

I have noted that in some cases (large map and / or lots of water and / or lots of NPCs) the game can cause the game to lag a bit every time the pump replaces an area of water with mud. For obvious reasons this is more noticeable on slower hardware, like the Core2Duo 2.2GHz laptop I sometimes play on. I suppose it isn't that big of an issue since there've been no complaints about it. Still, I am currently rewriting this mod's code in an attempt to improve its performance as well as reduce its memory usage somewhat.

If you have experienced lag caused by this mod please let me know. Any details you could provide would also help (number of NPCs, size of the map, size of the water, or perhaps a link to your prison). Be sure to also include some system specs (CPU & RAM are most important).
Spartelfant  [author] 16 May, 2018 @ 5:54am 
v1.2-13j
- Updated for game version 13j
Spartelfant  [author] 26 Aug, 2016 @ 12:32pm 
v1.1.2.0c
- Updated for game version 2.0c
Spartelfant  [author] 16 Jul, 2016 @ 3:25am 
v1.1.7c
- Added game version to end of mod's version number so you can easily tell if this mod is up to date or not
- The pump now generates heat (same as the water pump, 21 C / 70 F)
- I kept the pump in the Objects menu, because putting it in Utilities will make placement more difficult and when selecting any other utility (cables, pipes) the pump will not be visible. Also it is still not possible to require an electrical or water pipe connection so at this point I find it more practical to have it remain in the Objects menu.
jonasthetrex 14 Apr, 2016 @ 7:17am 
needs to be utility
Spartelfant  [author] 31 Jan, 2016 @ 8:32am 
Nandhii, most likely you have another mod that also uses custom sprites. The only way to add custom sprites (or replace existing ones) with a mod is to either include edited gamefiles (which will break things unless the mod and the game are the exact same version) or as a separate file (which I did). However, the game will currently only accept one of those files. So if multiple mods use custom sprites, they will overwrite each other and only the mod that was loaded last will have its proper sprites.
X.P.M.T 29 Jan, 2016 @ 4:29pm 
got sprite error while using it u too or just me :/?
cswheele 26 Jan, 2016 @ 5:48pm 
you are misunderstanding this one moves the lakes in the map to the edges
Sir. Zane 19 Jan, 2016 @ 11:53am 
i mean like one that can only be place by water
Spartelfant  [author] 18 Jan, 2016 @ 8:14am 
ceb361, not sure I understand what you mean. A pump that doesn't drain water from the map and provides water for the prison sounds exactly like the default pump that's already in the game.
Sir. Zane 17 Jan, 2016 @ 2:44pm 
could you make another version the provides water for the prison but doesnt drain the lakes
Spartelfant  [author] 14 Jan, 2016 @ 3:02pm 
My Sandbox Mod (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=559998137) allows you - among other things - to add water wherever you please.
girlcow moment 11 Jan, 2016 @ 3:08pm 
Could there be a reverse one that allows you to create water?
Vinyl 8 Jan, 2016 @ 1:24pm 
I see evrey dutch user instaling this mod :steamhappy:
Brento666 5 Jan, 2016 @ 12:06pm 
Excellent idea! Have not (yet) tried it, but being from the Netherlands myself, I'd love pump some polders!! :steammocking: