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.

User:Valdemar/Bedroom Macro Examples

From Dwarf Fortress Wiki
< User:Valdemar
Revision as of 19:34, 22 November 2007 by Valdemar (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Some Examples of Bedroom Macro Usage[edit]

These examples demonstrate the usage of the bedroom macro.

Example 1[edit]

██████████████████████
█A..█...█...█...█C..██
█...█...█...█...█...██
█...█...█...█...█...██
██.███.███.███.███.███
█B..█...█...█...█D..██
█...█...█...█...█...██
█...█...█...█...█...██
██.███.███.███.███.███
[rooms]
width          = 3     
height         = 3     
number_per_row = 5     
number_of_rows = 2     
[doors]
enable_doors   = yes    
door_dir       = bottom 
door_pos       = 2

From point A:

build_dir      = right
row_dir        = down 

From point B:

build_dir      = right
row_dir        = up 

From point C:

build_dir      = left
row_dir        = down

From point D:

build_dir      = left
row_dir        = up 

Example 2[edit]

██████████████████████
█A..█...█...█...█C..██
█...█...█...█...█...██
█...█...█...█...█...██
█.███.███.███.███.████
█B..█...█...█...█D..██
█...█...█...█...█...██
█...█...█...█...█...██
█.███.███.███.███.████

Same as Example 1 except door position 1 instead of 3.

Example 3[edit]

██████████████████████
█A..█...█...█...█C..██
█...................X█
█...█...█...█...█...██
██.███.███.███.███.███
█B..█...█...█...█D..██
█...................X█
█...█...█...█...█...██
██.███.███.███.███.███

Run Example 1, then run it again, changing door direction to right. You will need to manually remove the door designation at points X.

Example 4[edit]

████████████
█A█.█.█.█B██
█.█.█.█.█.██
█.█.█.█.█.██
█.█.█.█.█.██
[rooms]
width          = 1    
height         = 4     
number_per_row = 5     
number_of_rows = 1    
[doors]
enable_doors   = no   

Build direction same as in Example 1