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:Jan/sandbox"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
 +
 +
== Misc variants ==
 +
 +
 +
 +
{| style="padding: 0.5em 0.5em 0 0.5em; margin: 0.5rem 0; background: #dff0d8;  border: 2px solid #afbdaa;"
 +
| This article is about the current version of DF.
 +
|-
 +
|<div style="position: relative">
 +
<div class="mw-collapsible" id="mw-customcollapsible-version-toggle"><span class="mw-customtoggle-version-toggle" style="position: absolute; bottom: 0px; left: 50%; line-height: 1; cursor: pointer; font-size: 10px;">[[File:Eo circle green white caret-double-down.svg|10px|link=]] More...</span></div>
 +
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-version-toggle"><span class="mw-customtoggle-version-toggle" style="position: absolute; bottom: 0px; left: 50%; line-height: 1; cursor: pointer; font-size: 10px;">[[File:Eo circle green white caret-double-down.svg|10px|link=]] Collapse</span>bla bla bla bla bla</div></div>
 +
|}
 +
 +
 +
 +
<span class="mw-customtoggle-111" style="position: relative; padding:5px; background-color: #2a4b8d; color: #fff;">[[:Release information|<span style="padding:5px; background-color: #2a4b8d; color: #fff;">v50.05 ▼</span>]]</span> This article is about the current version of DF.
 +
<div style="z-index: 101; position: absolute; background-color: #f8f9fa; color: #202122;">
 +
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-111" style="padding:0.5em 1em; border: 1px solid #a2a9b1;">[[DF2014:{{PAGENAME}}|v0.47]]<br>[[v0.34:{{PAGENAME}}|v0.34]]<br>[[v0.31:{{PAGENAME}}|v0.31]]<br>[[40d:{{PAGENAME}}|v0.28]]<br>[[23a:{{PAGENAME}}|v0.23]]</div></div>
 +
 +
 +
 +
<div class="" style="padding: 0.8em 1em; margin: 0.5rem 0; <!--
 +
-->border-width: 0; background-color: #E7F2F8; border-radius: 4px; font-size: 84%; line-height: 1.2em;">
 +
This article is about the current version of DF ( <span style="background-color:white;">v{{current/version}}</span> | [[DF2014:{{PAGENAME}}|v0.47.05]] | [[v0.34:{{PAGENAME}}|v0.34]] | [[v0.31:{{PAGENAME}}|v0.31]] | [[40d:{{PAGENAME}}|v0.28]] | [[23a:{{PAGENAME}}|v0.23]] )
 +
</div>
 +
 +
  
 
== In game==
 
== In game==
Line 7: Line 34:
 
<div style="width:100px; padding:5px; background-color: #a40d14; border: 2px outset #ed1c24; color:white; {{border-radius|3px}}">Delete</div >
 
<div style="width:100px; padding:5px; background-color: #a40d14; border: 2px outset #ed1c24; color:white; {{border-radius|3px}}">Delete</div >
  
[[File:Ui building o.png]]
 
[[File:Ui building ob.png]]
 
[[File:Ui building of.png]]
 
[[File:Ui building ol.png]]
 
[[File:Ui building oll.png]]
 
[[File:Ui building ou.png]]
 
[[File:Ui building oy.png]]
 
 
{{key|o|l|l}}
 
 
[[File:Ui building o.png]][[File:Ui building ol.png]][[File:Ui building oll.png]]
 
  
<div style="color:white; font-size: large; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;"><!--
+
=== build shortkeys ===
--><span style="position: relative;><!--
 
-->[[File:Ui building o.png]]<div style="position: absolute; bottom:-14px; right:3px;">o</div></span><!--
 
  
--><span style="position: relative;"><!--
+
:[[file:ui_b.png]]{{key|b}}Build
-->[[File:Ui building ol.png]]<div style="position: absolute; bottom:-14px; right:3px;">l</div></span><!--
+
::[[file:ui_bo.png]]{{key|o}}Workshops
 
+
:::[[file:ui_bol.png]]{{key|l}}Clothing and Leather
--><span style="position: relative;"><!--
+
::::[[file:ui_boll.png]]{{key|l}}Leather
-->[[File:Ui building oll.png]]<div style="position: absolute; bottom:-14px; right:3px;">l</div></span><!--
+
::::[[file:ui_bolo.png]]{{key|o}}Loom
--></div>
+
::::[[file:ui_bolk.png]]{{key|k}}Clothes
 +
::::[[file:ui_boly.png]]{{key|y}}Dyer
 +
:::[[file:ui_bof.png]]{{key|f}}Farming
 +
::::[[file:ui_bofp.png]]{{key|p}}Farm plot 
 +
::::[[file:ui_bofl.png]]{{key|l}}Still
 +
::::[[file:ui_bofb.png]]{{key|b}}
 +
::::[[file:ui_boft.png]]{{key|t}}
 +
::::[[file:ui_bofy.png]]{{key|y}}
 +
::::[[file:ui_bofk.png]]{{key|k}}
 +
::::[[file:ui_boff.png]]{{key|f}}
 +
::::[[file:ui_bofq.png]]{{key|q}}
 +
::::[[file:ui_bofv.png]]{{key|v}}
 +
::::[[file:ui_bofn.png]]{{key|n}}
 +
::::[[file:ui_bofh.png]]{{key|h}}
 +
:::[[file:ui_bou.png]]{{key|u}}Furnaces
 +
::::[[file:ui_boug.png]]{{key|g}}Glass Furnace
 +
::::[[file:ui_bouk.png]]{{key|k}}Klin
 +
::::[[file:ui_bouG.png]]{{key|G}}Magma glass Furnace
 +
::::[[file:ui_bouK.png]]{{key|K}}
 +
::::[[file:ui_bouL.png]]{{key|L}}
 +
::::[[file:ui_boul.png]]{{key|l}}
 +
::::[[file:ui_bouf.png]]{{key|f}}
 +
:::[[file:ui_boy.png]]{{key|y}}
 +
:::[[file:ui_bob.png]]{{key|b}}
 +
:::[[file:ui_bop.png]]{{key|p}}
 +
:::[[file:ui_bor.png]]{{key|r}}
 +
:::[[file:ui_boj.png]]{{key|j}}
 +
:::[[file:ui_boI.png]]{{key|I}}
 +
:::[[file:ui_boh.png]]{{key|h}}
 +
:::[[file:ui_boi.png]]{{key|i}}
 +
:::[[file:ui_boR.png]]{{key|R}}
 +
:::[[file:ui_bog.png]]{{key|g}}
 +
:::[[file:ui_boP.png]]{{key|P}}
 +
:::[[file:ui_bot.png]]{{key|t}}
 +
::[[file:ui_bf.png]]{{key|f}}Furniture
 +
:::[[file:ui_bfb.png]]{{key|b}}Bed 
 +
:::[[file:ui_bfr.png]]{{key|r}}Chair
 +
:::[[file:ui_bft.png]]{{key|t}}
 +
:::[[file:ui_bfh.png]]{{key|h}}
 +
:::[[file:ui_bfn.png]]{{key|n}}
 +
:::[[file:ui_bfx.png]]{{key|x}}
 +
:::[[file:ui_bfl.png]]{{key|l}}
 +
:::[[file:ui_bfu.png]]{{key|u}}
 +
:::[[file:ui_bfT.png]]{{key|T}}
 +
:::[[file:ui_bfo.png]]{{key|o}}
 +
:::[[file:ui_bfy.png]]{{key|y}}
 +
:::[[file:ui_bfp.png]]{{key|p}}
 +
:::[[file:ui_bfi.png]]{{key|i}}
 +
::[[file:ui_bp.png]]{{key|p}}Doors/Hatches
 +
:::[[file:ui_bpr.png]]{{key|r}}
 +
:::[[file:ui_bph.png]]{{key|h}}
 +
::[[file:ui_bn.png]]{{key|n}}Constructions
 +
:::[[file:ui_bnl.png]]{{key|l}}wall
 +
:::[[file:ui_bnf.png]]{{key|f}}
 +
:::[[file:ui_bnr.png]]{{key|r}}
 +
:::[[file:ui_bnt.png]]{{key|t}}
 +
:::[[file:ui_bnb.png]]{{key|b}}
 +
:::[[file:ui_bno.png]]{{key|o}}
 +
:::[[file:ui_bnO.png]]{{key|O}}
 +
:::[[file:ui_bnF.png]]{{key|F}}
 +
:::[[file:ui_bnG.png]]{{key|G}}
 +
:::[[file:ui_bng.png]]{{key|g}}
 +
:::[[file:ui_bnM.png]]{{key|M}}
 +
:::[[file:ui_bnm.png]]{{key|m}}
 +
:::[[file:ui_bny.png]]{{key|y}}
 +
:::[[file:ui_bnY.png]]{{key|Y}}
 +
:::[[file:ui_bnp.png]]{{key|p}}
 +
:::[[file:ui_bnk.png]]{{key|k}}
 +
:::[[file:ui_bnK.png]]{{key|K}}
 +
::[[file:ui_bm.png]]{{key|m}}Machines/Fluids 
 +
:::[[file:ui_bml.png]]{{key|l}}
 +
:::[[file:ui_bmL.png]]{{key|L}}
 +
:::[[file:ui_bmf.png]]{{key|f}}
 +
:::[[file:ui_bmp.png]]{{key|p}}
 +
:::[[file:ui_bmh.png]]{{key|h}}
 +
:::[[file:ui_bmm.png]]{{key|m}}
 +
:::[[file:ui_bmg.png]]{{key|g}}
 +
:::[[file:ui_bma.png]]{{key|a}}
 +
:::[[file:ui_bmA.png]]{{key|A}}
 +
:::[[file:ui_bmn.png]]{{key|n}}
 +
:::[[file:ui_bmr.png]]{{key|r}}
 +
::[[file:ui_br.png]]{{key|r}}Cages/Restraints
 +
:::[[file:ui_brh.png]]{{key|h}}
 +
:::[[file:ui_brg.png]]{{key|g}}
 +
:::[[file:ui_brt.png]]{{key|t}}
 +
::[[file:ui_bt.png]]{{key|t}}Trap
 +
:::[[file:ui_btp.png]]{{key|p}}
 +
:::[[file:ui_btt.png]]{{key|t}}
 +
:::[[file:ui_bto.png]]{{key|o}}
 +
:::[[file:ui_btg.png]]{{key|g}}
 +
:::[[file:ui_btu.png]]{{key|u}}
 +
::[[file:ui_by.png]]{{key|y}}Military
 +
:::[[file:ui_byt.png]]{{key|t}}
 +
:::[[file:ui_byr.png]]{{key|r}}
 +
:::[[file:ui_byn.png]]{{key|n}}
 +
:::[[file:ui_byb.png]]{{key|b}}
 +
:::[[file:ui_byp.png]]{{key|p}}
 +
::[[file:ui_bT.png]]{{key|T}}Trade Depot
  
 
== Metal example ==
 
== Metal example ==
Line 196: Line 307:
 
* 2x2   
 
* 2x2   
 
* 3x1  96px 46py        ([[Water wheel]])
 
* 3x1  96px 46py        ([[Water wheel]])
 
=== Minimal change option ===
 
{|
 
|- valign=top
 
|
 
{| style="width:200px; background-color:#eaecf0;"
 
|-
 
|rowspan=2|[[File:Carpenter's workshop.png|150px]]
 
|{{Template:Floor Plan Carpenter's workshop}}
 
|-
 
|{{Template:Picture Carpenter's workshop}}
 
|}
 
|
 
{| style="width:200px; background-color:#eaecf0;"
 
|-
 
|rowspan=2|[[File:Carpenter's workshop.png|130px|link=]]
 
| style="line-height: 1em;font-size: 135%;"|
 
{{Floor Plan|2:1|2:1|2:1|2:0|2:1|2:1|2:0|2:1|2:0}}
 
|-
 
|
 
{| style=" font-size: 135%; border-spacing: 0; background: black; border: 2px solid black"
 
|- <!-- raw tile changes adds padding and margin -->
 
| style="padding: 0; line-height: 1em"|
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|"|7:0:0}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|{{=}}|6:0:0}}
 
|-
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
| style="padding: 0; line-height: 1em"|
 
| style="padding: 0; line-height: 1em"|
 
|-
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|]|0:0:1}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
|}
 
|}
 
|
 
{| style="width:200px; padding:10px; background-color:#eaecf0;"
 
|-
 
| [[File:Screw_press.png|32px|center|link=]]
 
| style="font-size:125%;"|{{Template:Picture Screw press}}
 
| {{Template:Floor Plan Screw press}}
 
|}
 
|}
 
 
=== "Tab" option without tabs ===
 
{|
 
|- valign=top
 
|
 
{| style="width:200px; background-color:#eaecf0;"
 
|<span class="mw-customtoggle-infoboxtab mw-ui-button mw-ui-progressive">Change view</span>
 
<div class="mw-collapsible" id="mw-customcollapsible-infoboxtab">[[File:Carpenter's workshop.png]]</div>
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-infoboxtab">{{Template:Picture Carpenter's workshop}}{{Template:Floor Plan Carpenter's workshop}}</div>
 
|}
 
|
 
{| style="width:200px; height:165px; background-color:#eaecf0;"
 
|- valign=top
 
|<span class="mw-customtoggle-infoboxtab mw-ui-button mw-ui-progressive">Change view</span>
 
<div class="mw-collapsible" id="mw-customcollapsible-infoboxtab">
 
{|
 
|rowspan=2|[[File:Carpenter's workshop.png]]
 
|
 
{| style="border-spacing:5px;"
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
|-
 
| style="width:18px; height:18px;  background-color:#86878a; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
|-
 
| style="width:18px; height:18px;  background-color:#86878a; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#86878a; border:1px solid #545557;"|
 
|}
 
|-
 
| style="text-align: center;" | Layout
 
|}
 
</div>
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-infoboxtab"">
 
{| style="width:100%;"
 
|rowspan=2 style="width:50%; padding:10px;"|<center>
 
{| style="font-size: 175%; border-spacing: 0; background-color: black; border: 2px solid black"
 
|- <!-- raw tile changes adds padding and margin -->
 
| style="padding: 0; line-height: 1em"|
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|"|7:0:0}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|{{=}}|6:0:0}}
 
|-
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
| style="padding: 0; line-height: 1em"|
 
| style="padding: 0; line-height: 1em"|
 
|-
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|]|0:0:1}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
|}</center>
 
| style="padding:10px; line-height: 1em;font-size: 150%;"|
 
<center>{{Floor Plan|2:1|2:1|2:1|2:0|2:1|2:1|2:0|2:1|2:0}}</center>
 
|-
 
| style="text-align: center;" | Layout
 
|}
 
|}
 
|
 
{| style="width:200px; background-color:#eaecf0;"
 
|- valign=top
 
|colspan=2|<span class="mw-customtoggle-infoboxtab mw-ui-button mw-ui-progressive">Change view</span>
 
|-
 
|rowspan=2 style="width:50%;"|
 
<div class="mw-collapsible" id="mw-customcollapsible-infoboxtab">[[File:Carpenter's workshop.png]]</div>
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-infoboxtab""><center>
 
{| style="font-size: 175%; border-spacing: 0; background-color: black; border: 2px solid black"
 
|- <!-- raw tile changes adds padding and margin -->
 
| style="padding: 0; line-height: 1em"|
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|"|7:0:0}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|{{=}}|6:0:0}}
 
|-
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
| style="padding: 0; line-height: 1em"|
 
| style="padding: 0; line-height: 1em"|
 
|-
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|]|0:0:1}}
 
| style="padding: 0; line-height: 1em"| {{Raw Tile|░|0:7:1}}
 
|}</center></div>
 
|
 
{| style="border-spacing:5px;"
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
|-
 
| style="width:18px; height:18px;  background-color:#86878a; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
|-
 
| style="width:18px; height:18px;  background-color:#86878a; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#b7b9bd; border:1px solid #545557;"|
 
| style="width:18px; height:18px;  background-color:#86878a; border:1px solid #545557;"|
 
|}
 
|-
 
| style="text-align: center;" | Layout
 
|}
 
</div>
 
|}
 
  
 
=== All version ===
 
=== All version ===
Line 597: Line 566:
 
{{Clear}}
 
{{Clear}}
 
----
 
----
 
 
{| {{prettytable}}
 
|- style='background-color:#ddd'
 
! width="20%" | Token
 
! width="20%" | Arguments
 
! width="60%" | Description
 
 
|-
 
| {{text anchor|NAME}}
 
|
 
*name
 
| The singular form of the plant's name as seen in-game.
 
 
|-
 
| {{text anchor|NAME_PLURAL}}
 
|
 
*name
 
| The plural form of the plant's name as seen in-game.
 
 
|-
 
| {{text anchor|ADJ}}
 
|
 
*adjective
 
| The word or phrase used to describe items made from this plant.
 
 
|-
 
| {{text anchor|ALL_NAMES}}
 
|
 
*name
 
| Sets the NAME, NAME_PLURAL, and ADJ to the specified string.
 
 
|-
 
| {{text anchor|PREFSTRING}}
 
|
 
*reason
 
| What dwarves can like this object for (e.g. "Urist likes plump helmets for their rounded tops.")
 
 
|-
 
| {{text anchor|MATERIAL}}
 
|
 
*material_name
 
| Starts defining a new local plant material with the given name and '''no''' properties.
 
 
|-
 
| {{text anchor|USE_MATERIAL}}
 
|
 
*material_name
 
*old_material
 
| Starts defining a new local plant material with the given name and using the properties of another local plant material.
 
 
|-
 
| {{text anchor|USE_MATERIAL_TEMPLATE}}
 
|
 
*material_name
 
*template_name
 
| Starts defining a new local plant material with the given name and using the properties of the specified material template.
 
 
|-
 
| {{text anchor|BASIC_MAT}}
 
|
 
* [[Material token|material]]
 
| Sets the basic material of the plant. According to Toady, you can use other materials (for instance, iron) but the game may hiccup on plants that aren't structurally plants. For crops, said material should have [STRUCTURAL_PLANT_MAT] to permit proper stockpiling. Generally, this should be "LOCAL_PLANT_MAT:material_name", using a material defined using MATERIAL, USE_MATERIAL, or USE_MATERIAL_TEMPLATE.
 
|}
 
 
{| {{prettytable}}
 
|- style='background-color:#ddd'
 
! width="20%" | Token
 
! width="20%" | Arguments
 
! width="60%" | Description
 
 
|-
 
|{{text anchor|NAME}}
 
|
 
*name
 
| The singular form of the plant's name as seen in-game.
 
border-top:1px solid #dddddd;
 
|- style='background-color:#f5f5f5'
 
| {{text anchor|NAME_PLURAL}}
 
|
 
*name
 
| The plural form of the plant's name as seen in-game.
 
 
|-
 
| {{text anchor|ADJ}}
 
|
 
*adjective
 
| The word or phrase used to describe items made from this plant.
 
 
|- style='background-color:#f5f5f5'
 
| {{text anchor|ALL_NAMES}}
 
|
 
*name
 
| Sets the NAME, NAME_PLURAL, and ADJ to the specified string.
 
 
|-
 
| {{text anchor|PREFSTRING}}
 
|
 
*reason
 
| What dwarves can like this object for (e.g. "Urist likes plump helmets for their rounded tops.")
 
 
|- style='background-color:#f5f5f5'
 
| {{text anchor|MATERIAL}}
 
|
 
*material_name
 
| Starts defining a new local plant material with the given name and '''no''' properties.
 
 
|-
 
| {{text anchor|USE_MATERIAL}}
 
|
 
*material_name
 
*old_material
 
| Starts defining a new local plant material with the given name and using the properties of another local plant material.
 
 
|- style='background-color:#f5f5f5'
 
| {{text anchor|USE_MATERIAL_TEMPLATE}}
 
|
 
*material_name
 
*template_name
 
| Starts defining a new local plant material with the given name and using the properties of the specified material template.
 
 
|-
 
| {{text anchor|BASIC_MAT}}
 
|
 
* [[Material token|material]]
 
| Sets the basic material of the plant. According to Toady, you can use other materials (for instance, iron) but the game may hiccup on plants that aren't structurally plants. For crops, said material should have [STRUCTURAL_PLANT_MAT] to permit proper stockpiling. Generally, this should be "LOCAL_PLANT_MAT:material_name", using a material defined using MATERIAL, USE_MATERIAL, or USE_MATERIAL_TEMPLATE.
 
|}
 
  
 
{| style="border: none;padding:8px; border-top:1px solid #dddddd;|{{prettytable}} style="border: none;padding:8px; width:auto;"
 
{| style="border: none;padding:8px; border-top:1px solid #dddddd;|{{prettytable}} style="border: none;padding:8px; width:auto;"
Line 1,216: Line 1,058:
 
|
 
|
 
|}
 
|}
 
== Tokens ==
 
 
* [{{text anchor|MANNERISM_EYELIDS}}]
 
* [{{text anchor|MANNERISM_FINGERS}}:finger:fingers]
 
* [{{text anchor|MANNERISM_NOSE}}:nose]
 
 
syntax highlighting - for simple and quick code block highlight :
 
 
<syntaxhighlight lang="BBCode">
 
* [MANNERISM_EYELIDS]
 
* [MANNERISM_FINGERS:finger:fingers]
 
* [MANNERISM_NOSE:nose]
 
</syntaxhighlight>
 
 
Inline template stuff:
 
* [{{text anchor|MANNERISM_FINGERS}}:finger:fingers]
 
* <span style="background-color: #eaecf0; font-family: monospace,monospace;"><span style="margin: 0 2px;">[</span><!--
 
--><span style="color: #008000">MANNERISM_FINGERS</span><!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="color: #7D9029;">fingers</span><!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="color: #BC7A00;">fingers</span><!--
 
--><span style="margin: 0 2px;">]</span></span>
 
* <span style="background-color: #eaecf0; font-family: monospace,monospace; font-weight: bold;"><span style="margin: 0 2px;">[</span><!--
 
--><span style="color: #008000">MANNERISM_FINGERS</span><!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="color: #7D9029;">fingers</span><!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="color: #BC7A00;">fingers</span><!--
 
--><span style="margin: 0 2px;">]</span></span>
 
* <span style="background-color: #eaecf0; font-family: monospace,monospace;"><span style="margin: 0 2px;">[</span><!--
 
--><span style="color: #0645ad;">MANNERISM_FINGERS</span><!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="">fingers</span><!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="">fingers</span><!--
 
--><span style="margin: 0 2px;">]</span></span>
 
* <span style="background-color: #eaecf0; font-family: monospace,monospace; font-weight: bold;"><span style="margin: 0 2px;">[</span><!--
 
--><span style="color: #0645ad">MANNERISM_FINGERS</span><!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="">fingers</span><!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="">fingers</span><!--
 
--><span style="margin: 0 2px;">]</span></span>
 
 
Template with anchor but no link:
 
<pre>
 
<span id="{{{1}}}" style="background-color: #eaecf0; font-family: monospace,monospace; font-weight: bold;"><span style="margin: 0 2px;">[</span><!--
 
--><span style="color: #008000">{{{1}}}</span><!--
 
-->{{#if:{{{2|}}}|<!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="color: #7D9029;">{{{2}}}</span>}}<!--
 
-->{{#if:{{{3|}}}|<!--
 
--><span style="margin: 0 2px;">:</span><!--
 
--><span style="color: #BC7A00;">{{{3}}}</span>}}<!--
 
--><span style="margin: 0 2px;">]</span></span>
 
</pre>
 
  
 
== Modding notes ==
 
== Modding notes ==

Latest revision as of 10:56, 6 January 2023

Misc variants[edit]

This article is about the current version of DF.
Eo circle green white caret-double-down.svg More...
Eo circle green white caret-double-down.svg Collapsebla bla bla bla bla


v50.05 ▼ This article is about the current version of DF.


This article is about the current version of DF ( v50.14 | v0.47.05 | v0.34 | v0.31 | v0.28 | v0.23 )


In game[edit]

Start
Quit
Delete


build shortkeys[edit]

Ui b.pngbBuild
Ui bo.pngoWorkshops
Ui bol.pnglClothing and Leather
Ui boll.pnglLeather
Ui bolo.pngoLoom
Ui bolk.pngkClothes
Ui boly.pngyDyer
Ui bof.pngfFarming
Ui bofp.pngpFarm plot
Ui bofl.pnglStill
Ui bofb.pngb
Ui boft.pngt
Ui bofy.pngy
Ui bofk.pngk
Ui boff.pngf
Ui bofq.pngq
Ui bofv.pngv
Ui bofn.pngn
Ui bofh.pngh
Ui bou.pnguFurnaces
Ui boug.pnggGlass Furnace
Ui bouk.pngkKlin
Ui bouG.pngGMagma glass Furnace
Ui bouK.pngK
Ui bouL.pngL
Ui boul.pngl
Ui bouf.pngf
Ui boy.pngy
Ui bob.pngb
Ui bop.pngp
Ui bor.pngr
Ui boj.pngj
Ui boI.pngI
Ui boh.pngh
Ui boi.pngi
Ui boR.pngR
Ui bog.pngg
Ui boP.pngP
Ui bot.pngt
Ui bf.pngfFurniture
Ui bfb.pngbBed
Ui bfr.pngrChair
Ui bft.pngt
Ui bfh.pngh
Ui bfn.pngn
Ui bfx.pngx
Ui bfl.pngl
Ui bfu.pngu
Ui bfT.pngT
Ui bfo.pngo
Ui bfy.pngy
Ui bfp.pngp
Ui bfi.pngi
Ui bp.pngpDoors/Hatches
Ui bpr.pngr
Ui bph.pngh
Ui bn.pngnConstructions
Ui bnl.pnglwall
Ui bnf.pngf
Ui bnr.pngr
Ui bnt.pngt
Ui bnb.pngb
Ui bno.pngo
Ui bnO.pngO
Ui bnF.pngF
Ui bnG.pngG
Ui bng.pngg
Ui bnM.pngM
Ui bnm.pngm
Ui bny.pngy
Ui bnY.pngY
Ui bnp.pngp
Ui bnk.pngk
Ui bnK.pngK
Ui bm.pngmMachines/Fluids
Ui bml.pngl
Ui bmL.pngL
Ui bmf.pngf
Ui bmp.pngp
Ui bmh.pngh
Ui bmm.pngm
Ui bmg.pngg
Ui bma.pnga
Ui bmA.pngA
Ui bmn.pngn
Ui bmr.pngr
Ui br.pngrCages/Restraints
Ui brh.pngh
Ui brg.pngg
Ui brt.pngt
Ui bt.pngtTrap
Ui btp.pngp
Ui btt.pngt
Ui bto.pngo
Ui btg.pngg
Ui btu.pngu
Ui by.pngyMilitary
Ui byt.pngt
Ui byr.pngr
Ui byn.pngn
Ui byb.pngb
Ui byp.pngp
Ui bT.pngTTrade Depot

Metal example[edit]

Pig iron
PigIron Swatch.png
÷ Ω Ω Ω Ω Ω ÷
= = Ω
= Ω
= = Ω
= Ω
÷ Ω Ω Ω Ω Ω ÷
Uses
Properties
Fire-safe Magma-safe

Wikipedia article

Pig iron
PigIron Swatch.png
÷ Ω Ω Ω Ω Ω ÷
Ω = = Ω
Ω = Ω
Ω Ω
÷ Ω Ω Ω Ω Ω ÷
Uses
Properties
Fire-safe Magma-safe

Wikipedia article

Pig iron
toggle
PigIron Swatch.png
÷ Ω Ω Ω Ω Ω ÷
Ω = = Ω
Ω = Ω
Ω Ω
÷ Ω Ω Ω Ω Ω ÷
Uses
Properties
Fire-safe Magma-safe

Wikipedia article

Pig iron
OOjs UI icon eyeClosed-progressive.svg
PigIron Swatch.png
÷ Ω Ω Ω Ω Ω ÷
Ω = = Ω
Ω = Ω
Ω Ω
÷ Ω Ω Ω Ω Ω ÷
Uses
Properties
Fire-safe Magma-safe

Wikipedia article

Pig iron
Toggle grey.png
Toggle orange.png
PigIron Swatch.png
÷ Ω Ω Ω Ω Ω ÷
Ω = = Ω
Ω = Ω
Ω Ω
÷ Ω Ω Ω Ω Ω ÷
Uses
Properties
Fire-safe Magma-safe

Wikipedia article

Workshop example[edit]

Category:Picture Templates

Category:Floor_Plan_Templates

All version[edit]

Base
Change view
Carpenter's workshop.png
" =
]
Layout
3x3
toggle
Hotkey: bog
Carpenter's workshop.png
" =
]
Layout
5x5
toggle
Hotkey: bog
Siege workshop.png
o
\
/
o
~
Layout
1x1
Hotkey: bog
Screw press.png
X
1x3
Hotkey: bog
X
X
X

Gamefolder[edit]

If you installed Dwarf Fortress on Arch Linux using pacman, then running dwarffortress will dump the configuration files you should edit into your home directory under .dwarffortress - editing the files under /opt/dwarffortress/data/init will not change how the game behaves.

SU by default we believe the itch.io app stores game files in `%APPDATA%/itch/apps`, at least on windows.

Misc[edit]

Category:Message_box_templates

These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One

These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One

These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One

These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One

How does a dwarven light bulb looks like?

BulbIcon.svg These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One
BulbIcon.svg

These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One

These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One

These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One

These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One


Bulbgraph.png Note: These secret agents are overdoing it...
"What can you tell me about yourself?"
"Me? Who's that? I don't know myself."
Toady One



Conserving Resources

Some things absolutely require wood (like beds and charcoal), but others can be made out of more common materials like stone. For this reason it's best, especially in the beginning, to make everything that you can out of stone. For example, you could make wood chests and barrels, but stone coffers and rock pots would let you save wood for things that require it and help you rid yourself of all that stone. And if you decide you want solid gold chests or something later when you have more resources, you can always throw out the rock coffers.


Conserving Resources

Some things absolutely require wood (like beds and charcoal), but others can be made out of more common materials like stone. For this reason it's best, especially in the beginning, to make everything that you can out of stone. For example, you could make wood chests and barrels, but stone coffers and rock pots would let you save wood for things that require it and help you rid yourself of all that stone. And if you decide you want solid gold chests or something later when you have more resources, you can always throw out the rock coffers.

Conserving Resources

Some things absolutely require wood (like beds and charcoal), but others can be made out of more common materials like stone. For this reason it's best, especially in the beginning, to make everything that you can out of stone. For example, you could make wood chests and barrels, but stone coffers and rock pots would let you save wood for things that require it and help you rid yourself of all that stone. And if you decide you want solid gold chests or something later when you have more resources, you can always throw out the rock coffers.

Conserving Resources

Some things absolutely require wood (like beds and charcoal), but others can be made out of more common materials like stone. For this reason it's best, especially in the beginning, to make everything that you can out of stone. For example, you could make wood chests and barrels, but stone coffers and rock pots would let you save wood for things that require it and help you rid yourself of all that stone. And if you decide you want solid gold chests or something later when you have more resources, you can always throw out the rock coffers.

Dwarf Fortress Icon.svg
Conserving Resources

Some things absolutely require wood (like beds and charcoal), but others can be made out of more common materials like stone. For this reason it's best, especially in the beginning, to make everything that you can out of stone. For example, you could make wood chests and barrels, but stone coffers and rock pots would let you save wood for things that require it and help you rid yourself of all that stone. And if you decide you want solid gold chests or something later when you have more resources, you can always throw out the rock coffers.



Token Arguments Description
NAME
  • name
The singular form of the plant's name as seen in-game.
NAME_PLURAL
  • name
The plural form of the plant's name as seen in-game.
ADJ
  • adjective
The word or phrase used to describe items made from this plant.
ALL_NAMES
  • name
Sets the NAME, NAME_PLURAL, and ADJ to the specified string.
PREFSTRING
  • reason
What dwarves can like this object for (e.g. "Urist likes plump helmets for their rounded tops.")
MATERIAL
  • material_name
Starts defining a new local plant material with the given name and no properties.
USE_MATERIAL
  • material_name
  • old_material
Starts defining a new local plant material with the given name and using the properties of another local plant material.
USE_MATERIAL_TEMPLATE
  • material_name
  • template_name
Starts defining a new local plant material with the given name and using the properties of the specified material template.
BASIC_MAT Sets the basic material of the plant. According to Toady, you can use other materials (for instance, iron) but the game may hiccup on plants that aren't structurally plants. For crops, said material should have [STRUCTURAL_PLANT_MAT] to permit proper stockpiling. Generally, this should be "LOCAL_PLANT_MAT:material_name", using a material defined using MATERIAL, USE_MATERIAL, or USE_MATERIAL_TEMPLATE.
.wikitable,
.prettytable{
    border: none !important;
    width:auto;
    max-width:100%;
    margin-bottom:20px;
    background-color:transparent;
    border-spacing:0px;
}
.wikitable tr,
.prettytable tr{
    border-top:1px solid #dddddd;
}
.wikitable th,.prettytable th{
    border: none !important;
    text-align:left;
}
.wikitable td,.wikitable th,
.prettytable td,.prettytable th{
    border: none !important;
    padding:0;
}
.wikitable tr > th,
.prettytable tr > th{
    padding:8px !important;
    line-height:1.42857143;
    vertical-align:top;
    border-top:1px solid #dddddd;
    border-collapse:collapse;
    border-spacing:0;
    text-align:center;
    vertical-align:middle;
}
.wikitable tr > td,
.prettytable tr > td{
    padding:8px !important;
    line-height:1.42857143;
    vertical-align:top;
    border-top:1px solid #dddddd;
    border-collapse:collapse;
    border-spacing:0
}
.wikitable tbody > tr:nth-child(even),
.prettytable tbody > tr:nth-child(even){
    background-color:#f5f5f5
}
.wikitable tr > th.headerSort,
.prettytable  tr > th.headerSort{
    padding-right:21px !important
}
/*
.wikitable tr:hover{  
    background: #f1f1f1;
*/
}

Navigation[edit]

User Interface:



Quickstart_guide#Pre-EmbarkQuickstart guide/Starting siteSite finderStarting build










Modding:



Development:

Tools & Utilities


Game Files:


Template:Main modding

--

Misc Mechanics:





token nonsense testing style options

Documentation
Graphics
Modding#GuideUtilities#Modding toolsList of modsGraphics set repositoryGame Files
Tokens 1B
General
Color
Creature
Entity
Item definition
Reactions
ItemLaborSkill


Documentation
Graphics
Tokens
Modding#GuideUtilities#Modding toolsList of modsGraphics set repositoryGame Files
Documentation
Graphics
Tokens
Modding guideUtilities#Modding toolsList of modsGraphics set repositoryGame Files
Modding 3B large list double space
Documentation
Graphics
Tokens
Modding guideUtilities#Modding toolsList of modsGraphics set repositoryGame Files
Modding 5 large list grouping instead of sub groups - automatic with hlist
Documentation
Graphics
Tokens
Modding guideUtilities#Modding toolsList of modsGraphics set repositoryGame Files
Modding 5A - grouping, double space
Documentation
Graphics
Tokens
Modding guideUtilities#Modding toolsList of modsGraphics set repositoryGame Files
Modding 5B grouping bold, double space
Documentation
Graphics
Tokens
Modding guideUtilities#Modding toolsList of modsGraphics set repositoryGame Files
Modding 5c grouping highilghted otherwise, double space
Documentation
Graphics
Tokens
Modding guideUtilities#Modding toolsList of modsGraphics set repositoryGame Files

Reference[edit]


Furniture
AltarAnimal trapArmor standBedBoxBucketCabinetCageCoffinDisplay casePedestalRestraintSeatSlabStatueTableWeapon rack
Tools

Access
BarsBridgeDoorFloodgateGrateHatchRoadWindow
Constructions
Machine and trap parts
Other buildings

Related articles

Template:DF2014 diamonds

Settings
Gameplay settings
Log files
Other
Ornamental (2☼-15☼)
Agates
Feldspars
Jades
Jaspers
Opals
Quartzes
Tourmalines
Semi-Precious (20☼-30☼)
Beryls
Chrysoberyls
Garnets
Grossulars
Opals
Zircons
Tourmalines
Spinels
Precious (40☼)
Rare (60☼)
See also: DiamondGlassStone
Mining
Woodworking
Stoneworking
Hunting/Related
Healthcare
Farming/Related
Fishing/Related
Metalsmithing
Jewelry
Crafts
Engineering
Hauling
Other Jobs
More: GemsMetalsStones
Creature
BloodBoneBrainCartilageCheeseChitinEggFatFeatherHair (WoolYarn) • HoofHornIchorLeatherMilkNailNervous tissueParchmentPearlScaleShellSilkSkinSpitSweatTallowTearsToothWax
Plant
Fiber (PaperSlurry) • FlowerFruitLeafOil • Plant powders (DyeFlour) • Seed (Press cake) • Wood
Creature/Plant
Inorganic
Hardcoded
AmberAshCoralFilthFuelGlassGrimeIceLyeMagmaMudPearlashPotashSaltUnknown substanceVomitWater
See also: Material science
Base
AluminumBismuthCopperGoldIronLeadNickelPlatinumSilverTinZinc
Alloys
Special
Military and defense
F.A.Q.
Guides
Managing soldiers
Design tips
Invaders
Appointed Nobles
Military Ranks
Elected Nobles
Aristocrats
BaronCountDukeMonarch
Other
Unused
Elven
Surface
Crops
Garden
Other
Subterranean
Surface
AbacaAcaciaAlderAlmondAppleApricotAshAvocadoBananaBayberryBirchBitter orangeCacao treeCandlenutCarambolaCashewCedarCherryChestnutCitronCoconut palmCoffeeCustard-appleDate palmDesert limeDurianFeather treeFinger limeGinkgoGlumprongGuavaHazelHighwoodKapokKumquatLarchLimeLycheeMacadamiaMahoganyMango treeMangroveMapleOakOliveOrangePapayaParadise nutPeachPearPecanPersimmonPinePlumPomegranatePomeloRambutanRound limeRubber treeSaguaroSand pearTeaWalnutWillow
Subterranean
Surface
Subterranean
Miner
Woodworker
Stoneworker
Ranger
Doctor
Farmer
Fishery worker
Metalsmith
Jeweler
Craftsdwarf
Engineer

Administrator
Military
General
Weapon
Other
Social
Broker
Other
Performance
Music
Poetry
Dance
Storytelling
Scholar

Other/Peasant
Unused
Topsoil
Ocean floor
Sand
Clay
Sedimentary
Igneous
Intrusive
Extrusive
Metamorphic
Ore
Economic
Other
Insects & bugs
Subterranean
Birds
Mammals
Oceanic
Rivers & lakes
Reptiles & amphibians
Other
Ranged and ammunition
Blowgun and blowdart · Bow and arrow · Crossbow and bolt
Blunt
Edged (slashing)
Edged (piercing)
Dagger · Morningstar · Pick · Pike · Spear
See also: Attack types
Workshops
Furnaces
Related articles
Worlds
General
Map
Biomes
Chasm · Desert · Forest · Glacier · Grassland · Lake · Mountain · Murky pool · Ocean · River · Savanna · Shrubland · Tundra · Wetland
Features
Aquifer · Brook · Deep pit · Island · Magma pool · Passage · Road · Tunnel · Volcano · Waterfall
Underground
Civilization
Sites
Camp · Castle · Cave · Dark fortress · Dark pits · Forest retreat · Fort · Fortress · Hamlet · Hillocks · Labyrinth · Lair · Monastery · Mountain halls · Ruins · Shrine · Tomb · Tower · Town · Vault
Structures
Other

Other Misc curiosities[edit]

{{Columns-list}} - css "fix" for the annoying margin glitch that skews columns sometimes.

Download links[edit]

Bay12Forum GitHubSomething


Bay12Download DFFDDownload SteamDownload


Button text Get Started Tutorial

Files[edit]

Maybe merge many of the file articles stubs, and create an entry which documents all DF important files and folders.

Folder-orange.svg Dwarf Fortress
Folder.svg data
  Folder.svg art
  Folder.svg init
  Folder.svg save
  Folder.svg sound
Folder.svg raw
  Folder.svg graphics
  Folder.svg objects


Folder-orange.svg Dwarf Fortress
Folder.svg data
  Folder.svg init
   Text-x-generic.svgannouncements.txt
   Text-x-generic.svgarena.txt
   Text-x-generic.svgcolors.txt
   Text-x-generic.svgd init.txt
   Text-x-generic.svgembark profiles.txt
   Text-x-generic.svginit.txt
   Text-x-generic.svginterface.txt
   Text-x-generic.svgmacros
   Text-x-generic.svgworld gen.txt
Text-x-generic.svggamelog.txt
Text-x-generic.svgerrorlog.txt


Folder-orange.svgDwarf Fortress \ Folder.svgdata \ Folder.svginit

Text-x-generic.svg announcements.txt used to control the types of announcements displayed in-game
Text-x-generic.svg arena.txt
Text-x-generic.svg colors.txt defines the color scheme
Text-x-generic.svg d init.txt contains settings that affect game features such as saving and population controls. Further detail here.
Text-x-generic.svg embark profiles.txt
Text-x-generic.svg init.txt contains mostly the settings pertaining to the window, rendering and sound of Dwarf Fortress. Further detail here.
Text-x-generic.svg interface.txt Manually edit Key bindings
Text-x-generic.svg macros
Text-x-generic.svg world gen.txt

Modding notes[edit]

  • Token is catch all name for everything inside brackets
  • Token pages
    • Most document how to define new objects of that type.
    • Some document how to reference objects and list their default parameters e.g. Material_token and Item_token
    • Article naming is inconsistent
    • Some Token objects aren't covered or aren't tagged as such e.g. Caste.
  • Documentation
    • Our syntax is sometimes unclear to the uninitiated e.g. Creature token wth is caste TYPE how it differs from creature type of special?
    • Our syntax is sometimes inconsistent.
    • Some object names seems inconsistent as far as I understand their use here.
[OBJECT:CREATURE]
[CREATURE:<identifier>]

Don't match
[OBJECT:DESCRIPTOR_COLOR]   - match article name, never used
[COLOR:<identifier>]        - what is used everwhere that I seen.
[OBJECT:DESCRIPTOR_PATTERN]
[COLOR_PATTERN:<identifier>]
[OBJECT:DESCRIPTOR_SHAPE]
[SHAPE:<identifier>]