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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Quality|Fine|02:24, 23 April 2018 (UTC)}}
+
{{migrated article}}
 +
{{Quality|Unrated}}
 
{{av}}
 
{{av}}
 
{{Distinguish|cast}}
 
{{Distinguish|cast}}
 +
{{Modding}}
  
A caste is a means of defining a sub-species within the broader creature definition.  When a creature is spawned, they are made into a randomly determined caste of the creature, using either equal weighting (by default), or the POP_RATIO tag.  Castes were originally conceived mainly for male/female distinction, and in vanilla DF, mostly serve the purpose of making males and females differ.
+
A caste is a means of defining a sub-species within the broader [[Creature token|creature definition]].  When a creature is spawned, they are made into a randomly determined caste of the creature, using either equal weighting (by default), or the {{token|POP_RATIO|c}} tag.  Castes were originally conceived mainly for male/female distinction, and in vanilla DF, mostly serve the purpose of making males and females differ from each other. Many of the game's graphics will reflect the details of a creature's body. Many of the game's creatures will have a unique sprite for both the male and female version.
  
 
Caste-level definitions of a creature may be (and, in the vanilla raws, often are) defined for all castes at once.
 
Caste-level definitions of a creature may be (and, in the vanilla raws, often are) defined for all castes at once.
  
The entire skeleton (that is, the BODY: tag) and tissue structure of creatures are moddable on a caste level, which allows for creatures with radically different body types (such as a giant spider and a human) to share the same "species". In fact, virtually every creature-level token is apparently caste-level moddable.  The only tags that are believed to buck this trend are the BIOME tag, which would create a race incapable of breeding with itself if used improperly by segregating males and females, the SPHERE tag, and MEGABEAST tag, presumably to prevent megabeasts from breeding. Also, the vermin-related tags are in the creature-level. This also means it is possible to make [INTELLIGENT] caste-level moddable, and then make, among other things, ''male dwarves who are milkable'', thanks to the extreme power of the moddability of the raws.
+
The entire skeleton (that is, the <code>BODY:</code> tag) and tissue structure of creatures are moddable on a caste level, which allows for creatures with radically different body types (such as a giant spider and a human) to share the same "species". In fact, virtually every creature-level token is apparently caste-level moddable.  The only tags that are believed to buck this trend are the {{token|BIOME|c}} tag, which would create a race incapable of breeding with itself if used improperly by segregating males and females, the {{token|SPHERE|c}} tag, and {{token|MEGABEAST|c}} tag, presumably to prevent megabeasts from breeding. Also, the vermin-related tags are in the creature-level. This also means it is possible to make {{token|INTELLIGENT|c}} caste-level moddable, and then make, among other things, ''male dwarves who are milkable'', thanks to the extreme power of the moddability of the raws.
  
Some bugs are possible through modding, such as creating "fractal bodies" by defining the BODY tag in the creature level, and then creating a new caste-level definition of the creature.  This generates duplicate body parts which increase in number the further away they are from the Upper Body part, with six upper arms, eight lower arms, and ten hands.
+
Some bugs are possible through modding, such as creating "fractal bodies" by defining the {{token|BODY|c}} tag in the creature level, and then creating a new caste-level definition of the creature.  This generates duplicate body parts, which increase in number the further away they are from the Upper Body part, with six upper arms, eight lower arms, and ten hands.  Please mod responsibly.
  
Please mod responsibly.
+
;Selecting Castes:
 +
{|
 +
|<code>[CASTE:<CASTE_NAME>]</code> ||defines a caste called <CASTE_NAME>. Tags following this affect only this caste.
 +
|-
 +
|<code>[SELECT_CASTE:ALL]</code>  ||state the following tags affect all Castes
 +
|-
 +
|<code>[SELECT_CASTE:<CASTE_1>]</code>||...
 +
|-
 +
|<code>[SELECT_ADDITIONAL_CASTE:<CASTE_2>]</code>||...
 +
|-
 +
|<code>[SELECT_ADDITIONAL_CASTE:<CASTE_3>]</code>||, etc., is used to specify that tags affect a subset of Castes
 +
|}
  
=== Selecting Castes ===
+
{{Category|Game mechanics}}
 
 
[CASTE:<CASTE_NAME>] defines a caste called <CASTE_NAME>. Tags following this affect only this caste.
 
 
 
[SELECT_CASTE:ALL] state the following tags affect all Castes
 
 
 
[SELECT_CASTE:<CASTE_1>]
 
 
 
[SELECT_ADDITIONAL_CASTE:<CASTE_2>]
 
 
 
[SELECT_ADDITIONAL_CASTE:<CASTE_3>], etc., is used to specify that tags affect a subset of Castes
 
 
 
 
 
==See also==
 
* [[Creature token]]
 
 
[[ru:Caste]]
 
[[ru:Caste]]

Latest revision as of 05:34, 20 January 2023

This article is about the current version of DF.
Note that some content may still need to be updated.

Not to be confused with cast.


A caste is a means of defining a sub-species within the broader creature definition. When a creature is spawned, they are made into a randomly determined caste of the creature, using either equal weighting (by default), or the [POP_RATIO] tag. Castes were originally conceived mainly for male/female distinction, and in vanilla DF, mostly serve the purpose of making males and females differ from each other. Many of the game's graphics will reflect the details of a creature's body. Many of the game's creatures will have a unique sprite for both the male and female version.

Caste-level definitions of a creature may be (and, in the vanilla raws, often are) defined for all castes at once.

The entire skeleton (that is, the BODY: tag) and tissue structure of creatures are moddable on a caste level, which allows for creatures with radically different body types (such as a giant spider and a human) to share the same "species". In fact, virtually every creature-level token is apparently caste-level moddable. The only tags that are believed to buck this trend are the [BIOME] tag, which would create a race incapable of breeding with itself if used improperly by segregating males and females, the [SPHERE] tag, and [MEGABEAST] tag, presumably to prevent megabeasts from breeding. Also, the vermin-related tags are in the creature-level. This also means it is possible to make [INTELLIGENT] caste-level moddable, and then make, among other things, male dwarves who are milkable, thanks to the extreme power of the moddability of the raws.

Some bugs are possible through modding, such as creating "fractal bodies" by defining the [BODY] tag in the creature level, and then creating a new caste-level definition of the creature. This generates duplicate body parts, which increase in number the further away they are from the Upper Body part, with six upper arms, eight lower arms, and ten hands. Please mod responsibly.

Selecting Castes
[CASTE:<CASTE_NAME>] defines a caste called <CASTE_NAME>. Tags following this affect only this caste.
[SELECT_CASTE:ALL] state the following tags affect all Castes
[SELECT_CASTE:<CASTE_1>] ...
[SELECT_ADDITIONAL_CASTE:<CASTE_2>] ...
[SELECT_ADDITIONAL_CASTE:<CASTE_3>] , etc., is used to specify that tags affect a subset of Castes