Does anyone know the cause of this error? I've spent more time than I care to count trying to find the source, but I can't find anything out of place.
[CREATURE:LEECHWALKER_DND]
[DESCRIPTION:A creature that appears to be a humanoid composed of nothing but leeches.]
[NAME:leechwalker:leechwalkers:leechwalker]
[CASTE_NAME:leechwalker:leechwalkers:leechwalker]
[CREATURE_TILE:'W'][COLOR:0:0:1]
[BLOODSUCKER][AMPHIBIOUS]
[LARGE_ROAMING][LARGE_PREDATOR]
[NATURAL][EXTRAVISION]
[PREFSTRING:leeches]
[BIOME:ANY_WETLAND][BIOME:SUBTERRANEAN_WATER][UNDERGROUND_DEPTH:0:1]
[CREATURE_CLASS:BLIND][CREATURE_CLASS:DEAF][CREATURE_CLASS:MINDLESS]
[NO_FEVERS][NOBONES][NOEXERT][NOPAIN][NOSKIN][NOSKULL][NOSTUN][NO_DIZZINESS][PARALYZEIMMUNE]
[NO_THOUGHT_CENTER_FOR_MOVEMENT][NOTHOUGHT][NOEMOTION][NOT_BUTCHERABLE][CANNOT_UNDEAD][NO_SLEEP][NONAUSEA]
[BODY:HUMANOID_SIMPLE]
[USE_MATERIAL_TEMPLATE:FLESH:MUSCLE_TEMPLATE]
[USE_TISSUE_TEMPLATE:FLESH:MUSCLE_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:ALL:FLESH]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[BODY_SIZE:0:0:60000]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[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_PREPARE_AND_RECOVER:4:4]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_BAD_MULTIATTACK]
[ALL_ACTIVE]
[HOMEOTHERM:10067]
[APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS:900:675:450:225:1900:2900] 39 kph
[APPLY_CREATURE_VARIATION:STANDARD_CLIMBING_GAITS:6561:6115:5683:1755:7456:8567] 5 kph
[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:5341:4723:4112:1254:6433:7900] 7 kph
[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
[SWIMS_INNATE]
[SET_TL_GROUP:BY_CATEGORY:ALL:FLESH]
[TL_COLOR_MODIFIER:BLACK:1]
[TLCM_NOUN:flesh:SINGULAR]
[CASTE:DEFAULT]
[NO_GENDER]
undefined local creature material set to default: LEECHWALKER_DND MUSCLE
[USE_MATERIAL_TEMPLATE:FLESH:MUSCLE_TEMPLATE]
[USE_TISSUE_TEMPLATE:FLESH:MUSCLE_TEMPLATE]
When you do USE_MATERIAL_TEMPLATE is fine as it lets you define a material from a template and you can change what you want (Name, properties like HEATDAM and such) however when you use a TISSUE_TEMPLATE it looks for a specific named material in the creature
so this is how it stands:
Creature has no materials or tissues
[USE_MATERIAL_TEMPLATE:FLESH:MUSCLE_TEMPLATE]
Creature now has FLESH but is identical to MUSCLE (in all forms defined by the template, name etc)
[USE_TISSUE_TEMPLATE:FLESH:MUSCLE_TEMPLATE]
Tissue Template is looking for a Material in the creature that is MUSCLE but you have FLESH
it cannot find MUSCLE. This will fix it
[USE_MATERIAL_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]
[USE_TISSUE_TEMPLATE:FLESH:MUSCLE_TEMPLATE]