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:DDR"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Added curses + markvii tileset.)
Line 21: Line 21:
  
 
===Dwarf Fortress General AHK Script===
 
===Dwarf Fortress General AHK Script===
These AutoHotKey scripts (ahk scripts) contains hotkeys that automate some repetitive tasks, such as selecting trade goods and designating 100 z-levels of up/down stairs. If any problem or key conflicts are encountered, please leave me a message on the talk page. If you wish a new hotkey, you ''may'' leave me a message on the talk page.
+
These AutoHotKey scripts (ahk scripts) contains hotkeys that automate some repetitive tasks, such as selecting trade goods and designating 100 z-levels of up/down stairs. If any problem or key conflicts are encountered, please leave me a message on the talk page. If you wish a new hotkey, you can leave me a message on the talk page.
  
 
====The gettage of AHK and this Script (for beginners):====
 
====The gettage of AHK and this Script (for beginners):====
Line 41: Line 41:
 
; Platform: WinXP
 
; Platform: WinXP
 
; Author: D. D. Roberts <robertsdavidddr@gmail.com>
 
; Author: D. D. Roberts <robertsdavidddr@gmail.com>
; Version: 4
+
; Version: 6
 
;
 
;
; Script Function:
+
; Script Keys:
; This script is a collection of hotkeys that make playing Dwarf Fortress (fortress mode) much, much faster.
+
; These keys aim to speed up the playing of Dwarf Fortress by automating some simple tasks, like laying out walls and digging quarters.
;
+
; . . . . . .
; Help:
+
; Build: . . . .
; alt <, > . . . - Move up or down ten levels. Very handy for 150 z-level forts. (Or, alt-shift-,, ..)
+
;~ w + arrow key . . Position a single wall segment. Hold w and an arrow key to build that wall and advance a tile.
; ctrl enter . . . - Enter select, and advance the cursor with the down arrow key.
+
; . . . . . .
; ctrl number pad plus. - Enter select, and advance the cursor with the number pad plus key.
+
; Designate: . . .
; ctrl i . . . . - Designate a 2x2 up/down staircase and advance one level deeper. Start: Upper left corner. Dig mode, up/down staircase selected.
+
; ctrl i . . . . Designate a 2x2 up/down staircase and advance one level deeper. Start: Upper left corner. Dig mode, up/down staircase selected.
; ctrl q . . . . - Dig quarters bloc. 3x3 rooms, ((8 rooms in 2x4 grid) on hallway) x4. 2x2 up/down stairway in center. Start: Upper left corner of future stairway, dig mode.
+
; ctrl q . . . . Dig quarters bloc. 3x3 rooms, ((8 rooms in 2x4 grid) on hallway) x4. 2x2 up/down stairway in center. Start: Upper left corner of future stairway, dig mode.
; alt q . . . . - Same as above, but rotated by 90 degrees cw.
+
; alt q . . . . Same as above, but rotated by 90 degrees cw.
; alt l . . . . - Dig an industry bloc. Digs 4 9x9 rooms, with 2-wide passages surrounding all four sides of the rooms. Up/down stairs are dug at passage intersections. Start: Upper right corner, dig mode.
+
; alt l . . . . Dig an industry bloc. Digs 4 9x9 rooms, with 2-wide passages surrounding all four sides of the rooms. Up/down stairs are dug at passage intersections. Start: Upper right corner, dig mode.
; ctrl f . . . . - Fill 2x4 quarters grid with furniture. Graceful failure. Start: Highlight furniture, enter, position furniture in top left room.
+
; alt ; . . . . Dig only one 9x9 room, otherwise like above.
; alt f . . . . - Same as above, but rotated by 90 degrees cw.
+
; alt d . . . . Dig a double spiral staircase down, filled style. Center cursor to start.
; ctrl a . . . . - Make the above furniture into a room. Start: Press q to view the furniture you want to make the room from.
+
; ctrl d . . . . Dig an industrial 9x9 room, but leave the central 3x3 square undesignated.
; alt a . . . . - Same as above, but rotated by 90 degrees cw.
+
; ctrl t . . . . Designate a 3x3 embark square, 2 z-levels, for felling.
; ctrl o . . . . - Designates an industrial block (ctrl-l) with pathing zones. Start: d, o, choose cost, cursor in upper right stairs.
+
;~ f + numpad . . . Designate a fern-style quarters block for digging in the direction of the arrow key. up:89 - right:63 - down:21 - left:47
; alt c . . . . - Build a row of furniture (useful for coffins). Start: Highlight furniture, enter, position furniture.
+
; . . . . . .
; ctrl b . . . . - Toggle a row (see above) of coffins for burial use. Start: q, highlight upper-leftmost coffin.
+
; Furnish & Room: . .
; alt number pad plus . - Press keys tiq+. For use selecting squads to train at a barraks.
+
; ctrl f . . . . Fill 2x4 quarters grid with furniture. Graceful failure. Start: Highlight furniture, enter, position furniture in top left room.
; g right . . . . - Position a floor grate. Press g and right arrow key to build that grate and position a floor grate to the right of the first grate.
+
; alt f . . . . Same as above, but rotated by 90 degrees cw.
 +
; ctrl a . . . . Make the above furniture into a room. Start: Press q to view the furniture you want to make the room from.
 +
; alt a . . . . Same as above, but rotated by 90 degrees cw.
 +
; alt c . . . . Build a row of furniture (useful for coffins). Start: Highlight furniture, enter, position furniture.
 +
; ctrl b . . . . Toggle a row (see above) of coffins for burial use. Start: q, highlight upper-leftmost coffin.
 +
; alt number pad plus . Press keys tiq+. For use selecting squads to train at a baracks.
 +
;~ g + arrow key . . Position a floor grate. Press g and {direction} arrow key to build that grate and position a floor grate to the {direction} of the first grate.
 +
; . . . . . .
 +
; List Selection: . .
 +
; ctrl enter . . . Enter select, and advance the cursor with the down arrow key.
 +
; ctrl number pad plus. Enter select, and advance the cursor with the number pad plus key.
 +
; . . . . . .
 +
; Move Camera: . .
 +
; alt <, > . . . Move up or down ten levels. Very handy for 150 z-level forts. (Or, alt-shift-,, ..)
 +
; . . . . . .
 +
; Zones: . . . .
 +
; ctrl o . . . . Designates an industrial block (alt-l) with pathing zones. Start: d, o, choose cost, cursor in upper right stairs.
 +
  
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
+
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
+
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
 
SetKeydelay, 20
 
SetKeydelay, 20
  
Line 71: Line 88:
  
 
#IfWinActive Dwarf Fortress
 
#IfWinActive Dwarf Fortress
 +
  
  
Line 111: Line 129:
 
Send, {SHIFTDOWN}{RIGHT}{RIGHT}{DOWN}{SHIFTUP}3333366{ENTER}{ENTER}{LEFT}{UP}{ENTER}{SHIFTDOWN}{LEFT}{UP}{SHIFTUP}{ENTER}7{ENTER}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{ENTER}{ENTER}111111111111{ENTER}{ENTER} ; dig se room
 
Send, {SHIFTDOWN}{RIGHT}{RIGHT}{DOWN}{SHIFTUP}3333366{ENTER}{ENTER}{LEFT}{UP}{ENTER}{SHIFTDOWN}{LEFT}{UP}{SHIFTUP}{ENTER}7{ENTER}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{ENTER}{ENTER}111111111111{ENTER}{ENTER} ; dig se room
 
Send, {LEFT}{LEFT}{LEFT}{ENTER}{ENTER}{LEFT}{UP}{ENTER}{SHIFTDOWN}{LEFT}{UP}{SHIFTUP}{ENTER}7{ENTER}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{ENTER}{ENTER}111111111111{ENTER}{ENTER}99999999999999999999999999999{SHIFTDOWN}.{SHIFTUP} ; dig sw room
 
Send, {LEFT}{LEFT}{LEFT}{ENTER}{ENTER}{LEFT}{UP}{ENTER}{SHIFTDOWN}{LEFT}{UP}{SHIFTUP}{ENTER}7{ENTER}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{ENTER}{ENTER}111111111111{ENTER}{ENTER}99999999999999999999999999999{SHIFTDOWN}.{SHIFTUP} ; dig sw room
 +
Return
 +
 +
!;::
 +
Send, i{ENTER}{LEFT}{DOWN}{ENTER}d{DOWN}{ENTER}{SHIFTDOWN}{DOWN}{SHIFTUP}{RIGHT}{DOWN}{DOWN}{ENTER}{DOWN}i{ENTER}{DOWN}{LEFT}{ENTER}d{UP}{LEFT}{UP}{ENTER}{ENTER}{DOWN}{ENTER}{SHIFTDOWN}{LEFT}{SHIFTUP}{LEFT}{LEFT}{DOWN}{ENTER}{LEFT}{LEFT}i{ENTER}{UP}{RIGHT}{ENTER}{UP}{RIGHT}d{ENTER}{ENTER}{LEFT}{ENTER}{SHIFTDOWN}{UP}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}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{SHIFTUP}{ENTER}{SHIFTDOWN}.{SHIFTUP}
 +
}
 +
SoundBeep, 500
 +
SoundBeep
 +
Return
 +
 +
; -- Begin G Section --
 
g & Right::
 
g & Right::
Send, {ENTER}{ENTER}{SHIFTDOWN}g{SHIFTUP}{RIGHT} ;Grate in direction. Traps g, though, so...
+
Send, {ENTER}
 +
Sleep, 300
 +
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{RIGHT} ;Grate in direction. Traps g, though, so re-g code is needed.
 +
Return
 +
 
 +
g & Left::
 +
Send, {ENTER}
 +
Sleep, 300
 +
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{LEFT}
 +
Return
 +
 
 +
g & Up::
 +
Send, {ENTER}
 +
Sleep, 300
 +
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{UP}
 +
Return
 +
 
 +
g & Down::
 +
Send, {ENTER}
 +
Sleep, 300
 +
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{DOWN}
 
Return
 
Return
 +
  
 
+g::Send, {SHIFTDOWN}g{SHIFTUP} ;Send g if g pressed; otherwise g won't work. Script traps g in above trigger.
 
+g::Send, {SHIFTDOWN}g{SHIFTUP} ;Send g if g pressed; otherwise g won't work. Script traps g in above trigger.
Line 154: Line 214:
 
Return
 
Return
  
 +
 +
; -- Begin W Section --
 +
w & Left::
 +
Send, {ENTER}
 +
Sleep, 250
 +
Send, {ENTER 2}{LEFT}
 +
Return
 +
 +
w & Up::
 +
Send, {ENTER}
 +
Sleep, 250
 +
Send, {ENTER 2}{UP}
 +
Return
 +
 +
w & Right::
 +
Send, {ENTER}
 +
Sleep, 250
 +
Send, {ENTER 2}{RIGHT}
 +
Return
 +
 +
w & Down::
 +
Send, {ENTER}
 +
Sleep, 250
 +
Send, {ENTER 2}{DOWN}
 +
Return
 +
 +
+w::Send, {SHIFTDOWN}w{SHIFTUP}
 +
Return
 +
w::Send, w
 +
Return
 +
 +
 +
 +
; -- Begin F Section --
 +
f & Numpad1::
 +
Send, d{ENTER}{ENTER}1{ENTER}222{ENTER}1{ENTER}222{ENTER}218{ENTER}222{ENTER}1{ENTER}222{ENTER}1{ENTER}{ENTER}1{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}99966{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}7733x{ENTER}772{ENTER}9d{ENTER}3{ENTER}{ENTER}83{ENTER}{ENTER}3{ENTER}x{ENTER}77{ENTER}d{ENTER}3{ENTER}777744{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}96887{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}366{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}87779638{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}337773{ENTER}333d{ENTER}7{ENTER}77744{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}66668{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}663333{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}8878788{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}{SHIFTDOWN}{DOWN}{SHIFTUP}111111x{ENTER}77{ENTER}9d{ENTER}3{ENTER}{ENTER}3{ENTER}{SHIFTDOWN}{UP}{UP}{SHIFTUP}3
 +
Return
 +
 +
f & Numpad2::
 +
Send, d{ENTER}{ENTER}3348{ENTER}222{ENTER}3{ENTER}222{ENTER}3{ENTER}222{ENTER}3{ENTER}222{ENTER}62{ENTER}{ENTER}3{ENTER}{ENTER}7733{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}77744{ENTER}1{ENTER}{ENTER}1{ENTER}x{ENTER}9{ENTER}{ENTER}9{ENTER}7sd{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}999669{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}4474{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}44448{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}7741{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}441111{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}6636{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}6663{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}8888aad{SHIFTDOWN}{UP}{SHIFTUP}8{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}99986
 +
Return
 +
 +
f & Numpad3::
 +
Return
 +
 +
f & Numpad4::
 +
Return
 +
 +
f & Numpad5::
 +
Return
 +
 +
f & Numpad6::
 +
Return
 +
 +
f & Numpad7::
 +
Return
 +
 +
f & Numpad8::
 +
Send, d{ENTER}{ENTER}7{ENTER}888{ENTER}7{ENTER}888{ENTER}7{ENTER}888{ENTER}782{ENTER}888{ENTER}7{ENTER}{ENTER}7{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}222336{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}99999{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}x{ENTER}{LEFT}{LEFT}{DOWN}{DOWN}42{ENTER}d{RIGHT}{DOWN}{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}2121222{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}2211123{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}1122244448{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}8989897{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}33333{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}6669998{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}2222121{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}1111
 +
Return
 +
 +
f & Numpad9::
 +
Send, d{ENTER}{ENTER}7{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}66666{ENTER}222{ENTER}8887{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}6663323{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}7777{ENTER}888{ENTER}93{ENTER}3{ENTER}{ENTER}3{ENTER}3{ENTER}7{ENTER}777{ENTER}{ENTER}{ENTER}888{ENTER}112{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}93{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}777744{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}666332{ENTER}888{ENTER}7{ENTER}773{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}66662262{ENTER}{ENTER}86{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}11122{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}{SHIFTDOWN}{LEFT}{DOWN}{SHIFTUP}223
 +
 +
Return
 +
 +
+f::Send, {SHIFTDOWN}f{SHIFTUP}
 +
Return
 +
f::Send, f
 +
Return
 
</pre>
 
</pre>

Revision as of 01:39, 3 December 2010

About Me

I am a student living in British Colombia, Canada. DDR is my screen name, and is simply my initials. Please check out some other games I have been involved in, namely the Battle for Wesnoth, and Frogatto: Frogatto & Friends.

Proposals

'cascade' simple cave-in system: http://www.bay12forums.com/smf/index.php?topic=58416.0

Art

Unknown curses 12x12 & Markvii Walls.png An edition of the unknown curses 12x12 tileset with diagonal walls from the Markvii tileset. Rock doors are unknown curses, as are arrows. (Arrows are freaking LOGS in Markvii.) The fonts mix fairly well. Unknown curses 12x12 & Markvii Walls example screenshot.jpeg
Above: The Font A dwarf at archery practice.
He died later.

AHK Scripts

Dwarf Fortress General AHK Script

These AutoHotKey scripts (ahk scripts) contains hotkeys that automate some repetitive tasks, such as selecting trade goods and designating 100 z-levels of up/down stairs. If any problem or key conflicts are encountered, please leave me a message on the talk page. If you wish a new hotkey, you can leave me a message on the talk page.

The gettage of AHK and this Script (for beginners):

Grab the installer from http://www.autohotkey.com/, and install it.

Next, copy the script you want below.

Nip over to Windows Explorer. Go to where you want to store the script, and, from the right click menu, select new -> autohotkey script.

Edit the script (it's in the right-click menu). Click in the text that appears, and press ctrl-a, ctrl-v, ctrl-s, ctrl-f4.

Now, run the script by double-clicking on it. Now, when you press the key combo, it will start the script.

Fortress Mode Keys:

Examples: Please see Quarters.jpg and Level.jpg for disambiguation.

; AutoHotkey Version: 1.x
; Language: English
; Platform:	WinXP
; Author: D. D. Roberts <robertsdavidddr@gmail.com>
; Version: 6
;
; Script Keys:
;	These keys aim to speed up the playing of Dwarf Fortress by automating some simple tasks, like laying out walls and digging quarters.
;	.	.	.	.	.	.	
;	Build:	.	.	.	.	
;~	w + arrow key	.	.	Position a single wall segment. Hold w and an arrow key to build that wall and advance a tile.
;	.	.	.	.	.	.	
;	Designate:	.	.	.	
;	ctrl i	.	.	.	.	Designate a 2x2 up/down staircase and advance one level deeper. Start: Upper left corner. Dig mode, up/down staircase selected.
;	ctrl q	.	.	.	.	Dig quarters bloc. 3x3 rooms, ((8 rooms in 2x4 grid) on hallway) x4. 2x2 up/down stairway in center. Start: Upper left corner of future stairway, dig mode.
;	alt q	.	.	.	.	Same as above, but rotated by 90 degrees cw.
;	alt l	.	.	.	.	Dig an industry bloc. Digs 4 9x9 rooms, with 2-wide passages surrounding all four sides of the rooms. Up/down stairs are dug at passage intersections. Start: Upper right corner, dig mode.
;	alt ;	.	.	.	.	Dig only one 9x9 room, otherwise like above.
;	alt d	.	.	.	.	Dig a double spiral staircase down, filled style. Center cursor to start.
;	ctrl d	.	.	.	.	Dig an industrial 9x9 room, but leave the central 3x3 square undesignated.
;	ctrl t	.	.	.	.	Designate a 3x3 embark square, 2 z-levels, for felling.
;~	f + numpad	.	.	.	Designate a fern-style quarters block for digging in the direction of the arrow key. up:89 - right:63 - down:21 - left:47
;	.	.	.	.	.	.	
;	Furnish & Room:	.	.	
;	ctrl f	.	.	.	.	Fill 2x4 quarters grid with furniture. Graceful failure. Start: Highlight furniture, enter, position furniture in top left room.
;	alt f	.	.	.	.	Same as above, but rotated by 90 degrees cw.
;	ctrl a	.	.	.	.	Make the above furniture into a room. Start: Press q to view the furniture you want to make the room from.
;	alt a	.	.	.	.	Same as above, but rotated by 90 degrees cw.
;	alt c	.	.	.	.	Build a row of furniture (useful for coffins). Start: Highlight furniture, enter, position furniture.
;	ctrl b	.	.	.	.	Toggle a row (see above) of coffins for burial use. Start: q, highlight upper-leftmost coffin.
;	alt number pad plus	.	Press keys tiq+. For use selecting squads to train at a baracks.
;~	g + arrow key	.	.	Position a floor grate. Press g and {direction} arrow key to build that grate and position a floor grate to the {direction} of the first grate.
;	.	.	.	.	.	.	
;	List Selection:	.	.	
;	ctrl enter	.	.	.	Enter select, and advance the cursor with the down arrow key.
;	ctrl number pad plus.	Enter select, and advance the cursor with the number pad plus key.
;	.	.	.	.	.	.	
;	Move Camera:	.	.	
;	alt <, >	.	.	.	Move up or down ten levels. Very handy for 150 z-level forts. (Or, alt-shift-,, ..)
;	.	.	.	.	.	.	
;	Zones:	.	.	.	.	
;	ctrl o	.	.	.	.	Designates an industrial block (alt-l) with pathing zones. Start: d, o, choose cost, cursor in upper right stairs.
;   

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetKeydelay, 20

#SingleInstance force

#IfWinActive Dwarf Fortress



!+.::Send {> 10}
Return
!+,::Send {< 10}
Return

^Enter::
Send {ENTER}{DOWN}
Return

^NumpadAdd::
Send {ENTER}{NumpadAdd}
Return

^i::
Send {ENTER}3{ENTER}7{SHIFTDOWN}.{SHIFTUP}
Return

^q:: 
Send, i{ENTER}{RIGHT}{DOWN}{ENTER}{SHIFTDOWN}, .{SHIFTUP}d9{ENTER}{SHIFTDOWN}, {SHIFTUP}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{DOWN}{SHIFTDOWN}.{SHIFTUP}{ENTER}{DOWN}{DOWN}7{ENTER}1{ENTER}x{ENTER}9{ENTER}d{ENTER}{ENTER}1{ENTER}33{ENTER}1{ENTER}{ENTER}3{ENTER}11{ENTER}77722138{ENTER}9918{ENTER}{ENTER}11{ENTER}988{ENTER}{ENTER}7{ENTER}99{ENTER}7{ENTER}{ENTER}444{ENTER}{ENTER}x{ENTER}{ENTER}d4{ENTER}{ENTER}3{ENTER}11{ENTER}3{ENTER}{ENTER}3{ENTER}11{ENTER}778888{ENTER}11{ENTER}337{ENTER}{ENTER}88{ENTER}{ENTER}224138{ENTER}33{ENTER}{LEFT}{LEFT}{LEFT}{LEFT}{ENTER}{UP}{UP}{UP}{UP}{UP}{UP}{LEFT}{UP}{ENTER}{UP}{UP}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{DOWN}{DOWN}{ENTER}{ENTER}{LEFT}{LEFT}{LEFT}{LEFT}{UP}{UP}	;lower right corner
Send, 9936{ENTER}{ENTER}7{ENTER}99{ENTER}7{ENTER}{ENTER}7{ENTER}99{ENTER}4444{ENTER}22222224{ENTER}66666666{ENTER}{ENTER}7{ENTER}99{ENTER}7{ENTER}{ENTER}7{ENTER}99{ENTER}66{ENTER}33{ENTER}1{ENTER}{ENTER}137{ENTER}33{ENTER}1{ENTER}{ENTER}6666{ENTER}{ENTER}9{ENTER}77{ENTER}88{ENTER}99{ENTER}122{ENTER}{ENTER}1111144444444444	;upper right corner
Send, {LEFT}{ENTER}{LEFT}{LEFT}{ENTER}9{ENTER}{ENTER}7{ENTER}99x222{ENTER}44d{ENTER}{ENTER}9{ENTER}77{ENTER}9{ENTER}{ENTER}9{ENTER}77{ENTER}44{ENTER}11{ENTER}3{ENTER}{ENTER}1{ENTER}33{ENTER}1{ENTER}{ENTER}1771{ENTER}{ENTER}9{ENTER}77{ENTER}9{ENTER}{ENTER}7{ENTER}99{ENTER}714{ENTER}4x{ENTER}d{ENTER}11{ENTER}3{ENTER}{ENTER}1{ENTER}33{ENTER}1{ENTER}{ENTER}1{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{DOWN}{ENTER}86	; upper left corner
Send, 411{ENTER}{ENTER}1{ENTER}33{ENTER}1{ENTER}{ENTER}3{ENTER}11{ENTER}44{ENTER}77{ENTER}9{ENTER}{ENTER}9{ENTER}77{ENTER}9{ENTER}{ENTER}144{ENTER}x{ENTER}7d{ENTER}{ENTER}3d{ENTER}11{ENTER}3{ENTER}{ENTER}3{ENTER}11{ENTER}44{ENTER}77{ENTER}9{ENTER}{ENTER}7{ENTER}99{ENTER}7{ENTER}{ENTER}66666666666666688{SHIFTDOWN}.{SHIFTUP}	;lower left corner
Return

!q::
Send, i{ENTER}{LEFT}{UP}{ENTER}77d{ENTER}77{ENTER}1{ENTER}{ENTER}1{ENTER}77{ENTER}88{ENTER}99{ENTER}3{ENTER}{ENTER}3{ENTER}99{ENTER}88{ENTER}77{ENTER}1{ENTER}{ENTER}7{ENTER}11{ENTER}8888{ENTER}99{ENTER}3{ENTER}{ENTER}3{ENTER}99{ENTER}3{ENTER}{ENTER}2222{ENTER}{ENTER}2222{ENTER}{ENTER}2222{ENTER}{ENTER}369{ENTER}{ENTER}3{ENTER}99{ENTER}3{ENTER}{ENTER}9{ENTER}33{ENTER}888{ENTER}x{ENTER}d8{ENTER}77{ENTER}1{ENTER}{ENTER}1{ENTER}77{ENTER}1{ENTER}{ENTER}8888{ENTER}{ENTER}3{ENTER}99{ENTER}3{ENTER}{ENTER}3{ENTER}99{ENTER}88{ENTER}77{ENTER}1{ENTER}{ENTER}177{ENTER}33{ENTER}474{ENTER}{ENTER}7{ENTER}122222222222222{ENTER}33{ENTER}6669666{ENTER}222{ENTER}11{ENTER}7{ENTER}{ENTER}7{ENTER}11{ENTER}22{ENTER}33{ENTER}9{ENTER}{ENTER}9{ENTER}33{ENTER}22{ENTER}11{ENTER}7{ENTER}{ENTER}7{ENTER}11{ENTER}22{ENTER}33{ENTER}9{ENTER}{ENTER}3{ENTER}99{ENTER}4414444{ENTER}{ENTER}7898{ENTER}{ENTER}8888{ENTER}{ENTER}8888{ENTER}{ENTER}78{ENTER}4222222223131312{ENTER}7{ENTER}{ENTER}1{ENTER}77{ENTER}1{ENTER}{ENTER}1{ENTER}77{ENTER}88{ENTER}99{ENTER}3{ENTER}{ENTER}3{ENTER}99{ENTER}3{ENTER}{ENTER}8888{ENTER}{ENTER}8888{ENTER}{ENTER}122{ENTER}11{ENTER}7{ENTER}{ENTER}1{ENTER}77{ENTER}88{ENTER}99{ENTER}3{ENTER}{ENTER}3{ENTER}99{ENTER}996{LEFT}{LEFT}{ENTER}{UP}{LEFT}{LEFT}{LEFT}{L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T}{DOWN}{ENTER}{RIGHT}{RIGHT}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}	; left e/w passages
Send, {RIGHT}d{ENTER}{UP}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{ENTER}{SHIFTDOWN}{UP}{UP}{UP}{SHIFTUP}{ENTER}{SHIFTDOWN}{LEFT}{SHIFTUP}{LEFT}{LEFT}{DOWN}{ENTER}{SHIFTDOWN}{DOWN}{SHIFTUP}{DOWN}{DOWN}{DOWN}{DOWN}{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{DOWN}{ENTER}	; right e/w passages
Send, {UP}{UP}{ENTER}{ENTER}{LEFT}{UP}{ENTER}{SHIFTDOWN}{LEFT}{UP}{SHIFTUP}{ENTER}7{ENTER}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{ENTER}{ENTER}111111111111{ENTER}{ENTER}	; dig ne room
Send, {LEFT}{LEFT}{LEFT}{ENTER}{ENTER}{LEFT}{UP}{ENTER}{SHIFTDOWN}{LEFT}{UP}{SHIFTUP}{ENTER}7{ENTER}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{ENTER}{ENTER}111111111111{ENTER}{ENTER}	; dig nw room
Send, {SHIFTDOWN}{RIGHT}{RIGHT}{DOWN}{SHIFTUP}3333366{ENTER}{ENTER}{LEFT}{UP}{ENTER}{SHIFTDOWN}{LEFT}{UP}{SHIFTUP}{ENTER}7{ENTER}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{ENTER}{ENTER}111111111111{ENTER}{ENTER}	; dig se room
Send, {LEFT}{LEFT}{LEFT}{ENTER}{ENTER}{LEFT}{UP}{ENTER}{SHIFTDOWN}{LEFT}{UP}{SHIFTUP}{ENTER}7{ENTER}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{ENTER}{ENTER}111111111111{ENTER}{ENTER}99999999999999999999999999999{SHIFTDOWN}.{SHIFTUP}	; dig sw room
Return

!;::
Send, i{ENTER}{LEFT}{DOWN}{ENTER}d{DOWN}{ENTER}{SHIFTDOWN}{DOWN}{SHIFTUP}{RIGHT}{DOWN}{DOWN}{ENTER}{DOWN}i{ENTER}{DOWN}{LEFT}{ENTER}d{UP}{LEFT}{UP}{ENTER}{ENTER}{DOWN}{ENTER}{SHIFTDOWN}{LEFT}{SHIFTUP}{LEFT}{LEFT}{DOWN}{ENTER}{LEFT}{LEFT}i{ENTER}{UP}{RIGHT}{ENTER}{UP}{RIGHT}d{ENTER}{ENTER}{LEFT}{ENTER}{SHIFTDOWN}{UP}{SHIFTUP}{UP}{UP}{LEFT}{ENTER}{RIGHT}{RIGHT}{ENTER}{ENTER}{LEFT}{UP}i{ENTER}{LEFT}{UP}{ENTER}d{RIGHT}{RIGHT}{ENTER}{SHIFTDOWN}{RIGHT}{SHIFTUP}{RIGHT}{RIGHT}{DOWN}{ENTER}{DOWN}{ENTER}{ENTER}{DOWN}{LEFT}{ENTER}{SHIFTDOWN}{LEFT}{DOWN}{SHIFTUP}{ENTER}{SHIFTDOWN}{UP}{RIGHT}{SHIFTUP}{UP}{RIGHT}{RIGHT}{UP}{UP}{RIGHT}{SHIFTDOWN}.{SHIFTUP}
Return

^f::
Send, {ENTER 3}{RIGHT 4}{ENTER 3}{RIGHT 4}{ENTER 3}{RIGHT 4}{ENTER 3}{DOWN 4}{ENTER 3}{LEFT 4}{ENTER 3}{LEFT 4}{ENTER 3}{LEFT 4}{ENTER 3}{UP 4}{ESC}
Return

!f::
Send, {ENTER}{ENTER}{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{ENTER}{ENTER}{ENTER}1111{ENTER}{ENTER}{ENTER}6666{ENTER}{ENTER}{ENTER}1111{ENTER}{ENTER}{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{ENTER}{ENTER}{ENTER}1111{ENTER}{ENTER}{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{ENTER}{ENTER}{ENTER}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{LEFT}{LEFT}{LEFT}{UP}{UP}{UP}{LEFT}
Return

^a::
Send, r{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}r{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}r{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}r{ENTER}{DOWN}{DOWN}{DOWN}{DOWN}r{ENTER}{LEFT}{LEFT}{LEFT}{LEFT}r{ENTER}{LEFT}{LEFT}{LEFT}{LEFT}r{ENTER}{LEFT}{LEFT}{LEFT}{LEFT}r{ENTER}{UP}{UP}{UP}{UP}
Return

!a::
Send, r{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}r{ENTER}{DOWN}{DOWN}{DOWN}{DOWN}r{ENTER}{LEFT}{LEFT}{LEFT}r{ENTER}{DOWN}{DOWN}{DOWN}r{ENTER}{RIGHT}{RIGHT}{RIGHT}r{ENTER}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}r{ENTER}{LEFT}{LEFT}{LEFT}{LEFT}r{ENTER}{UP 12}
Return

^o::
Send, 111{ENTER}1111111111{ENTER}77{SHIFTDOWN}{UP}{SHIFTUP}114{ENTER}1111111111{ENTER}22222{ENTER}3333333333{ENTER}66666{ENTER}9999999999{ENTER}999988888887888888{SHIFTDOWN}.{SHIFTUP}
Return

!c::
Send, {ENTER 3}{RIGHT}{ENTER 3}{RIGHT}{ENTER 3}{RIGHT}{ENTER 3}{RIGHT}{ENTER 3}{RIGHT}{ENTER 3}{RIGHT}{ENTER 3}{RIGHT}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T}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{LEFT}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{SHIFTUP}{ENTER}{SHIFTDOWN}.{SHIFTUP}
}
SoundBeep, 500
SoundBeep
Return

;	-- Begin G Section --
g & Right::
Send, {ENTER}
Sleep, 300
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{RIGHT}	;Grate in direction. Traps g, though, so re-g code is needed.
Return

g & Left::
Send, {ENTER}
Sleep, 300
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{LEFT}	
Return

g & Up::
Send, {ENTER}
Sleep, 300
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{UP}	
Return

g & Down::
Send, {ENTER}
Sleep, 300
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{DOWN}	
Return


+g::Send, {SHIFTDOWN}g{SHIFTUP}	;Send g if g pressed; otherwise g won't work. Script traps g in above trigger.
Return
g::Send, g
Return


;	-- Begin W Section --
w & Left::
Send, {ENTER}
Sleep, 250
Send, {ENTER 2}{LEFT}
Return

w & Up::
Send, {ENTER}
Sleep, 250
Send, {ENTER 2}{UP}
Return

w & Right::
Send, {ENTER}
Sleep, 250
Send, {ENTER 2}{RIGHT}
Return

w & Down::
Send, {ENTER}
Sleep, 250
Send, {ENTER 2}{DOWN}
Return

+w::Send, {SHIFTDOWN}w{SHIFTUP}
Return
w::Send, w
Return



;	-- Begin F Section --
f & Numpad1::
Send, d{ENTER}{ENTER}1{ENTER}222{ENTER}1{ENTER}222{ENTER}218{ENTER}222{ENTER}1{ENTER}222{ENTER}1{ENTER}{ENTER}1{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}99966{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}7733x{ENTER}772{ENTER}9d{ENTER}3{ENTER}{ENTER}83{ENTER}{ENTER}3{ENTER}x{ENTER}77{ENTER}d{ENTER}3{ENTER}777744{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}96887{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}366{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}87779638{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}337773{ENTER}333d{ENTER}7{ENTER}77744{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}66668{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}663333{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}8878788{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}{SHIFTDOWN}{DOWN}{SHIFTUP}111111x{ENTER}77{ENTER}9d{ENTER}3{ENTER}{ENTER}3{ENTER}{SHIFTDOWN}{UP}{UP}{SHIFTUP}3
Return

f & Numpad2::
Send, d{ENTER}{ENTER}3348{ENTER}222{ENTER}3{ENTER}222{ENTER}3{ENTER}222{ENTER}3{ENTER}222{ENTER}62{ENTER}{ENTER}3{ENTER}{ENTER}7733{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}77744{ENTER}1{ENTER}{ENTER}1{ENTER}x{ENTER}9{ENTER}{ENTER}9{ENTER}7sd{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}999669{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}4474{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}44448{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}7741{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}441111{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}6636{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}6663{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}8888aad{SHIFTDOWN}{UP}{SHIFTUP}8{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}99986
Return

f & Numpad3::
Return

f & Numpad4::
Return

f & Numpad5::
Return

f & Numpad6::
Return

f & Numpad7::
Return

f & Numpad8::
Send, d{ENTER}{ENTER}7{ENTER}888{ENTER}7{ENTER}888{ENTER}7{ENTER}888{ENTER}782{ENTER}888{ENTER}7{ENTER}{ENTER}7{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}222336{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}99999{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}x{ENTER}{LEFT}{LEFT}{DOWN}{DOWN}42{ENTER}d{RIGHT}{DOWN}{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}2121222{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}2211123{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}1122244448{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}8989897{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}33333{ENTER}1{ENTER}{ENTER}1{ENTER}{ENTER}1{ENTER}6669998{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}2222121{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}1111
Return

f & Numpad9::
Send, d{ENTER}{ENTER}7{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}66666{ENTER}222{ENTER}8887{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}6663323{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}7777{ENTER}888{ENTER}93{ENTER}3{ENTER}{ENTER}3{ENTER}3{ENTER}7{ENTER}777{ENTER}{ENTER}{ENTER}888{ENTER}112{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}93{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}777744{ENTER}7{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}666332{ENTER}888{ENTER}7{ENTER}773{ENTER}{ENTER}7{ENTER}{ENTER}7{ENTER}66662262{ENTER}{ENTER}86{ENTER}9{ENTER}{ENTER}9{ENTER}{ENTER}9{ENTER}11122{ENTER}3{ENTER}{ENTER}3{ENTER}{ENTER}3{ENTER}{SHIFTDOWN}{LEFT}{DOWN}{SHIFTUP}223

Return

+f::Send, {SHIFTDOWN}f{SHIFTUP}
Return
f::Send, f
Return