From Dwarf Fortress Wiki
Jump to navigation Jump to search
This article is about an older version of DF.

A bodygloss is a token in the raw body tokens and creature tokens which performs a simple word substitution on the creature's body parts. For instance, if a creature makes use of the "[BODYGLOSS:PAW]" token, then a hypothetical body part called "second right foot" would be renamed "second right paw".

It is important to distinguish the body token and creature token versions. The body token variant is defined anywhere in an "OBJECT:BODY" file and has the following syntax: [BODYGLOSS:id:match:replacement]

To make use of this token, the creature token variant is included beneath a creature definition (in an "OBJECT:CREATURE" file) and has the following syntax: [BODYGLOSS:id]

Then, it will perform the word substitution defined by the bodygloss in the body tokens file; any occurrence of the word match in any body part will be replaced with the word replacement.

The default list of bodyglosses included in the unmodded Dwarf Fortress is as follows, as taken from body_default.txt: