- 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.
Difference between revisions of "v0.31 Talk:Creature token"
Axussriddare (talk | contribs) |
|||
(26 intermediate revisions by 8 users not shown) | |||
Line 9: | Line 9: | ||
== [NOSTUN] causes creatures to sleep forever in Fortress Mode. == | == [NOSTUN] causes creatures to sleep forever in Fortress Mode. == | ||
− | [http://www.bay12forums.com/smf/index.php?topic=59311.msg1348791#msg1348791 Apparently]. Thought it should be at least mentioned here. | + | [http://www.bay12forums.com/smf/index.php?topic=59311.msg1348791#msg1348791 Apparently]. Thought it should be at least mentioned here. [[User:SethCreiyd|SethCreiyd]] 04:51, 23 June 2010 (UTC) |
− | |||
== Population Ratio? == | == Population Ratio? == | ||
Could someone help me understand population ratio? Like if I wanted 1 in 20 goblins to be orcs, what numbers would I type? [[Special:Contributions/24.255.86.193|24.255.86.193]] | Could someone help me understand population ratio? Like if I wanted 1 in 20 goblins to be orcs, what numbers would I type? [[Special:Contributions/24.255.86.193|24.255.86.193]] | ||
+ | :1 on the orcs and 20 on the goblins. Take a look at the antmen for reference. --[[User:Axussriddare|Axussriddare]] 15:39, 11 November 2010 (UTC) | ||
== Baby and child age? == | == Baby and child age? == | ||
Line 20: | Line 20: | ||
:They are counted as years. Take a look at the dwarves for an example. I don't think it will work with [BABY:0:24], but it is worth a try. I have somewhat higher hopes for [BABY:0,065]. Look trough the raws and see if you can find any decimals first. --[[User:Axussriddare|Axussriddare]] 15:38, 11 November 2010 (UTC) | :They are counted as years. Take a look at the dwarves for an example. I don't think it will work with [BABY:0:24], but it is worth a try. I have somewhat higher hopes for [BABY:0,065]. Look trough the raws and see if you can find any decimals first. --[[User:Axussriddare|Axussriddare]] 15:38, 11 November 2010 (UTC) | ||
+ | |||
+ | :Nothing in DF is floating point, either Euro or American style (0,01 vs 0.01). It's all fixed point mathematics. Trying anything except an integer is likely to cause an exception flag in your errorlog.txt or a straight-up crash | ||
+ | |||
+ | == TLCM_IMPORTANCE not working == | ||
+ | This token doesn't appear in the vanilla raws and was likely found in the string dump. I tried using it after coloring a spiders body brown and while it still mentions that my test spider has a narrow body it fails to mention it's color. I'd guess the token doesn't work as intended so I noted this on the page. Does anyone know any better about this? [[User:Vattic|Vattic]] 22:27, 6 December 2010 (UTC) | ||
+ | |||
+ | == Deprecated tokens == | ||
+ | There seems to be a number of tokens which are no longer recognized (Such as ignite_point.) should these be marked as non working or should they be deleted? It could be that these tokens still function but not as creature tokens (Where I am getting errors about unrecognized tokens.)--[[User:Cameron|Cameron]] 01:59, 4 February 2011 (UTC) | ||
+ | :For the record, those tokens were '''never''' valid tokens in version 0.31.xx - they had been blindly copied from the 40d creature token list. The list has since been synchronized with what is actually valid. --[[User:Quietust|Quietust]] 14:24, 22 November 2011 (UTC) | ||
+ | |||
+ | == Tissue tokens, and some others == | ||
+ | |||
+ | I think the various [TISSUE]-related tokens (TISSUE_NAME, TISSUE_MATERIAL, TISSUE_MAT_STATE, MUSCULAR, FUNCTIONAL, STRUCTURAL, RELATIVE_THICKNESS, CONNECTS, TISSUE_SHAPE, and any others that appear solely "within" a [TISSUE] token) should be moved to their own section, since they cannot be used in the general context of a creature definition. The same would be appropriate for [ATTACK] and [SYNDROME], as well as any other tokens that are context-sensitive - after all, it's possible to define materials within a creature definition (e.g. venoms), yet we don't include those on this page. --[[User:Quietust|Quietust]] 04:56, 22 February 2011 (UTC) | ||
+ | :It is done - curiously, the only TISSUE-related token on this page was TISSUE_NAME, and that seemingly came from somebody adding it randomly from a string dump without knowing what it meant (despite it being actively used in the standard raws). --[[User:Quietust|Quietust]] 21:08, 22 February 2011 (UTC) | ||
+ | |||
+ | == Complete(?) token list from 0.31.22== | ||
+ | Enclosed within HTML comment since the list is quite long. --[[User:Quietust|Quietust]] 04:25, 22 March 2011 (UTC) | ||
+ | <!-- | ||
+ | BODY_APPEARANCE_MODIFIER | ||
+ | SET_BP_GROUP | ||
+ | PLUS_BP_GROUP | ||
+ | SET_TL_GROUP | ||
+ | PLUS_TL_GROUP | ||
+ | TISSUE_STYLE_UNIT | ||
+ | TSU_NOUN | ||
+ | TISSUE_LAYER_APPEARANCE_MODIFIER | ||
+ | SHEARABLE_TISSUE_LAYER | ||
+ | BP_APPEARANCE_MODIFIER | ||
+ | APP_MOD_DESC_RANGE | ||
+ | APP_MOD_NOUN | ||
+ | APP_MOD_IMPORTANCE | ||
+ | APP_MOD_RATE | ||
+ | TL_COLOR_MODIFIER | ||
+ | TLCM_TIMING | ||
+ | TLCM_NOUN | ||
+ | TLCM_IMPORTANCE | ||
+ | APP_MOD_GENETIC_MODEL | ||
+ | TLCM_GENETIC_MODEL | ||
+ | CASTE_SPEECH | ||
+ | POP_RATIO | ||
+ | FEATURE_ATTACK_GROUP | ||
+ | CHILD | ||
+ | BABY | ||
+ | CASTE_PROFESSION_NAME | ||
+ | CHILDNAME | ||
+ | BABYNAME | ||
+ | AQUATIC | ||
+ | AMPHIBIOUS | ||
+ | MOUNT | ||
+ | MOUNT_EXOTIC | ||
+ | LIKES_FIGHTING | ||
+ | PEARL | ||
+ | VEGETATION | ||
+ | MAGICAL | ||
+ | NATURAL | ||
+ | VERMIN_HATEABLE | ||
+ | COLONY_EXTERNAL | ||
+ | DIE_WHEN_VERMIN_BITE | ||
+ | REMAINS_ON_VERMIN_BITE_DEATH | ||
+ | REMAINS_UNDETERMINED | ||
+ | BODY | ||
+ | BODYGLOSS | ||
+ | RELSIZE | ||
+ | ATTACK | ||
+ | ATTACK_SKILL | ||
+ | ATTACK_VERB | ||
+ | ATTACK_CONTACT_PERC | ||
+ | ATTACK_PENETRATION_PERC | ||
+ | ATTACK_PRIORITY (MAIN) | ||
+ | ATTACK_VELOCITY_MODIFIER | ||
+ | ATTACK_FLAG_CANLATCH | ||
+ | ATTACK_FLAG_WITH | ||
+ | ATTACK_FLAG_EDGE | ||
+ | SPECIALATTACK_INJECT_EXTRACT | ||
+ | SPECIALATTACK_SUCK_BLOOD | ||
+ | NOSMELLYROT | ||
+ | NATURAL_SKILL | ||
+ | LAYS_UNUSUAL_EGGS | ||
+ | ITEMCORPSE | ||
+ | ITEMCORPSE_QUALITY | ||
+ | BEACH_FREQUENCY | ||
+ | UNDERSWIM | ||
+ | CANOPENDOORS | ||
+ | GETS_WOUND_INFECTIONS | ||
+ | GETS_INFECTIONS_FROM_ROT | ||
+ | NOFEAR | ||
+ | NOSTUCKINS | ||
+ | PARALYZEIMMUNE | ||
+ | NOSKULL | ||
+ | NOSKIN | ||
+ | NOBONES | ||
+ | NOMEAT | ||
+ | HASSHELL | ||
+ | NOEXERT | ||
+ | NOPAIN | ||
+ | TENDONS | ||
+ | HAS_NERVES | ||
+ | LIGAMENTS | ||
+ | CAVE_ADAPT | ||
+ | NOTHOUGHT | ||
+ | ARENA_RESTRICTED | ||
+ | NO_THOUGHT_CENTER_FOR_MOVEMENT | ||
+ | NOEMOTION | ||
+ | TRANCES | ||
+ | NOSTUN | ||
+ | NONAUSEA | ||
+ | NO_DIZZINESS | ||
+ | NO_FEVERS | ||
+ | EXTRAVISION | ||
+ | BONECARN | ||
+ | CARNIVORE | ||
+ | CREATURE_CLASS | ||
+ | PERSONALITY | ||
+ | LISP | ||
+ | SOUND | ||
+ | GRAZER | ||
+ | PRONE_TO_RAGE | ||
+ | LAYS_EGGS | ||
+ | EGG_SIZE | ||
+ | CLUTCH_SIZE | ||
+ | INTELLIGENT | ||
+ | CAN_LEARN | ||
+ | SLOW_LEARNER | ||
+ | CAN_SPEAK | ||
+ | UTTERANCES | ||
+ | EQUIPS | ||
+ | ALL_ACTIVE | ||
+ | DIURNAL | ||
+ | NOCTURNAL | ||
+ | CREPUSCULAR | ||
+ | MATUTINAL | ||
+ | VESPERTINE | ||
+ | POWER | ||
+ | MEGABEAST | ||
+ | SEMIMEGABEAST | ||
+ | FEATURE_BEAST | ||
+ | TITAN | ||
+ | DEMON | ||
+ | UNIQUE_DEMON | ||
+ | NIGHT_CREATURE_HUNTER | ||
+ | NIGHT_CREATURE_BOGEYMAN | ||
+ | MEANDERER | ||
+ | ALCOHOL_DEPENDENT | ||
+ | NOBREATHE | ||
+ | AMBUSHPREDATOR | ||
+ | LOCKPICKER | ||
+ | TRAPAVOID | ||
+ | NOT_BUTCHERABLE | ||
+ | MISCHIEVOUS | ||
+ | COOKABLE_LIVE | ||
+ | PATTERNFLIER | ||
+ | CURIOUSBEAST_EATER | ||
+ | CURIOUSBEAST_ITEM | ||
+ | CURIOUSBEAST_GUZZLER | ||
+ | FLEEQUICK | ||
+ | VERMINHUNTER (the 4 following flags combined) | ||
+ | AT_PEACE_WITH_WILDLIFE | ||
+ | RETURNS_VERMIN_KILLS_TO_OWNER | ||
+ | HUNTS_VERMIN | ||
+ | ADOPTS_OWNER | ||
+ | IMMOLATE | ||
+ | NO_SPRING | ||
+ | NO_SUMMER | ||
+ | NO_AUTUMN | ||
+ | NO_WINTER | ||
+ | LARGE_PREDATOR | ||
+ | BENIGN | ||
+ | SMALL_REMAINS | ||
+ | REMAINS | ||
+ | SPECIFIC_FOOD | ||
+ | CASTE_NAME | ||
+ | CASTE_COLOR | ||
+ | CASTE_GLOWCOLOR | ||
+ | REMAINS_COLOR | ||
+ | IMMOBILE_LAND | ||
+ | LIGHT_GEN | ||
+ | VERMIN_MICRO | ||
+ | CANNOT_UNDEAD | ||
+ | NO_EAT | ||
+ | NO_DRINK | ||
+ | NO_SLEEP | ||
+ | COMMON_DOMESTIC | ||
+ | WAGON_PULLER | ||
+ | PACK_ANIMAL | ||
+ | FLIER | ||
+ | PET | ||
+ | PET_EXOTIC | ||
+ | TRAINABLE | ||
+ | TRAINABLE_HUNTING | ||
+ | TRAINABLE_WAR | ||
+ | WEBBER | ||
+ | THICKWEB | ||
+ | WEBIMMUNE | ||
+ | FIREBREATH | ||
+ | MULTIPLE_LITTER_RARE | ||
+ | DRAGONFIREBREATH | ||
+ | MAGMA_VISION | ||
+ | FIREIMMUNE | ||
+ | FIREIMMUNE_SUPER | ||
+ | FEMALE | ||
+ | MALE | ||
+ | NO_GENDER | ||
+ | LITTERSIZE | ||
+ | MAXAGE | ||
+ | GNAWER | ||
+ | DESCRIPTION | ||
+ | PETVALUE | ||
+ | PETVALUE_DIVISOR | ||
+ | BODY_SIZE | ||
+ | GRAVITATE_BODY_SIZE | ||
+ | CHANGE_BODY_SIZE_PERC | ||
+ | ATTACK_TRIGGER | ||
+ | MODVALUE | ||
+ | VIEWRANGE | ||
+ | BUILDINGDESTROYER | ||
+ | DIFFICULTY | ||
+ | GRASSTRAMPLE | ||
+ | SPEED | ||
+ | SWIMS_LEARNED | ||
+ | SWIMS_INNATE | ||
+ | SWIM_SPEED | ||
+ | TRADE_CAPACITY | ||
+ | LAIR_HUNTER | ||
+ | LAIR_HUNTER_SPEECH | ||
+ | LAIR | ||
+ | LAIR_CHARACTERISTIC | ||
+ | HABIT | ||
+ | HABIT_NUM (TEST_ALL) | ||
+ | BLOOD | ||
+ | PUS | ||
+ | SECRETION | ||
+ | MATERIAL_BREATH_ATTACK | ||
+ | EGG_MATERIAL | ||
+ | CASTE_TILE | ||
+ | CASTE_SOLDIER_TILE | ||
+ | CASTE_GLOWTILE | ||
+ | CASTE_ALTTILE | ||
+ | CASTE_SOLDIER_ALTTILE | ||
+ | EXTRACT | ||
+ | MILKABLE | ||
+ | CONVERTED_SPOUSE | ||
+ | SPOUSE_CONVERTER | ||
+ | SPOUSE_CONVERSION_TARGET | ||
+ | MANNERISM_LAUGH | ||
+ | MANNERISM_SMILE | ||
+ | MANNERISM_WALK | ||
+ | MANNERISM_SIT | ||
+ | MANNERISM_BREATH | ||
+ | MANNERISM_POSTURE | ||
+ | MANNERISM_STRETCH | ||
+ | MANNERISM_EYELIDS | ||
+ | MANNERISM_FINGERS | ||
+ | MANNERISM_NOSE | ||
+ | MANNERISM_EAR | ||
+ | MANNERISM_HEAD | ||
+ | MANNERISM_EYES | ||
+ | MANNERISM_MOUTH | ||
+ | MANNERISM_HAIR | ||
+ | MANNERISM_KNUCKLES | ||
+ | MANNERISM_LIPS | ||
+ | MANNERISM_CHEEK | ||
+ | MANNERISM_NAILS | ||
+ | MANNERISM_FEET | ||
+ | MANNERISM_ARMS | ||
+ | MANNERISM_HANDS | ||
+ | MANNERISM_TONGUE | ||
+ | MANNERISM_LEG | ||
+ | VERMIN_BITE | ||
+ | PENETRATEPOWER | ||
+ | FISHITEM | ||
+ | VERMIN_NOROAM | ||
+ | VERMIN_NOFISH | ||
+ | VERMIN_NOTRAP | ||
+ | HOMEOTHERM | ||
+ | FIXED_TEMP | ||
+ | SKILL_RATE | ||
+ | SKILL_RUST_RATE | ||
+ | SKILL_LEARN_RATE | ||
+ | SKILL_RATES | ||
+ | SKILL_LEARN_RATES | ||
+ | SKILL_RUST_RATES | ||
+ | PHYS_ATT_RANGE | ||
+ | PHYS_ATT_RATES | ||
+ | PHYS_ATT_CAP_PERC | ||
+ | MENT_ATT_RANGE | ||
+ | MENT_ATT_RATES | ||
+ | MENT_ATT_CAP_PERC | ||
+ | TISSUE_LAYER | ||
+ | TISSUE_LAYER_UNDER | ||
+ | TISSUE_LAYER_OVER | ||
+ | SELECT_TISSUE_LAYER | ||
+ | PLUS_TISSUE_LAYER | ||
+ | BODY_DETAIL_PLAN | ||
+ | SET_LAYER_TISSUE | ||
+ | TL_RELATIVE_THICKNESS | ||
+ | TL_CONNECTS | ||
+ | TL_MAJOR_ARTERIES | ||
+ | TL_HEALING_RATE | ||
+ | TL_VASCULAR | ||
+ | TL_PAIN_RECEPTORS | ||
+ | |||
+ | MATERIAL | ||
+ | USE_MATERIAL | ||
+ | USE_MATERIAL_TEMPLATE | ||
+ | SELECT_MATERIAL | ||
+ | PLUS_MATERIAL | ||
+ | REMOVE_MATERIAL | ||
+ | TISSUE | ||
+ | USE_TISSUE | ||
+ | USE_TISSUE_TEMPLATE | ||
+ | SELECT_TISSUE | ||
+ | REMOVE_TISSUE | ||
+ | CASTE | ||
+ | USE_CASTE | ||
+ | SELECT_CASTE | ||
+ | SELECT_ADDITIONAL_CASTE | ||
+ | SELECT_CASTE | ||
+ | |||
+ | BIOME | ||
+ | PROFESSION_NAME | ||
+ | FANCIFUL | ||
+ | DOES_NOT_EXIST | ||
+ | LARGE_ROAMING | ||
+ | LOOSE_CLUSTERS | ||
+ | VERMIN_FISH | ||
+ | VERMIN_SOIL | ||
+ | VERMIN_SOIL_COLONY | ||
+ | ARTIFICIAL_HIVEABLE | ||
+ | UBIQUITOUS | ||
+ | HIVE_PRODUCT | ||
+ | VERMIN_EATER | ||
+ | VERMIN_GROUNDER | ||
+ | VERMIN_ROTTER | ||
+ | MUNDANE | ||
+ | FREQUENCY | ||
+ | SPHERE | ||
+ | UNDERGROUND_DEPTH | ||
+ | POPULATION_NUMBER | ||
+ | CLUSTER_NUMBER | ||
+ | TRIGGERABLE_GROUP | ||
+ | NAME | ||
+ | GENERAL_BABY_NAME | ||
+ | GENERAL_CHILD_NAME | ||
+ | COLOR | ||
+ | GLOWCOLOR | ||
+ | CREATURE_TILE | ||
+ | CREATURE_SOLDIER_TILE | ||
+ | GLOWTILE | ||
+ | ALTTILE | ||
+ | SOLDIER_ALTTILE | ||
+ | GOOD | ||
+ | EVIL | ||
+ | SAVAGE | ||
+ | EQUIPMENT_WAGON | ||
+ | PREFSTRING | ||
+ | SPEECH | ||
+ | SPEECH_MALE | ||
+ | SPEECH_FEMALE | ||
+ | GENERATED | ||
+ | |||
+ | APPLY_CREATURE_VARIATION | ||
+ | APPLY_CURRENT_CREATURE_VARIATION | ||
+ | GO_TO_START | ||
+ | GO_TO_END | ||
+ | GO_TO_TAG | ||
+ | --> | ||
+ | |||
+ | == USE_MATERIAL == | ||
+ | |||
+ | In plants, USE_MATERIAL has been [http://www.bay12forums.com/smf/index.php?topic=77878.0 suggested] to accept an existing local plant material as its 2nd parameter, '''not''' a complete material token. Given that the code which parses USE_MATERIAL does not make any references to CREATURE_MAT or PLANT_MAT (as with '''every other tag''' which accepts a material token), are we sure that USE_MATERIAL takes a complete material token as claimed on this page? --[[User:Quietust|Quietust]] 16:36, 2 April 2011 (UTC) | ||
+ | :Late answer: USE_MATERIAL does '''not''' accept a complete material token - it only accepts a local creature material by its ID. --[[User:Quietust|Quietust]] 14:55, 22 November 2011 (UTC) | ||
+ | |||
+ | == Animals available at embark == | ||
+ | |||
+ | The page currently implies that only creatures that have the COMMON_DOMESTIC tag will be available at embark, but that isn't the whole story - camels do not have the token, yet are occasionally available, after all, and mods can add other such creatures. However, in my testing, I found my understanding what exactly allows creatures to be chosen at embark to be lacking. | ||
+ | |||
+ | A creature definitely needs the [PET] tag to be eligible, as opposed to the [PET_EXOTIC] tag. They also need to be available in the appropriate biomes. [NATURAL], [MUNDANE], and [UBIQUITOUS] appear to help, but didn't seem to guarantee, and I'm pretty sure the creature still can't be [FANCIFUL]. The generals and the like going on a journey shouldn't be a factor, since dwarven generals go into the caverns for their war pets. Yet I have some creatures I believe should be available more often than they are. As such, I'm uncertain how to change the PETVALUE entry, other than making it less absolute. [[User:Knight Otu|Knight Otu]] 21:17, 29 May 2011 (UTC) | ||
+ | |||
+ | == GRAVITATE_BODY_SIZE == | ||
+ | |||
+ | Judging from the GRAZER tags of [[panda]]s (462) and [[panda man|panda men]] (600) and the information found on the [[Pasture]] talk page regarding the relationship between body size and GRAZER number, I have to conclude that the GRAVITATE_BODY_SIZE tag is meant to turn the body size into the average of the old body size and the one gravitated towards. That is, a panda (size 130,000) gravitating to size 70,000 would be size 100,000, which multiplied with 600 is the value of 6,000,000 that is mentioned there. | ||
+ | |||
+ | This should get some verification before it is added to the list itself, but if it is true (and I'm pretty sure it is), then that also means that many/all sizes of animal people generated with this creature variation are wrong on the wiki, which apparently are all given as 70,000. | ||
+ | |||
+ | [[User:Knight Otu|Knight Otu]] 22:19, 16 June 2011 (UTC) | ||
+ | |||
+ | :I've pitted 15 humans, 15 pandas, and 15 panda men against 45 iron men in the arena (to keep mutilations to a minimum), and checked the weight of each corpse. The average of the human corpse weight was 87,73333... The average of the panda corpse weight was 146,06666... From that, the average of a panda man corpse, if GRAVITATE_BODY_SIZE averages sizes, would be around 116,9. In this test, I got 118,2, which I feel is close enough. | ||
+ | :[[User:Knight Otu|Knight Otu]] 17:13, 3 July 2011 (UTC) | ||
+ | ::I've just checked the code responsible for parsing the GRAVITATE_BODY_SIZE token, and it appears to manipulate all of the previously declared BODY_SIZE values (int32 vector at offset 0x1144 within the specified CASTE - it leaves the age values alone). --[[User:Quietust|Quietust]] 17:31, 3 July 2011 (UTC) | ||
+ | |||
+ | == AT_PEACE_WITH_WILDLIFE is an entity token == | ||
+ | |||
+ | Does it work as a creature token as well? I don't think a single vanilla DF creature has this tag. Elves have the ''entity'' token, but nothing at the creature level. | ||
+ | [[User:Monkeyfetus|Monkeyfetus]] 20:52, 30 January 2012 (UTC) | ||
+ | *As of version 0.31.20, [AT_PEACE_WITH_WILDLIFE] is an entity token '''and''' a creature token - as a creature token, it is a subset of what [VERMINHUNTER] used to do (along with [RETURNS_VERMIN_KILLS_TO_OWNER], [HUNTS_VERMIN], and [ADOPTS_OWNER]) and can be found on [[cat]]s. --[[User:Quietust|Quietust]] 00:48, 31 January 2012 (UTC) |
Latest revision as of 00:48, 31 January 2012
Elephants never forget and are represented by E. Elves never forget and are represented by E. Coincidence? I think not! Those aren't actually 'beards' the elves are described as having, they're actually highly-modified trunks! --Squirrelloid 17:26, 2 April 2010 (UTC)
Does anyone know whether attack_trigger functions on non-megabeasts and if so how it behaves?
I think I'll test this.
Also, I've verified that it stages the pop:exported wealth:created wealth necessary for a creature to attack by setting dragons to 7:0:100. I was attacked on several fortresses within the affected worlds, usually within the first year, certainly before the usual requirements were met and within the range of my modified requirements.
--EricBlank
[NOSTUN] causes creatures to sleep forever in Fortress Mode.[edit]
Apparently. Thought it should be at least mentioned here. SethCreiyd 04:51, 23 June 2010 (UTC)
Population Ratio?[edit]
Could someone help me understand population ratio? Like if I wanted 1 in 20 goblins to be orcs, what numbers would I type? 24.255.86.193
- 1 on the orcs and 20 on the goblins. Take a look at the antmen for reference. --Axussriddare 15:39, 11 November 2010 (UTC)
Baby and child age?[edit]
Are the [BABY:INTEGER] and [CHILD:INTEGER] values counted as days or as years? If I want to set the baby stage of a species life to 24 days (fast-breeding, growing, dieing insect-ish things) should I put [BABY:24], [BABY:0:24] or something like [BABY:0,065] (0,065=24/365)
- They are counted as years. Take a look at the dwarves for an example. I don't think it will work with [BABY:0:24], but it is worth a try. I have somewhat higher hopes for [BABY:0,065]. Look trough the raws and see if you can find any decimals first. --Axussriddare 15:38, 11 November 2010 (UTC)
- Nothing in DF is floating point, either Euro or American style (0,01 vs 0.01). It's all fixed point mathematics. Trying anything except an integer is likely to cause an exception flag in your errorlog.txt or a straight-up crash
TLCM_IMPORTANCE not working[edit]
This token doesn't appear in the vanilla raws and was likely found in the string dump. I tried using it after coloring a spiders body brown and while it still mentions that my test spider has a narrow body it fails to mention it's color. I'd guess the token doesn't work as intended so I noted this on the page. Does anyone know any better about this? Vattic 22:27, 6 December 2010 (UTC)
Deprecated tokens[edit]
There seems to be a number of tokens which are no longer recognized (Such as ignite_point.) should these be marked as non working or should they be deleted? It could be that these tokens still function but not as creature tokens (Where I am getting errors about unrecognized tokens.)--Cameron 01:59, 4 February 2011 (UTC)
- For the record, those tokens were never valid tokens in version 0.31.xx - they had been blindly copied from the 40d creature token list. The list has since been synchronized with what is actually valid. --Quietust 14:24, 22 November 2011 (UTC)
Tissue tokens, and some others[edit]
I think the various [TISSUE]-related tokens (TISSUE_NAME, TISSUE_MATERIAL, TISSUE_MAT_STATE, MUSCULAR, FUNCTIONAL, STRUCTURAL, RELATIVE_THICKNESS, CONNECTS, TISSUE_SHAPE, and any others that appear solely "within" a [TISSUE] token) should be moved to their own section, since they cannot be used in the general context of a creature definition. The same would be appropriate for [ATTACK] and [SYNDROME], as well as any other tokens that are context-sensitive - after all, it's possible to define materials within a creature definition (e.g. venoms), yet we don't include those on this page. --Quietust 04:56, 22 February 2011 (UTC)
- It is done - curiously, the only TISSUE-related token on this page was TISSUE_NAME, and that seemingly came from somebody adding it randomly from a string dump without knowing what it meant (despite it being actively used in the standard raws). --Quietust 21:08, 22 February 2011 (UTC)
Complete(?) token list from 0.31.22[edit]
Enclosed within HTML comment since the list is quite long. --Quietust 04:25, 22 March 2011 (UTC)
USE_MATERIAL[edit]
In plants, USE_MATERIAL has been suggested to accept an existing local plant material as its 2nd parameter, not a complete material token. Given that the code which parses USE_MATERIAL does not make any references to CREATURE_MAT or PLANT_MAT (as with every other tag which accepts a material token), are we sure that USE_MATERIAL takes a complete material token as claimed on this page? --Quietust 16:36, 2 April 2011 (UTC)
- Late answer: USE_MATERIAL does not accept a complete material token - it only accepts a local creature material by its ID. --Quietust 14:55, 22 November 2011 (UTC)
Animals available at embark[edit]
The page currently implies that only creatures that have the COMMON_DOMESTIC tag will be available at embark, but that isn't the whole story - camels do not have the token, yet are occasionally available, after all, and mods can add other such creatures. However, in my testing, I found my understanding what exactly allows creatures to be chosen at embark to be lacking.
A creature definitely needs the [PET] tag to be eligible, as opposed to the [PET_EXOTIC] tag. They also need to be available in the appropriate biomes. [NATURAL], [MUNDANE], and [UBIQUITOUS] appear to help, but didn't seem to guarantee, and I'm pretty sure the creature still can't be [FANCIFUL]. The generals and the like going on a journey shouldn't be a factor, since dwarven generals go into the caverns for their war pets. Yet I have some creatures I believe should be available more often than they are. As such, I'm uncertain how to change the PETVALUE entry, other than making it less absolute. Knight Otu 21:17, 29 May 2011 (UTC)
GRAVITATE_BODY_SIZE[edit]
Judging from the GRAZER tags of pandas (462) and panda men (600) and the information found on the Pasture talk page regarding the relationship between body size and GRAZER number, I have to conclude that the GRAVITATE_BODY_SIZE tag is meant to turn the body size into the average of the old body size and the one gravitated towards. That is, a panda (size 130,000) gravitating to size 70,000 would be size 100,000, which multiplied with 600 is the value of 6,000,000 that is mentioned there.
This should get some verification before it is added to the list itself, but if it is true (and I'm pretty sure it is), then that also means that many/all sizes of animal people generated with this creature variation are wrong on the wiki, which apparently are all given as 70,000.
Knight Otu 22:19, 16 June 2011 (UTC)
- I've pitted 15 humans, 15 pandas, and 15 panda men against 45 iron men in the arena (to keep mutilations to a minimum), and checked the weight of each corpse. The average of the human corpse weight was 87,73333... The average of the panda corpse weight was 146,06666... From that, the average of a panda man corpse, if GRAVITATE_BODY_SIZE averages sizes, would be around 116,9. In this test, I got 118,2, which I feel is close enough.
- Knight Otu 17:13, 3 July 2011 (UTC)
- I've just checked the code responsible for parsing the GRAVITATE_BODY_SIZE token, and it appears to manipulate all of the previously declared BODY_SIZE values (int32 vector at offset 0x1144 within the specified CASTE - it leaves the age values alone). --Quietust 17:31, 3 July 2011 (UTC)
AT_PEACE_WITH_WILDLIFE is an entity token[edit]
Does it work as a creature token as well? I don't think a single vanilla DF creature has this tag. Elves have the entity token, but nothing at the creature level. Monkeyfetus 20:52, 30 January 2012 (UTC)
- As of version 0.31.20, [AT_PEACE_WITH_WILDLIFE] is an entity token and a creature token - as a creature token, it is a subset of what [VERMINHUNTER] used to do (along with [RETURNS_VERMIN_KILLS_TO_OWNER], [HUNTS_VERMIN], and [ADOPTS_OWNER]) and can be found on cats. --Quietust 00:48, 31 January 2012 (UTC)