Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [33g] Water fuzzy math  (Read 418 times)

Shadowlord

  • Bay Watcher
    • View Profile
[33g] Water fuzzy math
« on: January 02, 2008, 11:08:00 pm »

I built a 3x3 room which a pump on the same level filled to 7/7. The pump was then disabled (actually I blocked its source with a hatch). When I let the 9 tiles of 7/7 water fall down a hole (in the center of the room, which was blocked by a hatch), it filled all 11 tiles to 7/7, and left 5 tiles up top at 2/7 and 4 tiles at 1/7. It appears that I generated 28 units of water (4 whole 7/7 tiles)...

Here's the top floor, top-down view:

code:

##D##
#   #
@@ H D
#   #
##D##


D is a locked door, H is the hatch over a channel, @@ is the pump which pumps from the west to the east.

Side view of the levels below the hatch, with the hatch presented as an H:

code:

#H###
# # #
# # #
# # #
# # #
#   #
#####

(The purpose of this construction was to see if the water would obtain equal heights on both sides once it had all fallen in, or if it would end up higher on one side or the other.)


P.S. There were no rocks or other objects anywhere in any of those tiles.

Edit: I dug out some more tiles below, and added an opening to the surface to see if it was infinite, and then repeated the experiment, and ended up with the 9 tiles of 7/7 water changing into enough water to fill 13 tiles (if you count the 1/7 tiles left up top):

Top:

code:

##D##
#111#
@@1.1D
#111#
##D##

Side:

code:

#.###.#
#6#   #
#7#7###
#7#7#
#7#7#
#7#7#
#777#
#####

Movie of the second test: http://mkv25.net/dfma/movie-276-fuzzywater

[ January 02, 2008: Message edited by: Shadowlord ]

Logged
<Dakkan> There are human laws, and then there are laws of physics. I don't bike in the city because of the second.
Dwarf Fortress Map Archive

Tahin

  • Bay Watcher
    • View Profile
Re: [33g] Water fuzzy math
« Reply #1 on: January 03, 2008, 12:44:00 am »

There have been reports that water pressure around a "U" bend creates infinite water. I believe that's what's happening there.
Logged

Shadowlord

  • Bay Watcher
    • View Profile
Re: [33g] Water fuzzy math
« Reply #2 on: January 03, 2008, 12:45:00 am »

Except that this did not create infinite water.  ;)
Logged
<Dakkan> There are human laws, and then there are laws of physics. I don't bike in the city because of the second.
Dwarf Fortress Map Archive

Anjey aka PM

  • Bay Watcher
    • View Profile
Re: [33g] Water fuzzy math
« Reply #3 on: January 03, 2008, 09:40:00 am »

quote:
Originally posted by Shadowlord:
<STRONG>Except that this did not create infinite water.   ;)</STRONG>

Try to dig into it from below before saying so.

Logged
he greatest programming project of all took six days; on the seventh day the programmer rested. We''ve been trying to debug the *&^%$#@ thing ever since. Moral: design before you implement.