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:Lethosor/DFHack"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(created)
 
Line 2: Line 2:
 
=== [https://gist.github.com/lethosor/8201585 embark_site]===
 
=== [https://gist.github.com/lethosor/8201585 embark_site]===
 
A combination of embark everywhere and nano embark. In progress.
 
A combination of embark everywhere and nano embark. In progress.
 +
 +
Some useful keybindings, until I add GUI support:
 +
keybinding add Alt-N@choose_start_site "embark_site nano"
 +
keybinding add Alt-E@choose_start_site "embark_site here"
 
==== Usage ====
 
==== Usage ====
 
* To set embark size to 1x1:
 
* To set embark size to 1x1:
Line 11: Line 15:
 
  embark_site {x1} {y1} {x2} {y2}
 
  embark_site {x1} {y1} {x2} {y2}
 
("1 1" = upper left, "16 16" = bottom right)
 
("1 1" = upper left, "16 16" = bottom right)
* To set size manually (using the upper left corner:
+
* To set size manually:
 
  embark_site size {width} {height}
 
  embark_site size {width} {height}
 
* To display coordinates:
 
* To display coordinates:
 
  embark_site
 
  embark_site

Revision as of 22:23, 2 January 2014

Lua scripts

embark_site

A combination of embark everywhere and nano embark. In progress.

Some useful keybindings, until I add GUI support:

keybinding add Alt-N@choose_start_site "embark_site nano"
keybinding add Alt-E@choose_start_site "embark_site here"

Usage

  • To set embark size to 1x1:
embark_site nano

(this can be increased to 2x1 or 1x2 with the normal UMKH keys)

  • To force an embark on the current location, regardless of warnings:
embark_site here
  • To set coordinates manually:
embark_site {x1} {y1} {x2} {y2}

("1 1" = upper left, "16 16" = bottom right)

  • To set size manually:
embark_site size {width} {height}
  • To display coordinates:
embark_site