v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing User:Otherdwarf
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
+ | My talk page | ||
+ | an autohotkey script for exploratory mineshafts: | ||
+ | |||
+ | <br clear="both" /> | ||
+ | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
+ | ; mineshaft.ahk ; | ||
+ | ; this is a ahk script to place exploratory mine shafts. ; | ||
+ | ; press d and place the cursor ; | ||
+ | ; in the top right corner of the area to be explored ; | ||
+ | ; then use ctrl+s to run ; | ||
+ | ; ; | ||
+ | ; NOTE: ; | ||
+ | ; change variables x, y and depth to suit your conditions ; | ||
+ | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
+ | |||
+ | x = 2 ;number of shafts to be placed in the x and y axis | ||
+ | y = 2 | ||
+ | depth = 14 ;depth of each shaft (number of levels to be explored below current level) | ||
+ | |||
+ | ^s:: | ||
+ | loop %x%{ | ||
+ | loop %y%{ | ||
+ | Send j ;select down stair | ||
+ | Send {Enter} | ||
+ | Send {Enter} ;place it | ||
+ | Send i ;select up-down stair | ||
+ | Send +. ;down(one level) | ||
+ | Loop % depth-1{ ;change here if other fort | ||
+ | Send {Enter} | ||
+ | Send {Enter} ;place the stair | ||
+ | Send +. ;down (one level) | ||
+ | } | ||
+ | Send u ;select upward stair | ||
+ | Send {Enter} | ||
+ | Send {Enter} ;place it | ||
+ | loop %depth%{ ;move to original level | ||
+ | Send +, ;up (one level) | ||
+ | } | ||
+ | Send {down} | ||
+ | Send {down} | ||
+ | Send {down} | ||
+ | } | ||
+ | loop %y%{ | ||
+ | Send {up} | ||
+ | Send {up} | ||
+ | Send {up} | ||
+ | } | ||
+ | Send {right} | ||
+ | Send {right} | ||
+ | Send {right} | ||
+ | } | ||
+ | return |