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 40d:Macros and keymaps

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

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 342: Line 342:
 
AXES = 1 ;number of axes to pack
 
AXES = 1 ;number of axes to pack
 
ANVILS = 0 ;number of anvils to pack
 
ANVILS = 0 ;number of anvils to pack
MEATS = 7 ;how much meat to take, each buys one of each cheap type (total number depends on locale)
+
MEATS = 7 ;how much meat to take, each one buys 14 meat, one of each cheap type
 
DRINKS = 26 ;how many drinks to take, each one buys 4 drinks, one of each type
 
DRINKS = 26 ;how many drinks to take, each one buys 4 drinks, one of each type
 
SEEDS = 5 ;each increment buys 5 plump helmet spawn, 2 pig tail, and 2 rock nuts
 
SEEDS = 5 ;each increment buys 5 plump helmet spawn, 2 pig tail, and 2 rock nuts
Line 536: Line 536:
 
;Meat
 
;Meat
  
if MEATS > 0
+
if MEATS > 0{
{
+
send {n}{Right}{Down}{Enter}
 +
send {n}{Right}{Down}{Enter}
 +
send {n}{Right}{Down}{Enter}
 +
send {n}{Right}{Down}{Down}{Enter}
 +
send {n}{Right}{Down}{Down}{Enter}
 +
send {n}{Right}{Down}{Down}{Down}{Down}{Enter}
 +
send {n}{Right}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
 +
send {n}{Right}{Pgdn}{Up}{Up}{Up}{Up}{Up}{Up}{Up}{Enter}
 +
send {n}{Right}{Pgdn}{Pgdn}{up}{Enter}
 +
send {n}{Right}{Pgdn}{Pgdn}{up}{Enter}
 +
send {n}{Right}{Pgdn}{Pgdn}{up}{Enter}
 +
send {n}{Right}{Pgdn}{Pgdn}{up}{Enter}
 +
send {n}{Right}{Pgdn}{Pgdn}{up}{up}{up}{Enter}
 +
send {n}{Right}{Pgdn}{Pgdn}{up}{up}{up}{Enter}
 +
 
 
tmp := MEATS - 1
 
tmp := MEATS - 1
send ndonkey{SPACE}meat{RIGHT}{ENTER}
+
loop 14{
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nchimpanzee{SPACE}meat{RIGHT}{ENTER}
 
 
loop %tmp%{
 
loop %tmp%{
 
Send {NumpadAdd}
 
Send {NumpadAdd}
 
}
 
}
Send {F9}
+
Send {down}
send ngazelle{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nbonobo{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nmule{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send ndeer{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nraccoon{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nfox{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nrhesus{SPACE}macaque{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nhorse{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send ngroundhog{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nmountain{SPACE}goat{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nhoary{SPACE}marmot{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send ngorilla{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send norangutan{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nsiamang{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nbilou{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send npileated{SPACE}gibbon{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nmandrill{SPACE}meat{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
send nturtle{RIGHT}{ENTER}
 
loop %tmp%{
 
Send {NumpadAdd}
 
}
 
Send {F9}
 
 
 
 
 
 
}
 
}
  
Line 647: Line 564:
 
if PICKS > 0
 
if PICKS > 0
 
{
 
{
Send {n}copper picks{Right}{Enter}
+
Send {n}
 +
loop 4{
 +
Send {Down}
 +
Sleep %SLEEPTIME%
 +
}
 +
Send {Right}
 +
Send {NumpadEnter}
 
tmp := PICKS - 1
 
tmp := PICKS - 1
 
loop %tmp%{
 
loop %tmp%{
Line 657: Line 580:
 
if AXES > 0
 
if AXES > 0
 
{
 
{
Send {n}steel axes{Right}{Enter}
+
Send {n}
 +
loop 5{
 +
Send {Down}
 +
Sleep %SLEEPTIME%
 +
}
 +
Send {Right}
 +
loop 4{
 +
Send {Down}
 +
Sleep %SLEEPTIME%
 +
}
 +
Send {NumpadEnter}
 
tmp := AXES - 1
 
tmp := AXES - 1
 
loop %tmp%{
 
loop %tmp%{
Line 667: Line 600:
 
if SEEDS > 0
 
if SEEDS > 0
 
{
 
{
send {n}Rock nuts{Right}{Enter}
+
send {n}{Down}{Down}{Right}{Down}{Down}{Down}{Enter}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
send {n}plump helmet spawn{Right}{Enter}
+
send {n}{Down}{Down}{Right}{Down}{Down}{Down}{Enter}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
send {n}Pig tail Seeds{Right}{Enter}
+
send {n}{Down}{Down}{Right}{Down}{Down}{Down}{Enter}
 
Send {NumpadAdd}
 
Send {NumpadAdd}
  
Line 700: Line 633:
 
if ANVILS > 0
 
if ANVILS > 0
 
{
 
{
Send {n}iron anvils{Right}{Enter}
+
Send {n}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Right}{Enter}
 
tmp := ANVILS - 1
 
tmp := ANVILS - 1
 
loop %tmp%{
 
loop %tmp%{
Line 709: Line 642:
 
;Drinks
 
;Drinks
 
if DRINKS > 0{
 
if DRINKS > 0{
send {n}Dwarven ale{Right}{Enter}
+
send {n}{Down}{Down}{Down}{Right}{Enter}
send {n}Dwarven beer{Right}{Enter}
+
send {n}{Down}{Down}{Down}{Right}{Enter}
send {n}Dwarven wine{Right}{Enter}
+
send {n}{Down}{Down}{Down}{Right}{Enter}
send {n}Dwarven rum{Right}{Enter}
+
send {n}{Down}{Down}{Down}{Right}{Enter}
  
 
tmp := DRINKS - 1
 
tmp := DRINKS - 1

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: