Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: A simple script to remove/restore aquifer (made in powershell)  (Read 1425 times)

humblegar

  • Bay Watcher
    • View Profile

Aquifer powershell script

What is it?
I made a simple powershell script to recursively remove/restore aquifer in raws. The wiki page (here) only has a command-line solution for linux. One should at least be familiar with the concepts described there before running this script.

How do I use it?
If you look at the screenshot I run one command to remove the aquifer and another one to restore it for my "Metalabyss" region. The default setting is to remove the aquifer.

It will recursively look for 'inorganic_stone_mineral.txt', 'inorganic_stone_layer.txt' and inorganic_stone_soil.txt' based on the supplied path. I suggest targetting a specific save/region like the example.

If you use your Dwarf Fortress folder as path it will alter the raws located there and all your saves.



Any disclaimers?
As with any mod, please back up your files first!

Where to download?
Download from dropbox.

Any requirements
You need powershell installed, and know how to run a script or ask here/google for it.

Feedback welcome  8)
« Last Edit: April 02, 2012, 03:26:46 am by humblegar »
Logged