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 "40d Talk:Creature token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (sub-type with a hyphen is apparently a MediaWiki formatting symbol...)
Line 1: Line 1:
 
== ITEMCORPSE ==
 
== ITEMCORPSE ==
  
[ITEMCORPSE:<type>:<sub-type>:<material>:<matgloss>]
+
[ITEMCORPSE:<type>:<subtype>:<material>:<matgloss>]
  
 
Does the sub-type field actually have a use, or is the only option "NO_SUBTYPE"?
 
Does the sub-type field actually have a use, or is the only option "NO_SUBTYPE"?

Revision as of 04:02, 9 April 2008

ITEMCORPSE

[ITEMCORPSE:<type>:<subtype>:<material>:<matgloss>]

Does the sub-type field actually have a use, or is the only option "NO_SUBTYPE"?

Anyway, the USE_RACEGLOSS for the matgloss field seems to only work for some (built-in?) materials. For example, the [Treants] use the entry:

   [HAS_RACEGLOSS:WOOD]
   [ITEMCORPSE:WOOD:NO_SUBTYPE:WOOD:USE_RACEGLOSS]

[Treants] will appear as "Mahogany treant", "Oak treant", etc.

However, when using a custom matgloss file, this functionality stops working, and treants (and there log remains) are undescriptive. I've tried creating a matgloss_treant.txt file and adding a few unique entries, like [MATGLOSS_WOOD:FOOBAR_TREE] and [MATGLOSS_WOOD:BAZ_TREE], and editing the [Treant] to:

   [HAS_RACEGLOSS:TREANT]
   [ITEMCORPSE:WOOD:NO_SUBTYPE:WOOD:USE_RACEGLOSS]

...this doesn't seem to do anything. If I want the [Treant] to leave special remains, like my Foobar Tree, I have to change the creature tokens to:

   [HAS_RACEGLOSS:TREANT]
   [ITEMCORPSE:WOOD:NO_SUBTYPE:WOOD:FOOBAR_TREE]

But here, I can only have "Foobar treants".

PACK_ANIMAL

Anybody happen to know anything about the [PACK_ANIMAL] tag? I noticed that muskoxen, mules and donkeys all share this distinction. I also noticed someone in the muskox page had said that muskoxen could serve as haulers. Has Toady implemented a tag for animal haulers and sneaked it past everyone? Perhaps they can only perform this function if they serve as a pet to haulers? Or is it simply that merchants can carry goods on them? Some1else 01:05, 19 February 2008 (EST)

VERMIN_ tags

Made a new creature with VERMIN_CHASM and it spit out an unrecognised token message in my errorlog. Can someone confirm these work? Preferrably by pointing to a creature that has them? --Nunix 18:57, 16 March 2008 (EDT)

thats leftover from 2d. bats and such used to have it, but now have a biome tag instead -Chariot 19:09, 16 March 2008 (EDT)
Thanks. Do we know if that applies to any of the others? --Nunix 18:29, 22 March 2008 (EDT)

Litter size

I've been testing the [LITTER_SIZE] token, and according to my tests it indeed affects the number of children. I set a creature to have 5-10 litter size and it did indeed produce 6 and 7 children, while another creature had 3-5 and produced 3-5 children. I'm gonna remove the "untested" tag from the wiki, feel free to tell me off if it proves otherwise.--Eurytus 23:14, 5 April 2008 (EDT)

Redirect

In conformance with the Community Portal, I think this page should be moved to Creature tokens. It can keep the plural because people are usually concerned with all of the tokens instead of just one. Thoughts? --JT 22:26, 7 April 2008 (EDT)