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
Line 340: Line 340:
 
  --><span style="color: #BC7A00;">{{{3}}}</span>}}<!--
 
  --><span style="color: #BC7A00;">{{{3}}}</span>}}<!--
 
--><span style="margin: 0 2px;">]</span></span>
 
--><span style="margin: 0 2px;">]</span></span>
 +
</pre>
 +
 +
== Modding notes ==
 +
 +
* 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.
 +
<pre>
 +
[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>]
 
</pre>
 
</pre>

Revision as of 01:11, 3 February 2022

Navigation

User Interface:



Quickstart_guide#Pre-EmbarkQuickstart guide/Starting siteSite finderStarting build










Modding:



Development:

Tools & Utilities


Game Files:


Template:Main modding

--

Misc Mechanics:





token nonsense

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
Documentation
Graphics
Tokens
Modding guideUtilities#Modding toolsList of modsGraphics set repositoryGame Files

Other Misc curiosities

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

Download links

Bay12Forum GitHubSomething


Bay12Download DFFDDownload SteamDownload


Button text Get Started Tutorial

Files

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

Tokens

syntax highlighting - for simple and quick code block highlight :

* [MANNERISM_EYELIDS]
* [MANNERISM_FINGERS:finger:fingers]
* [MANNERISM_NOSE:nose]

Inline template stuff:

  • [MANNERISM_FINGERS:finger:fingers]
  • [MANNERISM_FINGERS:fingers:fingers]
  • [MANNERISM_FINGERS:fingers:fingers]
  • [MANNERISM_FINGERS:fingers:fingers]
  • [MANNERISM_FINGERS:fingers:fingers]

Template with anchor but no link:

<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>

Modding notes

  • 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>]