But if something like that was the case, then the creature would be invalid in every world/civ, not just some of them, unless he was messing with the raws again before generating a world.
To clarify, the "No trade" message pops up randomly
within a given world. Some areas are clear to trade, some aren't. Since it's not based consistently on latitude, I don't think they're being frozen out, so maybe it's just proximity to a village that can sustain the creatures. I just tried a cloned worm with no biome restrictions and it still had spotty behavior
Here are the entity raws in their entirety. It could be animal-handling related, but that still doesn't account for why it works in some regions and not others.
[ENTITY:ANIMAL_BUG_MOLLUSK_MERCHANT]
[CREATURE:SLUG_MAN]
[CREATURE:SNAIL_MAN]
[CREATURE:MOON_SNAIL_MAN]
[TRANSLATION:HUMAN]
[USE_CAVE_ANIMALS]
[ALL_MAIN_POPS_CONTROLLABLE]
[DIGGER:ITEM_WEAPON_PICK]
[WEAPON:ITEM_WEAPON_HAMMER_WAR]
[WEAPON:ITEM_WEAPON_MORNINGSTAR]
[WEAPON:ITEM_WEAPON_MACE]
[WEAPON:ITEM_WEAPON_FLAIL]
[ARMOR:ITEM_ARMOR_BREASTPLATE:COMMON]
[ARMOR:ITEM_ARMOR_MAIL_SHIRT:COMMON]
[ARMOR:ITEM_ARMOR_LEATHER:COMMON]
[ARMOR:ITEM_ARMOR_TUNIC:COMMON]
[HELM:ITEM_HELM_HELM:COMMON]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
[SHIELD:ITEM_SHIELD_BUCKLER]
[PANTS:ITEM_PANTS_GREAVES:COMMON]
[TOY:ITEM_TOY_PUZZLEBOX]
[TOY:ITEM_TOY_BOAT]
[TOY:ITEM_TOY_HAMMER]
[TOOL:ITEM_TOOL_CAULDRON]
[TOOL:ITEM_TOOL_LADLE]
[TOOL:ITEM_TOOL_BOWL]
[TOOL:ITEM_TOOL_MORTAR]
[TOOL:ITEM_TOOL_PESTLE]
[TOOL:ITEM_TOOL_KNIFE_CARVING]
[TOOL:ITEM_TOOL_KNIFE_BONING]
[TOOL:ITEM_TOOL_KNIFE_SLICING]
[TOOL:ITEM_TOOL_KNIFE_MEAT_CLEAVER]
[TOOL:ITEM_TOOL_FORK_CARVING]
[TOOL:ITEM_TOOL_NEST_BOX]
[TOOL:ITEM_TOOL_JUG]
[TOOL:ITEM_TOOL_LARGE_POT]
[TOOL:ITEM_TOOL_HIVE]
[TOOL:ITEM_TOOL_POUCH]
[TOOL:ITEM_TOOL_WHEELBARROW]
[TOOL:ITEM_TOOL_SCROLL_ROLLERS]
[TOOL:ITEM_TOOL_BOOK_BINDING]
[TOOL:ITEM_TOOL_SCROLL]
[TOOL:ITEM_TOOL_QUIRE]
[TOOL:ITEM_TOOL_BOOKCASE]
[TOOL:ITEM_TOOL_PEDESTAL]
[CLOTHING]
[CURRENCY:COPPER:1]
[CURRENCY:SILVER:5]
[CURRENCY:GOLD:15]
[SELECT_SYMBOL:WAR:NAME_WAR]
[SUBSELECT_SYMBOL:WAR:VIOLENT]
[SELECT_SYMBOL:BATTLE:NAME_BATTLE]
[SUBSELECT_SYMBOL:BATTLE:VIOLENT]
[SELECT_SYMBOL:SIEGE:NAME_SIEGE]
[SUBSELECT_SYMBOL:SIEGE:VIOLENT]
[SELECT_SYMBOL:ROAD:NAME_ROAD]
[SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]
[SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]
[SELECT_SYMBOL:WALL:NAME_WALL]
[SELECT_SYMBOL:TEMPLE:NAME_BUILDING_TEMPLE]
[SELECT_SYMBOL:LIBRARY:NAME_BUILDING_LIBRARY]
[CULL_SYMBOL:ALL:SUBORDINATE]
[CULL_SYMBOL:ALL:EVIL]
[CULL_SYMBOL:ALL:NEGATIVE]
[CULL_SYMBOL:ALL:UGLY]
[CULL_SYMBOL:ALL:NEGATOR]
[SELECT_SYMBOL:CIV:NAME_ENTITY_KINGDOM]
[SELECT_SYMBOL:SITE:NAME_ENTITY_TOWN_FOUNDER]
[RIVER_PRODUCTS]
[OCEAN_PRODUCTS]
[METAL_PREF]
[OUTDOOR_WOOD]
[OUTDOOR_FARMING]
[OUTDOOR_GARDENS]
[ANIMAL]
[ANIMAL_TOKEN:MULE]
[ANIMAL_ALWAYS_MOUNT]
[ANIMAL_ALWAYS_PACK_ANIMAL]
[ANIMAL_ALWAYS_WAGON_PULLER]
[ANIMAL_ALWAYS_PRESENT]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[SPHERE_ALIGNMENT:MOON:512]
[SPHERE_ALIGNMENT:JUSTICE:512]
[ART_FACET_MODIFIER:FANCIFUL:640]
[ART_FACET_MODIFIER:OWN_RACE:512]
[FRIENDLY_COLOR:7:0:1]
[DEFAULT_SITE_TYPE:CAVE_DETAILED]
[LIKES_SITE:CITY]
[TOLERATES_SITE:CITY]
[TOLERATES_SITE:CAVE]
[TOLERATES_SITE:CAVE_DETAILED]
[START_BIOME:ANY_GRASSLAND]
[START_BIOME:ANY_WETLAND]
[START_BIOME:ANY_LAKE]
[SETTLEMENT_BIOME:ANY_WETLAND]
[SETTLEMENT_BIOME:ANY_LAKE]
[SETTLEMENT_BIOME:ANY_RIVER]
[BIOME_SUPPORT:ANY_WETLAND:3]
[BIOME_SUPPORT:ANY_DESERT:1]
[BIOME_SUPPORT:ANY_FOREST:2]
[BIOME_SUPPORT:ANY_OCEAN:6]
[BIOME_SUPPORT:ANY_LAKE:3]
[BIOME_SUPPORT:ANY_GRASSLAND:3]
[BIOME_SUPPORT:ANY_SAVANNA:2]
[BIOME_SUPPORT:ANY_SHRUBLAND:2]
[BIOME_SUPPORT:ANY_RIVER:4]
[MERCHANT_NOBILITY]
[DIPLOMAT_BODYGUARDS]
[MERCHANT_BODYGUARDS]
[PROGRESS_TRIGGER_TRADE:1]
[PROGRESS_TRIGGER_POP_SIEGE:2]
[PROGRESS_TRIGGER_PROD_SIEGE:0]
[PROGRESS_TRIGGER_TRADE_SIEGE:0]
[ACTIVE_SEASON:SUMMER]
[SIEGER]
[MAX_STARTING_CIV_NUMBER:5]
[MAX_POP_NUMBER:1000]
[MAX_SITE_POP_NUMBER:200]
[RELIGION:REGIONAL_FORCE]
[SCOUT]
[MERCENARY]
[SET_SCHOLARS_ON_VALUES_AND_JOBS]
[PERMITTED_JOB:MINER]
[PERMITTED_JOB:CARPENTER]
[PERMITTED_JOB:WOODCUTTER]
[PERMITTED_JOB:ENGRAVER]
[PERMITTED_JOB:MASON]
[PERMITTED_JOB:ANIMAL_CARETAKER]
[PERMITTED_JOB:ANIMAL_TRAINER]
[PERMITTED_JOB:HUNTER]
[PERMITTED_JOB:TRAPPER]
[PERMITTED_JOB:ANIMAL_DISSECTOR]
[PERMITTED_JOB:FURNACE_OPERATOR]
[PERMITTED_JOB:WEAPONSMITH]
[PERMITTED_JOB:ARMORER]
[PERMITTED_JOB:BLACKSMITH]
[PERMITTED_JOB:METALCRAFTER]
[PERMITTED_JOB:WOODCRAFTER]
[PERMITTED_JOB:STONECRAFTER]
[PERMITTED_JOB:LEATHERWORKER]
[PERMITTED_JOB:BONE_CARVER]
[PERMITTED_JOB:WEAVER]
[PERMITTED_JOB:CLOTHIER]
[PERMITTED_JOB:GLASSMAKER]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_DISSECTOR]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:CHEESE_MAKER]
[PERMITTED_JOB:MILKER]
[PERMITTED_JOB:SHEARER]
[PERMITTED_JOB:SPINNER]
[PERMITTED_JOB:GELDER]
[PERMITTED_JOB:COOK]
[PERMITTED_JOB:THRESHER]
[PERMITTED_JOB:MILLER]
[PERMITTED_JOB:BUTCHER]
[PERMITTED_JOB:TANNER]
[PERMITTED_JOB:DYER]
[PERMITTED_JOB:PLANTER]
[PERMITTED_JOB:HERBALIST]
[PERMITTED_JOB:BREWER]
[PERMITTED_JOB:SOAP_MAKER]
[PERMITTED_JOB:POTASH_MAKER]
[PERMITTED_JOB:LYE_MAKER]
[PERMITTED_JOB:WOOD_BURNER]
[PERMITTED_JOB:MECHANIC]
[PERMITTED_JOB:SIEGE_ENGINEER]
[PERMITTED_JOB:SIEGE_OPERATOR]
[PERMITTED_JOB:PUMP_OPERATOR]
[PERMITTED_JOB:CLERK]
[PERMITTED_JOB:ADMINISTRATOR]
[PERMITTED_JOB:TRADER]
[PERMITTED_JOB:ARCHITECT]
[PERMITTED_JOB:DIAGNOSER]
[PERMITTED_JOB:BONE_SETTER]
[PERMITTED_JOB:SUTURER]
[PERMITTED_JOB:SURGEON]
[PERMITTED_JOB:GLAZER]
[PERMITTED_JOB:POTTER]
[PERMITTED_JOB:PRESSER]
[PERMITTED_JOB:BEEKEEPER]
[PERMITTED_JOB:WAX_WORKER]
[PERMITTED_JOB:PAPERMAKER]
[PERMITTED_JOB:BOOKBINDER]
[PERMITTED_BUILDING:SOAP_MAKER]
[PERMITTED_BUILDING:SCREW_PRESS]
[PERMITTED_REACTION:TAN_A_HIDE]
[PERMITTED_REACTION:RENDER_FAT]
[PERMITTED_REACTION:MAKE_SOAP_FROM_TALLOW]
[PERMITTED_REACTION:MAKE_SOAP_FROM_OIL]
[PERMITTED_REACTION:MILL_SEEDS_NUTS_TO_PASTE]
[PERMITTED_REACTION:MAKE_CLAY_JUG]
[PERMITTED_REACTION:MAKE_CLAY_BRICKS]
[PERMITTED_REACTION:MAKE_CLAY_STATUE]
[PERMITTED_REACTION:MAKE_LARGE_CLAY_POT]
[PERMITTED_REACTION:MAKE_CLAY_CRAFTS]
[PERMITTED_REACTION:MAKE_QUICKLIME]
[PERMITTED_REACTION:MAKE_MILK_OF_LIME]
[PERMITTED_REACTION:MAKE_PARCHMENT]
[PERMITTED_REACTION:MAKE_SCROLL]
[PERMITTED_REACTION:MAKE_QUIRE]
[PERMITTED_REACTION:MAKE_SHEET_FROM_PLANT]
[PERMITTED_REACTION:MAKE_SLURRY_FROM_PLANT]
[PERMITTED_REACTION:PRESS_PLANT_PAPER]
[PERMITTED_REACTION:BIND_BOOK]
[PERMITTED_REACTION:GLAZE_JUG]
[PERMITTED_REACTION:GLAZE_STATUE]
[PERMITTED_REACTION:GLAZE_LARGE_POT]
[PERMITTED_REACTION:GLAZE_CRAFT]
[PERMITTED_REACTION:PRESS_OIL]
[PERMITTED_REACTION:PRESS_OIL_FRUIT]
[PERMITTED_REACTION:MAKE_CLAY_HIVE]
[PERMITTED_REACTION:PRESS_HONEYCOMB]
[PERMITTED_REACTION:MAKE_WAX_CRAFTS]
[PERMITTED_REACTION:BREW_DRINK_FROM_PLANT]
[PERMITTED_REACTION:BREW_DRINK_FROM_PLANT_GROWTH]
[PERMITTED_REACTION:MAKE_MEAD]
[PERMITTED_REACTION:PROCESS_PLANT_TO_BAG]
[PERMITTED_REACTION:BRASS_MAKING]
[PERMITTED_REACTION:BRASS_MAKING2]
[PERMITTED_REACTION:BRONZE_MAKING]
[PERMITTED_REACTION:BRONZE_MAKING2]
[PERMITTED_REACTION:ELECTRUM_MAKING]
[PERMITTED_REACTION:ELECTRUM_MAKING2]
[PERMITTED_REACTION:BILLON_MAKING]
[PERMITTED_REACTION:BILLON_MAKING2]
[PERMITTED_REACTION:PEWTER_FINE_MAKING]
[PERMITTED_REACTION:PEWTER_FINE_MAKING2]
[PERMITTED_REACTION:PEWTER_TRIFLE_MAKING]
[PERMITTED_REACTION:PEWTER_TRIFLE_MAKING2]
[PERMITTED_REACTION:PEWTER_LAY_MAKING]
[PERMITTED_REACTION:BLACK_BRONZE_MAKING]
[PERMITTED_REACTION:STERLING_SILVER_MAKING]
[PERMITTED_REACTION:ROSE_GOLD_MAKING]
[WORLD_CONSTRUCTION:WALL]
[WORLD_CONSTRUCTION:BRIDGE]
[WORLD_CONSTRUCTION:ROAD]
[ETHIC:KILL_ENTITY_MEMBER:JUSTIFIED_IF_GOOD_REASON]
[ETHIC:KILL_NEUTRAL:JUSTIFIED_IF_NO_REPERCUSSIONS]
[ETHIC:KILL_ENEMY:ACCEPTABLE]
[ETHIC:KILL_ANIMAL:ACCEPTABLE]
[ETHIC:KILL_PLANT:ACCEPTABLE]
[ETHIC:TORTURE_AS_EXAMPLE:ACCEPTABLE]
[ETHIC:TORTURE_FOR_INFORMATION:ACCEPTABLE]
[ETHIC:TORTURE_FOR_FUN:APPALLING]
[ETHIC:TORTURE_ANIMALS:SHUN]
[ETHIC:TREASON:PUNISH_CAPITAL]
[ETHIC:OATH_BREAKING:PUNISH_CAPITAL]
[ETHIC:LYING:PERSONAL_MATTER]
[ETHIC:VANDALISM:PUNISH_SERIOUS]
[ETHIC:TRESPASSING:PUNISH_SERIOUS]
[ETHIC:THEFT:PUNISH_SERIOUS]
[ETHIC:ASSAULT:PUNISH_SERIOUS]
[ETHIC:SLAVERY:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_OTHER:UNTHINKABLE]
[ETHIC:EAT_SAPIENT_KILL:UNTHINKABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[VARIABLE_VALUE:ALL:-30:30]
[WILL_ACCEPT_TRIBUTE]
[VARIABLE_POSITIONS:ALL]
[SITE_VARIABLE_POSITIONS:ALL]
[BANDITRY:5]
[STONE_SHAPE:OVAL_CABOCHON]
[STONE_SHAPE:ROUND_CABOCHON]
[STONE_SHAPE:CUSHION_CABOCHON]
[STONE_SHAPE:RECTANGULAR_CABOCHON]
[GEM_SHAPE:OVAL_CABOCHON]
[GEM_SHAPE:ROUND_CABOCHON]
[GEM_SHAPE:CUSHION_CABOCHON]
[GEM_SHAPE:RECTANGULAR_CABOCHON]
[GEM_SHAPE:POINT_CUT_GEM]
[GEM_SHAPE:TABLE_CUT_GEM]
[GEM_SHAPE:SINGLE_CUT_GEM]
[GEM_SHAPE:ROSE_CUT_GEM]
[GEM_SHAPE:BRIOLETTE_CUT_GEM]
[GENERATE_WIND_INSTRUMENTS]
[GENERATE_POETIC_FORMS]
[GENERATE_MUSICAL_FORMS]
[GENERATE_DANCE_FORMS]
And here is the modified Giant Earthworm:
[CREATURE:GIANT_EARTHWORM]
[ARENA_RESTRICTED]
[DESCRIPTION:A gigantic version of its tiny cousin, this long, slimy creature tunnels through the rocks deep underground.]
[NAME:giant earthworm:giant earthworms:giant earthworm]
[CASTE_NAME:giant earthworm:giant earthworms:giant earthworm]
[CREATURE_TILE:'W'][COLOR:7:0:0]
[PETVALUE:500]
[FREQUENCY:20]
[NATURAL][NOBONES]
[LARGE_ROAMING]
[TRADE_CAPACITY:2000]
[PACK_ANIMAL]
[WAGON_PULLER]
[BIOME:SUBTERRANEAN_CHASM]
[UNDERGROUND_DEPTH:1:2]
[POPULATION_NUMBER:15:30]
[CLUSTER_NUMBER:1:1]
[PREFSTRING:awesome presence]
[EXTRAVISION]
[CANNOT_JUMP]
[BODY:BODY_WITH_HEAD_FLAG:HEART:GUTS:BRAIN:MOUTH]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[REMOVE_MATERIAL:HAIR]
[REMOVE_MATERIAL:BONE]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:HAIR]
[REMOVE_TISSUE:BONE]
[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:SKIN:FAT:MUSCLE]
[RELSIZE:BY_CATEGORY:SKIN:3000]
[HAS_NERVES]
[APPLY_CREATURE_VARIATION:STANDARD_WALK_CRAWL_GAITS:9000:8900:8825:8775:9500:9900] 1 kph
[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:9000:8900:8825:8775:9500:9900] 1 kph
[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:20000]
[BODY_SIZE:1:0:100000]
[BODY_SIZE:2:0:200000]
[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[MAXAGE:5:15]
[ALL_ACTIVE]
[NO_SLEEP]
[NO_DIZZINESS]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:GRAY:1:PINK:1:RUSSET:1]
[TLCM_NOUN:skin:SINGULAR]
[SELECT_MATERIAL:ALL]
[MULTIPLY_VALUE:2]
On the Leech Men front, the puzzle deepens. I realized Leech Men have no eyes, and also have EXTRAVISION - so I suspected one of those was the culprit. Sure enough, pasting SENSE_CREATURE_CLASS on a Dwarf let him see through walls, but no luck for the Leech Man - even after removing Extravision, and then again after adding eyes. Worse still, I added it to Mosquito Men and it also failed! Pasting it onto a Rat Man worked fine. Maybe something in the materials for mollusc/insects is an issue?...
Regardless, SENSE_CREATURE_CLASS works correctly when they acquire it via syndrome. Very strange.
EDIT: Looks like I got it to work this time. Turns out you need either [PET] or [PET_EXOTIC] in combination with the rest to make it work.