Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Moving a Submerged Artifact  (Read 1296 times)

Shazial

  • Bay Watcher
  • *hic*
    • View Profile
Moving a Submerged Artifact
« on: July 23, 2023, 08:39:57 am »

In my tutorial/testing fortress I uncovered an artifact. Problem is, I uncovered it while playing around with DFHack commands, especially dig-now. Thus said item is in the middle and at the bottom of a two-level subterranean ocean (Both sections of the sea are 7/7 water). Being the greedy dwarven overlord that I am, it would be lovely to retrieve it and put it on display.

Having accidently created this self imposed challenge, it's time to start planning for a small engineering project. For that I have a couple questions I couldn't find a good answer to: Do artifacts move with water pressure / flow of water or is that solely dependent on size and weight of the object? The item somewhat close to a wall (2 tiles away), so my first idea was to create a "sieve" with fortifications / bars / grates, floodgates, levers, and downward channeling.

Fortifications, bars and grates allow for fluids to pass by, but from what I've gathered they should stop animals, and items? (Outside of aquatic creatures, according to the Wiki). The wiki mentioned that items can be jammed or get stuck in fortifications, but that it can be fixed by removing and reconstructing the fortification. If such a situation occurs, does the item get destroyed, or does the fortification get broken down to its construction material plus the item stuck into it?

If using above mentioned constructions and goods for sieving the artifact from water doesn't work or risks it getting destroyed, my second idea is to flush it from the sea into an artificial lake that I can dry up and then retrieve it from the mud.

However, if artifacts can't move with water flow, I'll probably need to look into somehow damming a part of the sea and draining it to retrieve the item. The only idea I have for this would be to cause a controlled cave-in, since constructing in 7/7 water is impossible, if memory serves? Any ideas on how this could be achieved?

The ocean it self is connected to the edges of the map at multiple points so draining it completely would be nigh impossible, or at least one massive project that I dunno if I want to partake in.

Using DFHack would probably make that easy, making walls with magma etc., but I'm also taking it as a learning opportunity, since I don't often dabble in the liquid side of the game. I know it's a bit hypocritical since I gained this fortune while messing with the commands, but it's fun to try and solve the dilemma with the non-DFHack tools at hand as well. Sort of like a self made challenge.

Though, if my engineering seems quite impossible, is there another command outside of autodump that could be used to move the item? Artifacts cannot be marked for dumping so that command cannot be used.
Logged
I'm surrounded by lunatics who don't even need a moon.

Ulfarr

  • Bay Watcher
  • Going on a pilgrimage to Mars
    • View Profile
Re: Moving a Submerged Artifact
« Reply #1 on: July 23, 2023, 08:51:51 am »

I think damming a portion of the ocean with magma/obsidian is the best bet. I haven't done anything similar, so I'm not sure how well it's going to work but moving all that water seems unfeasible to me (fps drop, new water spawing from the map edges etc).
Logged
Bring Kobold Kamp to LNP! graphics compatibility fix.

So the conclusion I'm getting here is that we use QSPs because dwarves can't pilot submarines.

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Moving a Submerged Artifact
« Reply #2 on: July 23, 2023, 12:04:25 pm »

You'd need to drain the fortification to deconstruct it and retrieve the artifact, so I'm not sure that would help.

I'd obsidian cast or cave-in a setup like this:
77777777
7WWWWWW7
7WA777W7
7WWWWWW7
77777777


Where W = wall, A = artifact in water. Z-level above looks the same, without artifact. You can then pump out the water in the top level so you can build a second pump there.
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Re: Moving a Submerged Artifact
« Reply #3 on: July 24, 2023, 08:18:23 am »

[...] is there another command outside of autodump that could be used to move the item?  [...]

No worries, gotcha covered fam.

If you decide not to mess around with magma, cave-ins, or draining the ocean:

It just so happens that I've written a DFHack script that teleports items to a pedestal.  It's not quite finished, but it's functional.

Copy-paste this into a file named put-item-on-display.lua ; put that file in the dfhack-config/scripts/ subdirectory.




Now you have a DFHack command named put-item-on-display.

Optionally add these two lines to dfhack-config/init/dfhack.init :
keybinding add Ctrl-Shift-Z@dwarfmode/ViewSheets/ITEM "put-item-on-display"
keybinding add Ctrl-Shift-Z@dwarfmode/ViewSheets/BUILDING "put-item-on-display"
Logged

Shazial

  • Bay Watcher
  • *hic*
    • View Profile
Re: Moving a Submerged Artifact
« Reply #4 on: July 29, 2023, 01:59:56 am »

You'd need to drain the fortification to deconstruct it and retrieve the artifact, so I'm not sure that would help.

I'd obsidian cast or cave-in a setup like this:
77777777
7WWWWWW7
7WA777W7
7WWWWWW7
77777777


Where W = wall, A = artifact in water. Z-level above looks the same, without artifact. You can then pump out the water in the top level so you can build a second pump there.

A walling / cave-in might be the best option. What I personally had in mind was a sort of "self draining" fortification sieve.



A flood gate can be controlled with a lever, so I could leave it open to have the water flow down towards the pit so it would pull the artifact to the fortification, and once it's in place, the idea is that I could just close the flood gate and let the rest of the water flow down into the pit / reservoir, so the hallway dries up and I can then just remove the fortification and loot the goods. The connected T-hallway with the door would allow the Urists to come and go into the dry hallway.

The issue with my plan is that dunno if floodgates pass items and if the dwarves can hop over and open floodgate to mine out the last square of wet wall.

[...] is there another command outside of autodump that could be used to move the item?  [...]

No worries, gotcha covered fam.

If you decide not to mess around with magma, cave-ins, or draining the ocean:

It just so happens that I've written a DFHack script that teleports items to a pedestal.  It's not quite finished, but it's functional.

Copy-paste this into a file named put-item-on-display.lua ; put that file in the dfhack-config/scripts/ subdirectory.




Now you have a DFHack command named put-item-on-display.

Optionally add these two lines to dfhack-config/init/dfhack.init :
keybinding add Ctrl-Shift-Z@dwarfmode/ViewSheets/ITEM "put-item-on-display"
keybinding add Ctrl-Shift-Z@dwarfmode/ViewSheets/BUILDING "put-item-on-display"


Oh, that's awesome.  I'll need to test that out if my engineering plans go awry. :D
Logged
I'm surrounded by lunatics who don't even need a moon.

Salmeuk

  • Bay Watcher
    • View Profile
Re: Moving a Submerged Artifact
« Reply #5 on: July 29, 2023, 07:00:54 pm »

Quote
floodgates pass items

yeah they should. when 'open' they are like open doors in that regard

Quote
A flood gate can be controlled with a lever, so I could leave it open to have the water flow down towards the pit so it would pull the artifact to the fortification, and once it's in place, the idea is that I could just close the flood gate and let the rest of the water flow down into the pit / reservoir, so the hallway dries up and I can then just remove the fortification and loot the goods. The connected T-hallway with the door would allow the Urists to come and go into the dry hallway.

tbh I'm not certain that the water flow will definitely carry your artifact inward, but it is worth a try. the thing about large bodies of water is that the flow can be super chaotic.

you might find that the rate of exit flow provided by a single tile passageway / drain is insufficient to bring the artifact closer, due to the effect of a bottleneck. making this setup two tiles wide may improve your chances. but again, this is not a scientific statement and I'm sure others might be able to correct me here.

you mention this underground sea is two z-levels tall. a manufactured cave-in is fairly annoying to designate but as long as you are precise there is little danger. let me know if you need help setting one up. I think there are tutorials on the wiki. the idea is to isolate your intended plug from the natural stone, excluding one point of connectivity, then channeling or collapsing that point, dropping the plug into the water. As long as the tiles you drop were natural and not something constructed wall, it will remain as a tile and not turn into the stone object, thus creating a wall directly below the position it was dropped. there are quite a few uses for this technique, from trapping invading forgotten beasts to bringing massive amounts of magma up from the bottom of the map instantly, so it is worth learning!

if the object is magma safe you can just flood the place with magma and dig the artifact out later. sometimes stupid simple is the best route.

have you thought about tunneling from underneath, with some kind of dwarven emergency catchement area to keep the miner alive as the sea drains from above?

« Last Edit: July 29, 2023, 07:03:39 pm by Salmeuk »
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Moving a Submerged Artifact
« Reply #6 on: July 30, 2023, 05:59:51 pm »

pull the artifact to the fortification, and once it's in place, the idea is that I could just close the flood gate and let the rest of the water flow down into the pit / reservoir, so the hallway dries up and I can then just remove the fortification and loot the goods.

You should be using a floor grate over the pit, then. Fortifications won't stop the artifact from being swept through them.
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

thefinn

  • Bay Watcher
    • View Profile
Re: Moving a Submerged Artifact
« Reply #7 on: July 30, 2023, 10:07:04 pm »

I have had this issue for YEARS whereby I cannot get dead dwarves out of the single level river (along with their gear).

So I'd love to see a solution to this one.
Logged

eerr

  • Bay Watcher
    • View Profile
Re: Moving a Submerged Artifact
« Reply #8 on: August 03, 2023, 01:38:40 pm »

Oh that? careful use of screw pumps works just fine. You'll need to find a place for the water though.

I would advise you to build the screw pumps 'opposite' the side of the river your fortress is on. Just in case.
The water's movement will naturally push the unfortunate sop towards the screw pumps,
and then all you need to retrieve him is a ramp and an open coffin or stockpile.
Then you would unforbid the body and let the dwarves collect it.
Logged

DerpFortress

  • Bay Watcher
    • View Profile
Re: Moving a Submerged Artifact
« Reply #9 on: August 12, 2023, 11:22:44 pm »

I have had this issue for YEARS whereby I cannot get dead dwarves out of the single level river (along with their gear).

So I'd love to see a solution to this one.

Not sure if it works on artifacts, but if you're using DFhack, marking the items for dumping then using autodump on an accessible tile works nicely.

If that's not your cup of tea, you could set up a tunnel with a (linked) floodgate, to a tile diagonally adjacent (to stop pressure shenanigans) to the tile that's directly under your desired items. Then carve a ramp up to the items. They should fall down the ramp, get pushed by water flow through the diagonal path, then you can close the floodgate once they're through. Much easier to drain a tunnel than the whole ocean. In fact, if your tunnel is long enough and the items get pushed through fast enough, you might not get enough water in it to need to do anything other than wait for it to dry out on its own. Won't work on stuff that's on the edge of the map, though, since you can't dig there. Also won't work on some older versions, IIRC water pushing items wasn't a from-the-beginning-of-development thing.

Logged