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:Valdemar/Bedroom Macro Examples"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
 
Line 13: Line 13:
 
  █...█...█...█...█...██
 
  █...█...█...█...█...██
 
  ██.███.███.███.███.███
 
  ██.███.███.███.███.███
* 3x3
 
* Number of rooms 5
 
* Number of rows  2
 
* Enable Doors 1 (Yes)
 
* Door direction 1 (Bottom)
 
* Door Position 2
 
  
 +
[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:
 
From point A:
* Build direction 1 (Left to Right)
+
build_dir      = right
* Row direction 1 (Top to Bottom)
+
row_dir        = down
  
 
From point B:
 
From point B:
* Build direction 1 (Left to Right)
+
build_dir      = right
* Row direction 2 (Bottom to Top)
+
row_dir        = up
  
 
From point C:
 
From point C:
* Build direction 2 (Right to Left)
+
build_dir      = left
* Row direction 1 (Top to Bottom)
+
row_dir        = down
  
 
From point D:
 
From point D:
* Build direction 2 (Right to Left)
+
build_dir      = left
* Row direction 2 (Bottom to Top)
+
row_dir        = up
  
 
===Example 2===
 
===Example 2===
Line 47: Line 52:
 
  █.███.███.███.███.████
 
  █.███.███.███.███.████
  
Same as Example 1 except door position 1.
+
Same as Example 1 except door position 1 instead of 3.
  
 
===Example 3===
 
===Example 3===
Line 60: Line 65:
 
  ██.███.███.███.███.███
 
  ██.███.███.███.███.███
  
Run Example 1, then run it again, changing door direction to 3(right). You will need to manually remove the door designation at points 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===
 
===Example 4===
Line 70: Line 75:
 
  █.█.█.█.█.██
 
  █.█.█.█.█.██
  
* Size 1x3
+
[rooms]
* Number of rooms 5
+
width          = 1   
* Number of rows 1
+
height        = 4   
* Doors 0 (No)
+
number_per_row = 5    
 +
number_of_rows = 1  
 +
 
 +
[doors]
 +
enable_doors  = no 
  
 
Build direction same as in Example 1
 
Build direction same as in Example 1

Latest revision as of 19:34, 22 November 2007

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