Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000949Dwarf FortressAdventure Mode -- Movementpublic2010-04-10 15:122016-05-18 13:11
Toady One 
0000949: Can't dive/surface in water deeper than 2 Z-levels
When swimming through a lake, I have discovered that if you try to dive down ('>') and the water is deeper than 2 Z-levels, it won't do anything. When I attempt to dive under in 2 Z-level depth water, it works fine. There are also problems with surfacing using '<' if you are below 2 Z-levels of water.
Find a deep lake and swim over to a spot that is deeper than 2 Z-levels of water. If you hang out at the ramp-edge, you can test all the movement combinations like I did in the Additional Information.
When I walked up to the edge going down from the second Z-level to the third Z-level, I am blocked from moving swimming above the ramp. If I do an alt-move, I am presented with three options: [direction]-above, [direction] and [direction]-below. All three of these options work correctly.

If I choose to move [direction]-below, then I cannot surface ('<'), but I can move normally on the same (3rd) Z-level. If I chose [direction], then I can use '<' to surface, but I cannot use '>' to dive down. If I chose [direction]-above, I am at the surface and cannot dive down using
'<' at all.

(Untested) I don't know if the first Z-level of water stops you from falling. If not, this means that if you fell into water deeper than 2 Z-levels of water, your character couldn't swim up unless you find a ramp to 2 Z-level deep water in time...
adventure mode, Movement, ramps, swimming, water
Issue History
2010-04-10 15:12emperorbmaNew Issue
2010-04-10 15:17emperorbmaTag Attached: adventure mode
2010-04-10 15:17emperorbmaTag Attached: water
2010-04-10 15:18emperorbmaTag Attached: Movement
2010-04-10 15:18emperorbmaTag Attached: ramps
2010-04-10 15:19emperorbmaTag Attached: swimming
2010-04-10 15:20emperorbmaNote Added: 0002655
2010-04-12 10:23emperorbmaNote Added: 0003075
2010-04-12 10:24emperorbmaNote Edited: 0003075bug_revision_view_page.php?bugnote_id=0003075#r994
2010-04-12 10:27smjjamesNote Added: 0003078
2010-04-12 17:19emperorbmaNote Added: 0003160
2010-06-29 11:16RetroIssue Monitored: Retro
2011-02-25 13:24uioped1Note Added: 0015505
2011-02-25 13:26uioped1Note Edited: 0015505bug_revision_view_page.php?bugnote_id=0015505#r5840
2011-02-25 13:35uioped1Issue Monitored: uioped1
2014-11-28 13:09JayJayForceNote Added: 0031214
2014-11-28 14:46FootkerchiefAssigned To => Footkerchief
2014-11-28 14:46FootkerchiefStatusnew => confirmed
2016-05-18 13:11Toady OneStatusconfirmed => resolved
2016-05-18 13:11Toady OneFixed in Version => Next Version
2016-05-18 13:11Toady OneResolutionopen => fixed
2016-05-18 13:11Toady OneAssigned ToFootkerchief => Toady One

2010-04-10 15:20   
>If I chose [direction], then I can use '<' to surface, but I cannot use '>' to dive down.

A correction: yes, you can use '>' or '<' normally if you are on the second Z-level.
2010-04-12 10:23   
(edited on: 2010-04-12 10:24)
Another thing I noticed is that if you have an air tile above the water you are swimming in and try to swim into a water tile that doesn't have air above it (this example, I was swimming in an underground cavern), it blocks you with no message. I think this is intentional, but it is probably related to the above bug.

What it should do in the cave would be to give a prompt: "You are swimming into a cavern with no air pockets. Do you really want to continue?" If you are underwater already, it shouldn't care...

2010-04-12 10:27   
Did you try using the alt key plus the > or whatever?
2010-04-12 17:19   
@smjjames: Did you try using the alt key plus the > or whatever?

Yeah, tried that. They both do nothing as far as I can tell.
2011-02-25 13:24   
(edited on: 2011-02-25 13:26)
It seems if you have no swimming skill in the most recent versions (.19 and previous) you cannot escape from water using ramps while drowning. Also, moving carefully down a ramp (alt direction to the down ramp, select direction/below) into water stuns you.

A couple versions previously (with swimming skill), I was able to swim down, but not swim back up.

2014-11-28 13:09   
Tested and confirmed for 0.40.19

As a Grand Master swimmer I could use a ramp to automatically move down to the 2nd underwater Z level and use it to go back up again. I could not dive underwater from the surface above 3 levels of water. I could also not surface from the 2nd underwater level without using the ramps.