- 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 "Template:Creature/is humanoid"
m (test) |
m |
||
Line 1: | Line 1: | ||
− | {{#switch:{{#rsplit|{{#df_tagvalue:{{{{{ns|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}}|:|1}}|HUMANOID|HUMANOID_SIMPLE=1|#default=0}} ( | + | {{#switch:{{#rsplit|{{#df_tagvalue:{{{{{ns|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}}|:|1}}|HUMANOID|HUMANOID_SIMPLE=1|#default=0}} ({{{{{ns|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}})<noinclude> |
Returns 1 if the given creature is a humanoid, 0 otherwise | Returns 1 if the given creature is a humanoid, 0 otherwise | ||
===Examples=== | ===Examples=== |
Revision as of 20:19, 15 April 2013
0 (Template:Creature/is humanoid/raw|BODY||NOT_HUMANOID}}) Returns 1 if the given creature is a humanoid, 0 otherwise
Examples
0 ([CREATURE:ANT] [DESCRIPTION:This tiny insect can be found in huge colonies in the dirt. They overwhelm their enemies with swarms. Some have poison bites.] [NAME:ant:ants:ant] [CREATURE_TILE:250][COLOR:7:0:0] [NATURAL] [BIOME:NOT_FREEZING] [VERMIN_SOIL_COLONY][FREQUENCY:100] [UBIQUITOUS] [VERMIN_NOTRAP] [POPULATION_NUMBER:250:500] [CLUSTER_NUMBER:100:200] [SMALL_REMAINS] [SPEED:2900] [PREFSTRING:propensity to dig] [DIURNAL] [NO_SLEEP] [HOMEOTHERM:10071] [SWIMS_INNATE][SWIM_SPEED:2500] [CREATURE_CLASS:EDIBLE_GROUND_BUG] [MUNDANE] [NOT_BUTCHERABLE] [USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] [TENDONS:LOCAL_CREATURE_MAT:SINEW:200] [LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] [HAS_NERVES] [USE_MATERIAL_TEMPLATE:ICHOR:ICHOR_TEMPLATE] [BLOOD:LOCAL_CREATURE_MAT:ICHOR:LIQUID] [CREATURE_CLASS:GENERAL_POISON] [GETS_WOUND_INFECTIONS] [GETS_INFECTIONS_FROM_ROT] [USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] [PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] [BODY_SIZE:0:0:1] [MAXAGE:1:1] [NOBONES] [CASTE:WORKER] [CASTE_NAME:worker ant:worker ants:worker ant] Female, but non-breeding (most of the time). [POP_RATIO:10000] [CASTE:SOLDIER] [CASTE_NAME:soldier ant:soldier ants:soldier ant] Female, but non-breeding (most of the time). [POP_RATIO:1000] [CASTE:DRONE] [MALE] [CASTE_NAME:drone ant:drone ants:drone ant] [POP_RATIO:5] [CASTE:QUEEN] [FEMALE] [CASTE_NAME:queen ant:queen ants:queen ant] [POP_RATIO:1] [SELECT_CASTE:WORKER] [SELECT_ADDITIONAL_CASTE:SOLDIER] [SELECT_ADDITIONAL_CASTE:QUEEN] [BODY:INSECT:2EYES:HEART:GUTS:BRAIN:MOUTH] [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY] [SELECT_CASTE:DRONE] [BODY:INSECT:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS] [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY] [FLIER] [SELECT_CASTE:ALL] [BODY_DETAIL_PLAN:CHITIN_MATERIALS] [BODY_DETAIL_PLAN:CHITIN_TISSUES] [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE] [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] [SET_TL_GROUP:BY_CATEGORY:ALL:CHITIN] [TL_COLOR_MODIFIER:BLACK:1] [TLCM_NOUN:chitin:SINGULAR] [SET_TL_GROUP:BY_CATEGORY:EYE:EYE] [TL_COLOR_MODIFIER:BLACK:1] [TLCM_NOUN:eyes:PLURAL]|BODY||NOT_HUMANOID}}) 0 ([CREATURE:ANT_MAN] [DESCRIPTION:A humanoid with the head and body of an ant.] [NAME:antman:antmen:antman] [CREATURE_TILE:'a'][COLOR:0:0:1] [LARGE_ROAMING] [FREQUENCY:100] [FEATURE_ATTACK_GROUP] [BIOME:SUBTERRANEAN_CHASM] [UNDERGROUND_DEPTH:1:3] [CAN_LEARN][CAN_SPEAK] [POPULATION_NUMBER:30:50] [CLUSTER_NUMBER:5:10] [PREFSTRING:mystery] [EQUIPS] [CANOPENDOORS] [LARGE_PREDATOR] [ALL_ACTIVE] [NO_SLEEP] [HOMEOTHERM:10040] [USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] [TENDONS:LOCAL_CREATURE_MAT:SINEW:200] [LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] [HAS_NERVES] [USE_MATERIAL_TEMPLATE:ICHOR:ICHOR_TEMPLATE] [BLOOD:LOCAL_CREATURE_MAT:ICHOR:LIQUID] [CREATURE_CLASS:GENERAL_POISON] [GETS_WOUND_INFECTIONS] [GETS_INFECTIONS_FROM_ROT] [USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] [PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] [MAXAGE:5:8] [NOBONES] [CASTE:WORKER] [CASTE_NAME:worker ant woman:worker ant women:worker ant woman] Female, but non-breeding. [POP_RATIO:10000] [CASTE:SOLDIER] [CASTE_NAME:soldier ant woman:soldier ant women:soldier ant woman] Female, but non-breeding. [POP_RATIO:1000] [CASTE:DRONE] [MALE] [CASTE_NAME:drone ant man:drone ant men:drone ant man] [POP_RATIO:5] [CASTE:QUEEN] [FEMALE] [CASTE_NAME:queen ant woman:queen ant women:queen ant woman] [POP_RATIO:1] [SELECT_CASTE:WORKER] [SELECT_ADDITIONAL_CASTE:SOLDIER] [SELECT_ADDITIONAL_CASTE:QUEEN] [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH] [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY] [SELECT_CASTE:DRONE] [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS] [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY] [FLIER] [SELECT_CASTE:ALL] [BODY_DETAIL_PLAN:CHITIN_MATERIALS] [BODY_DETAIL_PLAN:CHITIN_TISSUES] [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE] [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP] [ATTACK_SKILL:GRASP_STRIKE] [ATTACK_VERB:punch:punches] [ATTACK_CONTACT_PERC:100] [ATTACK_FLAG_WITH] [ATTACK_PRIORITY:MAIN] [ATTACK:KICK:BODYPART:BY_TYPE:STANCE] [ATTACK_SKILL:STANCE_STRIKE] [ATTACK_VERB:kick:kicks] [ATTACK_CONTACT_PERC:100] [ATTACK_FLAG_WITH] [ATTACK_PRIORITY:SECOND] [ATTACK:BITE:BODYPART:BY_CATEGORY:MOUTH] [ATTACK_SKILL:BITE] [ATTACK_VERB:bite:bites] [ATTACK_CONTACT_PERC:100] [ATTACK_PENETRATION_PERC:100] [ATTACK_FLAG_EDGE] [ATTACK_PRIORITY:MAIN] [ATTACK_FLAG_CANLATCH] [SET_TL_GROUP:BY_CATEGORY:ALL:CHITIN] [TL_COLOR_MODIFIER:BLACK:1] [TLCM_NOUN:chitin:SINGULAR] [SET_TL_GROUP:BY_CATEGORY:EYE:EYE] [TL_COLOR_MODIFIER:BLACK:1] [TLCM_NOUN:eyes:PLURAL] [SELECT_CASTE:WORKER] [BODY_SIZE:0:0:1000] [BODY_SIZE:1:168:5000] [BODY_SIZE:2:0:20000] [SELECT_CASTE:SOLDIER] [BODY_SIZE:0:0:1500] [BODY_SIZE:1:168:10000] [BODY_SIZE:2:0:50000] [SELECT_CASTE:QUEEN] [BODY_SIZE:0:0:10000] [BODY_SIZE:1:168:50000] [BODY_SIZE:2:0:200000] [SELECT_CASTE:DRONE] [BODY_SIZE:0:0:1000] [BODY_SIZE:1:168:5000] [BODY_SIZE:2:0:20000]|BODY||NOT_HUMANOID}})