Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 16 17 [18]

Author Topic: Water / magma submarine  (Read 110071 times)

Nonsequitorian

  • Bay Watcher
  • Needs alcohol to get through the day.
    • View Profile
Re: Water / magma submarine
« Reply #255 on: April 25, 2012, 07:46:37 pm »

Absolutely everything gets destroyed? Wow. What if the sub had a secondary floor separated from the bottom with water, would the water not obsidianize?

biomatter

  • Bay Watcher
  • crying in the corner
    • View Profile
Re: Water / magma submarine
« Reply #256 on: April 25, 2012, 07:57:13 pm »

You just re-created "The Core" in Dwarf Fortress. I think Einstein, Freud, and Newton just simultaneously rolled over.
Considering the general state of DF, I think Einstein and Newton are already rotating fast enough that you could hook them up to pumps and use them to kill Elves.

Oh man, oh man, that is going in a signature somewhere. Probably mine.

Edit: Geez, this is a pretty old thread. I feel like a Necromancer's undead servant.
Logged
Now you will know why you fear the night!

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Water / magma submarine
« Reply #257 on: April 25, 2012, 08:00:20 pm »

A few things need to be kept in mind when considering the hypothetical magma submarine.

Firstly, not all parts of the submarine will fall at the same time.  Floors, walls, and other constructions fall instantly - they aren't in mid-air for any amount of time, but instead go from where they were at the moment they lost support to the ground instantly.  As they fall, they destroy any items or creatures in the way, and displace water or magma upwards.  Next, all creatures and items fall at a fixed rate of 1 Z-level every 6 ticks.  Finally, water and magma falls at a slower, pseudo-random rate.

Secondly, Dwarf Fortress has no notion of tiles that are connected to each other but not supported by the surrounding terrain.  Constructions are either supported by the surrounding terrain, or not connected.  A mass of walls and floors released from surrounding terrain don't fall as a single block.  They fall as individual walls and tiles, with each one's fall being calculated independent of the rest of the falling mass.

So, let's say you have a hypothetical magma submarine containing floors, walls, water, and dwarves.  You build it above the magma sea, and then release it.  First thing that happens is that the game will one by one move each floor or wall tile downward until it hits the semi-molten rock.  Dwarves in the way will be annihilated.  Water in the way will be pushed upwards, displaced by the falling walls.  As each tile hits the semi-molten rock, it will be destroyed.

Secondly, any dwarves which somehow survived the cave-in will start falling.  This can only happen if the submarine had an open top, since any roof on the submarine will destroy any creatures in the way.  The water will also start falling, but it will fall at about half the rate of the falling dwarves, so they'll hit the SMR first even if they started out above the water.  Of course, they'll be killed by the fall and the magma.

Finally, the water will land on the magma, and form obsidian.  Obsidian tiles which form adjacent to solid, supported land will stick in place, unless they're directly above the SMR, in which case they'll be destroyed.  Obsidian tiles which aren't supported will fall into the SMR and be destroyed.  Because the water will fall with a pseudo-random pattern, the resulting solid obsidian sheet, if any, will be irregular and unpredictable in shape and extent.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.
Pages: 1 ... 16 17 [18]