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 User:Jan/sandbox
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
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 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
− | == | + | == Gamefolder -- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
If you installed ''Dwarf Fortress'' on Arch Linux using <tt>pacman</tt>, then running <tt>dwarffortress</tt> will dump the configuration files you should edit into your home directory under <tt>.dwarffortress</tt> - editing the files under <tt>/opt/dwarffortress/data/init</tt> will ''not'' change how the game behaves. | If you installed ''Dwarf Fortress'' on Arch Linux using <tt>pacman</tt>, then running <tt>dwarffortress</tt> will dump the configuration files you should edit into your home directory under <tt>.dwarffortress</tt> - editing the files under <tt>/opt/dwarffortress/data/init</tt> will ''not'' change how the game behaves. | ||
Line 566: | Line 103: | ||
{{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,058: | Line 722: | ||
| | | | ||
|} | |} | ||
+ | |||
+ | == 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 == |