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 "v0.31 Talk:Creature token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(for reference, all of the tokens I was able to locate within the code, divided into sections according to the subroutines in which they appeared. Some of the groups are probably per-caste.)
Line 31: Line 31:
 
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)
 
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)
 
: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.21==
 +
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
 +
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
 +
-->

Revision as of 04:25, 22 March 2011

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.

Apparently. Thought it should be at least mentioned here. SethCreiyd 04:51, 23 June 2010 (UTC)

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

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)

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 colouring a spiders body brown and while it still mentions that my test spider has a narrow body it fails to mention it's colour. 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)

Depreciated 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)--Cameron 01:59, 4 February 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. --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.21

Enclosed within HTML comment since the list is quite long. --Quietust 04:25, 22 March 2011 (UTC)