Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Automatic Dwarven Bathtub Ideas  (Read 4437 times)

NemoNihil

  • Bay Watcher
    • View Profile
Automatic Dwarven Bathtub Ideas
« on: September 19, 2016, 10:33:56 am »

Dear DF-Forumgoers,

I am currently in the process of making what I hope will be the ultimate dwarven mountainhome, with all the awesomness one might expect from such a place. So, as we all know, monarchs are filthy little things very picky about their surroundings (or so I like to think, despite what History tells us), so any dwarven king or queen would endorse the building of the device commonly known as a dwarven bathtub.

But the thing is: which is the best way of achieving such contraption in a way that it would automatically clean and refill itself when there aren't any dwarves nearby? Of course, I am willing to take dwarfputing courses, but I belive the monarch wouldn't be much pleased to know that the fortress is using these arcane arts; so, what's the simplest way I could do it?

(Do note that I've searched around, but I haven't been able to find any suggestion that got rid of contaminants by itself and refilled after it.)

Sorry for any inconvenience and thank you for your attention.
Logged

Sanctume

  • Bay Watcher
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #1 on: September 19, 2016, 10:44:33 am »

recent talk http://www.bay12forums.com/smf/index.php?topic=160263.msg7154731#msg7154731

waterfall into a drain is self cleaning?

Slogo

  • Bay Watcher
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #2 on: September 19, 2016, 01:25:38 pm »

The easiest bathtub concept I know of is simply having a 3/7 basin that dwarves have to walk through to get through your fortress. The water absorbs the dirt and leaves the dwarf clean. You could perhaps play with something like this:


Code: [Select]
P = Pump
~ Water (over a channel) at 3/7 depth.
# wall
. Floor
####
#~~#
#PP#
#PP#
.~~. (ramps here make this passable from left-right or right-left).
####

Where one pump pumps from South -> North and the other North -> South to keep the water running through pumps constantly and (hopefully) purifying the blood & dirt. Though I think more likely you will find that the blood just spreads and stays around instead of getting cleaned.

feelotraveller

  • Bay Watcher
  • (y-sqrt{|x|})^2+x^2=1
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #3 on: September 20, 2016, 06:09:00 am »

Not sure it is high on the splendour scale but I use a simple bathtub/mister combination at the entrance to my tavern.  (It's really a shower but don't tell my dwarfs  :D)

Simply a two stack pump which lets the water fall back 2 z-levels.  The lower pump draws from a single tile ramp.  I usually run it with 2/7 water cycling but you could probably add more.  Dwarfs are forced to walk across the ramp to get into the tavern.

Side view
R=ramp
P=pump
F=floor
O=open space
X=wall
?=your choice

OPPOX
OPPFX
RX???
« Last Edit: September 20, 2016, 06:13:08 am by feelotraveller »
Logged

Nagidal

  • Bay Watcher
    • View Profile
    • My gaming channel
Re: Automatic Dwarven Bathtub Ideas
« Reply #4 on: September 21, 2016, 01:59:33 am »

I like your shower. I think I will use two of them side by side, because the entrance to my tavern is two tiles wide.
Logged
I stream most of my DF sessions: gaming.youtube/nagidal146, they are archived on my youtube channel. (Dwarf Fortress Tutorials)

feelotraveller

  • Bay Watcher
  • (y-sqrt{|x|})^2+x^2=1
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #5 on: September 22, 2016, 12:01:10 am »

I like your shower. I think I will use two of them side by side, because the entrance to my tavern is two tiles wide.

That is just a basic design, can tweak it by placing fortications on the floor tile or whatever works in integrating it into the fortress.  :) 

With a two tile wide 'bath' the water depth gets unpredictable because of flow between pump activations.  Basically random disperal of water depths.  Did it once and it didn't seem to cause any problems but potentially could lead to pathing cancellations (4z water) or evaporation (1z) depending on pump sequence.  At the tavern entrance having the pumps separated by a one tile wall (so there are two single tile tubs) might be preferable. 
Logged

NonconsensualSurgery

  • Bay Watcher
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #6 on: September 22, 2016, 12:33:21 pm »

7 / 4 = 1.75

If the decontamination chamber is at least 4 wide then your unpressurized 7/7 source will automatically even out to walkable depth in the expansion chamber with basically zero chance of job cancellation. Even 1/7 water will remove contaminants if it still counts as "flowing".

You want a constant flow, and you want to point it such that contaminants flow away from the fortress entrance - an entering dwarf must walk upstream. Passing through either a floor grate or a pump will destroy all contaminants so it is safe to re-use this water further down.

The one I built is unnecessarily complicated, but a channel from an aquifer to a 4-wide entryway with a drain off the map is enough. With water falling from above you will also make mist. I have built my current fort such that every dwarf returning from either the surface or the mines is sparkling clean.
Logged
Never had a bat massacre people with an axe before.
EDIT2: Oh god, the bat has got a title now.

Sanctume

  • Bay Watcher
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #7 on: September 22, 2016, 02:34:45 pm »

Search for "Portable Drain" so you don't have to dig all the way to the map edge for draining.

WanderingKid

  • Bay Watcher
  • The Overfiend
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #8 on: September 22, 2016, 05:27:13 pm »

There are a few options for a cleanable bathing unit.  First is the flow plan, which uses pressure plates for water levels to open/close doors, some vertical/horizontal bars to make sure your drunks don't flow into the drainage system during a cycle, and other ideas.

Next you can use the dwarven shower, which is basically a mister system that flows across a heavily used hallway (I typically use the tavern/dining room) with some horizontal grates across the output.  Every now and then disassemble/reassemble the gates and it'll dump all that crap into the drainage system.  Works rather nicely for a nauseating dust I had for one of my major forts.  I should mention Aquifer or river works best for this, I prefer aquifers.

Finally there's the swim system, which I don't recommend but it's hysterical to watch.  But a massive cistern at the top of your fort.  Dump it through the fort.  Clean dwarves EVERYWHERE... and a pile of broken bodies at the bottom of the main stairway and all your magma furnaces are now obsidianized, but hey, it's fun. XD

Nagidal

  • Bay Watcher
    • View Profile
    • My gaming channel
Re: Automatic Dwarven Bathtub Ideas
« Reply #9 on: September 23, 2016, 02:35:43 am »

... but potentially could lead to pathing cancellations (4z water) or evaporation (1z) depending on pump sequence.  At the tavern entrance having the pumps separated by a one tile wall (so there are two single tile tubs) might be preferable.

Thank you for this insight, I'll consider this safer solution.
Logged
I stream most of my DF sessions: gaming.youtube/nagidal146, they are archived on my youtube channel. (Dwarf Fortress Tutorials)

Sanshiiuum

  • Escaped Lunatic
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #10 on: December 12, 2016, 09:58:10 pm »

Not sure how, but I think I've managed to create a self cleaning bathtub that doesn't involve some sort of convoluted misting device.
https://drive.google.com/file/d/0BxA6N_tmrHA3VXJQWUlzanVRdkk/view?usp=sharing (z 0)
^-this is the topmost layer. The pump pushes water from below into the two floodgates. The first floodgate opens while the second one remains shut, allowing 7/7 water to collect.
 
Then shut the first floodgate, close the floodgates allowing passage north from south through the tub (not shown in this image but there's one on the north and south side of the tubs, to prevent water from getting into my fortress). Now open the second floodgate to allow the 7/7 water into the 3 channeled tiles. This will give you three 2/7 tiles and one extra water bit that flows around atop them.
 At the farthest channeled tile is a hatch over up/down stairs to allow water to drain to the aquifer. (z -2) https://drive.google.com/file/d/0BxA6N_tmrHA3czVvUkRKTDA3VG8/view?usp=sharing
I haven't had to deal with anything but blood yet, but even when the blood smears to the walls, it eventually makes its way down into the drain, which just makes its way through the closed hatch without the water for... whatever reason. Dwarven physics, I'm assuming.

As of yet, I haven't drained the tub to wash it out because everything seems to be flowing down. Perhaps its created some sort of flow thats taking the contaminants down. I'm not sure at this point, but I'll post further results.
https://drive.google.com/file/d/0BxA6N_tmrHA3Rk9HRFBFYVlLNnc/view?usp=sharing Here the image of the first pump layer and the channeled tiles from the floor above. (z -1)
« Last Edit: December 12, 2016, 10:03:32 pm by Sanshiiuum »
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #11 on: December 13, 2016, 01:36:27 pm »

North-east of z0 screw pump is constructed wall, right?

The path outside the trench is 1-wide with trench being 3-wide Ramp & Ramp & Updown+Hatch, right?

As I understand,the floodgates are 1 z higher than trench - resulting in trench getting at most 5 units of water, not 7, as 1/7 would remain on floodgate and between-floodgate squares. However, past the first one toggle, there will be 2/7 water remaining down below.

Now, testing it out in 43.03, with giving one initial flow before installing hatch, for the 3/2/2 setup as described...And it works:
z99:


z100:


z101:


With windmill powering the two pumps.

(Blood provided thanks to minecarts)

What's interesting here is that just regular 3-wide trench with 2/2/3 water will have blood remain on the tile it was (when I've stationed dwarf inside trench and then pow'd them with a minecart).




As such, I suspect this is caused by either aquifer and/or flow remaining down after winding down to 1/7s and refilling. For testing those in that order, I will use the following setup:





(Stair squares are restricted, water was added via liquids plugin, minecart moved with autodump as needed)

A: Dwarf passed through center tile, and stored Fish Cleaner in the hospital

A and B both: Dwarf carried fisherdwarf through a trench, and blood got washed into the wall.

B: Dwarf passed through westmost tile to carry miner to hospital, and..remained still. 

End result of trenches:



Additional hypothesis: It might be that while flow and drain is both required, portable hole would work instead of aquifer:





Spattering deposited in...And remained still.



Well, until I toggled hatch. Then it got washed nicely into wall.



Retesting, with re-injuring dwarf (running out of them)...I think it didn't work.


(The water buffalo blood in center tile remained there.)

...Though side note: seems rain does wash it, unreliable as that may be. Reinjured buffalo and covered it up to double-check.
« Last Edit: December 13, 2016, 01:39:02 pm by Fleeting Frames »
Logged

Sanshiiuum

  • Escaped Lunatic
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #12 on: December 13, 2016, 09:08:42 pm »

North-east of z0 screw pump is constructed wall, right?

The path outside the trench is 1-wide with trench being 3-wide Ramp & Ramp & Updown+Hatch, right?

Yes and yes.

Coming back to it, it doesn't seem to be moving all too quickly. Its been almost 3 seasons since ive installed it with only a few uses (im building the tavern and temple on the other side of it. so far, only the building dwarves go in.) It seems to move.... really slow.

https://drive.google.com/file/d/0BxA6N_tmrHA3RFcwYmFMUTFlTTA/view?usp=sharing
This is how its sitting after about half a season in game. The yellow dot in the selected piece and the hatch.
Perhaps I was too quick to post.

I should also mention that Im using LNP for 43.03. That being said, DFhack isnt set to auto clean.



EDIT:

Well. Seems that dwarves will clean in 2 deep water. I still dont know how the contaminants got through the hatch (they are still under it).
And when they clean, they clean in a 3x3 area apparently. Which will clean walls. Apparently.

If I might suggest something for the next battery of tests... see what the maximum depth is where they will no longer clean something. Id be more apt to do it if I wasn't so new to this sort of thing.. its actually my first bathtub.
« Last Edit: December 13, 2016, 09:23:03 pm by Sanshiiuum »
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #13 on: December 13, 2016, 10:17:39 pm »

Oh no, I'm certain it works - it works because of permaflow. I tested, and map edge drain instead of aquifer to give that attribute to the trench will also work, even after you remove the water on the z-level below the hatch (the contaminants still go through the hatch to dry floor, amusingly). This is same system on how water wheel will remain working on dammed artificial river, or aquifer flow.

Though, I didn't particularly pay attention to how fast it moves other than "yes", when testing things at 1000 and 200 FPS. Either it varies....Or it might need resetting after restarting the save? Doubt it, but if the flow disappears reasonably easy to automate the reset with a water wheel.

PS: borked that last link. And they'll stop taking jobs in /going through 4/7 water. If you want to stop cleaning, make it above ground(/inside to prevent rain).

Sanshiiuum

  • Escaped Lunatic
    • View Profile
Re: Automatic Dwarven Bathtub Ideas
« Reply #14 on: December 14, 2016, 12:22:34 am »

Oh no, I'm certain it works - it works because of permaflow. I tested, and map edge drain instead of aquifer to give that attribute to the trench will also work, even after you remove the water on the z-level below the hatch (the contaminants still go through the hatch to dry floor, amusingly). This is same system on how water wheel will remain working on dammed artificial river, or aquifer flow.

Though, I didn't particularly pay attention to how fast it moves other than "yes", when testing things at 1000 and 200 FPS. Either it varies....Or it might need resetting after restarting the save? Doubt it, but if the flow disappears reasonably easy to automate the reset with a water wheel.

PS: borked that last link. And they'll stop taking jobs in /going through 4/7 water. If you want to stop cleaning, make it above ground(/inside to prevent rain).

Well, as long as it works to filter out the contaminants. Could be useful for something.

And yeah, I see that now. And thanks for the info. Explains one of my fortress deaths actually...

Logged