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.

Difference between revisions of "User:Otherdwarf"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Replacing page with 'My talk page')
Line 1: Line 1:
 
My talk page
 
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
 

Revision as of 20:47, 25 March 2008

My talk page