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 "40d:Macros and Keymaps Examples"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (cat)

Revision as of 09:55, 10 April 2010

This page contains example scripts for the page Macros and Keymaps and is expected to get fairly lengthy. Put macros in their own section and link to that section.

Room-designation Macro 01

Designates an eight-chambered circular room.

F1::
send d{Enter}+{NumpadPgUp}+{NumpadPgUp}{NumpadEnd}{NumpadEnd}{Enter}+{NumpadEnd}{NumpadPgUp}x{Enter}{Enter}
Sleep 100
send x{NumpadRight}{NumpadRight}{NumpadRight}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
Sleep 50
send {NumpadDown}{NumpadDown}{NumpadDown}{NumpadDown}{NumpadDown}{NumpadDown}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
Sleep 50
send {NumpadEnd}{NumpadEnd}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{Enter}{Enter}
Sleep 50
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
Sleep 100
send {NumpadHome}{NumpadHome}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
Sleep 50
send {NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
Sleep 50
send {NumpadPgUp}{NumpadPgUp}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{NumpadRight}{NumpadRight}{NumpadRight}{NumpadRight}{NumpadRight}{Enter}{Enter}
Sleep 50
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumPadLeft}{Enter}{Enter}
Sleep 100
send {NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadRight}{NumpadRight}{NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
Sleep 50
send {NumpadDown}{NumpadDown}{NumpadDown}{NumpadDown}{NumpadDown}{NumpadDown}{NumpadDown}{NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadDown}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
Sleep 50
send {NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadLeft}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
Sleep 50
send {NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadUp}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
send {NumpadRight}{Enter}{Enter}
Sleep 100
send {NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{Enter}
send {NumpadPgDn}{NumpadPgDn}{Enter}
send +{NumpadRight}{NumpadRight}{NumpadRight}{NumpadRight}{NumpadRight}{Enter}
send {NumpadPgUp}{NumpadPgUp}{Enter}
send +{NumpadDown}+{NumpadDown}{NumpadUp}{NumpadUp}{Enter}
send {NumpadHome}{NumpadHome}{Enter}
send +{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{NumpadLeft}{Enter}
send {NumpadEnd}{NumpadEnd}{Enter}
send +{NumpadPgUp}{NumpadEnd}
return