I've got two entities that crash the world gen, right after the "placing civilizations" part.
I have no idea why. One is very basic (just there to attack you), with very limited positions. The second one shares most of its features with the entities that don't crash the worldgen.
There's nothing in the error log. The creatures must be alright, they work in the arena.
Both entities worked fine in 34.x. I've only changed them by adding the 40.x values.
I'll post the code for the first entity.
The second one is too big to post; however, I stress that it has mostly the same things as my other entities, which don't cause crashes. The set of positions that it uses is the Rhenaya's Drow position set, and it's in one of those too.
entity_valik_crows
[OBJECT:ENTITY]
[ENTITY:CROWS]
[INDIV_CONTROLLABLE]
[CREATURE:CROWS]
[TRANSLATION:DWARF]
[DIGGER:ITEM_WEAPON_PICK]
[WEAPON:ITEM_WEAPON_FLECHETTE_M1]
[WEAPON:ITEM_WEAPON_FLECHETTE_M2]
[WEAPON:ITEM_WEAPON_FLECHETTE_M3]
[WEAPON:ITEM_WEAPON_FLECHETTE_M4]
[AMMO:ITEM_AMMO_FLECHETTE]
[WEAPON:ITEM_WEAPON_DAGGER_FIGHTING]
[WEAPON:ITEM_WEAPON_LONGSWORD]
[WEAPON:ITEM_WEAPON_SWORD_GREAT]
[WEAPON:ITEM_WEAPON_SWORD_2H]
[WEAPON:ITEM_WEAPON_AXE_BARDICHE]
[WEAPON:ITEM_WEAPON_MACE_GOEDENDAG]
[WEAPON:ITEM_WEAPON_HAMMER_MAUL]
[WEAPON:ITEM_WEAPON_PIKE_GUISARME]
[WEAPON:ITEM_WEAPON_PIKE_GLAIVE]
[WEAPON:ITEM_WEAPON_PIKE_HALBERD]
[WEAPON:ITEM_WEAPON_PIKE_VOULGE]
[WEAPON:ITEM_WEAPON_AXE_TRAINING]
[WEAPON:ITEM_WEAPON_SWORD_TRAINING]
[WEAPON:ITEM_WEAPON_HAMMER_TRAINING]
[WEAPON:ITEM_WEAPON_MACE_TRAINING]
[WEAPON:ITEM_WEAPON_PIKE_TRAINING]
[ARMOR:ITEM_ARMOR_MORR_MAIL:FORCED]
[ARMOR:ITEM_ARMOR_GAMBESON:FORCED]
[ARMOR:ITEM_ARMOR_MORR_ROBE:COMMON]
[PANTS:ITEM_ARMOR_PADDING:FORCED]
[PANTS:ITEM_PANTS_MORR_SKIRT:COMMON]
[HELM:ITEM_HELM_MORR_HORNED:FORCED]
[HELM:ITEM_HELM_MORR_CROWN:FORCED]
[HELM:ITEM_HELM_MORR_HALF:COMMON]
[SHOES:ITEM_SHOES_MORR_BOOTS:FORCED]
[SHOES:ITEM_SHOES_MORR_FOOTWRAPS:COMMON]
[GLOVES:ITEM_GLOVES_GLOVES_CHAIN:FORCED]
[GLOVES:ITEM_GLOVES_WRAP:COMMON]
[SHIELD:ITEM_SHIELD_BULWARK]
[CLOTHING]
[CURRENCY:COPPER:1]
[CURRENCY:SILVER:5]
[CURRENCY:GOLD:15]
[CURRENCY:STARSTEEL:30]
[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:REMAINING:EVIL]
[SELECT_SYMBOL:REMAINING:CHAOS]
[SELECT_SYMBOL:REMAINING:LUST]
[SELECT_SYMBOL:REMAINING:DARKNESS]
[CULL_SYMBOL:ALL:DOMESTIC]
[CULL_SYMBOL:ALL:SUBORDINATE]
[CULL_SYMBOL:ALL:UNTOWARD]
[CULL_SYMBOL:ALL:FLOWERY]
[CULL_SYMBOL:ALL:PRIMITIVE]
[CULL_SYMBOL:ALL:NATURE]
[CULL_SYMBOL:ALL:NEGATIVE]
[CULL_SYMBOL:ALL:UGLY]
[CULL_SYMBOL:ALL:NEGATOR]
[CULL_SYMBOL:ALL:HOLY]
[CULL_SYMBOL:ALL:PEACE]
[CULL_SYMBOL:ALL:GOOD]
[OUTDOOR_WOOD]
[INDOOR_WOOD]
[INDOOR_FARMING]
[USE_ANIMAL_PRODUCTS]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[SPHERE_ALIGNMENT:WAR:512]
[ART_FACET_MODIFIER:GOOD:0]
[ART_FACET_MODIFIER:EVIL:512]
[FRIENDLY_COLOR:5:0:1]
[DEFAULT_SITE_TYPE:DARK_FORTRESS]
[LIKES_SITE:DARK_FORTRESS]
[TOLERATES_SITE:DARK_FORTRESS]
[START_BIOME:MOUNTAIN]
[BIOME_SUPPORT:ANY_FOREST:1]
[BIOME_SUPPORT:MOUNTAIN:3]
[BIOME_SUPPORT:ANY_GRASSLAND:3]
[BIOME_SUPPORT:ANY_SAVANNA:3]
[BIOME_SUPPORT:ANY_SHRUBLAND:3]
[BIOME_SUPPORT:ANY_RIVER:1]
[PROGRESS_TRIGGER_POPULATION:4]
[PROGRESS_TRIGGER_PRODUCTION:4]
[PROGRESS_TRIGGER_TRADE:4]
[PROGRESS_TRIGGER_POP_SIEGE:4]
[PROGRESS_TRIGGER_PROD_SIEGE:5]
[PROGRESS_TRIGGER_TRADE_SIEGE:5]
[ACTIVE_SEASON:WINTER]
[ACTIVE_SEASON:SUMMER]
[BABYSNATCHER]
[MAX_STARTING_CIV_NUMBER:50]
[MAX_POP_NUMBER:100000]
[MAX_SITE_POP_NUMBER:300]
[SPHERE_ALIGNMENT:WAR:512]
[SPHERE_ALIGNMENT:BLIGHT:512]
[SPHERE_ALIGNMENT:DARKNESS:512]
[SPHERE_ALIGNMENT:DANCE:512]
[SPHERE_ALIGNMENT:DEPRAVITY:1024]
[SPHERE_ALIGNMENT:INSPIRATION:512]
[SPHERE_ALIGNMENT:LIES:512]
[SPHERE_ALIGNMENT:LOYALTY:512]
[SPHERE_ALIGNMENT:LUST:512]
[SPHERE_ALIGNMENT:NIGHTMARES:512]
[SPHERE_ALIGNMENT:TWILIGHT:512]
[SPHERE_ALIGNMENT:SUICIDE:512]
[SPHERE_ALIGNMENT:THRALLDOM:512]
[SPHERE_ALIGNMENT:TORTURE:512]
[SPHERE_ALIGNMENT:TREACHERY:512]
[WANDERER]
[BEAST_HUNTER]
[SCOUT]
[METAL_PREF]
[PERMITTED_JOB:MINER]
[PERMITTED_JOB:CARPENTER]
[PERMITTED_JOB:BOWYER]
[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:GEM_CUTTER]
[PERMITTED_JOB:GEM_SETTER]
[PERMITTED_JOB:WOODCRAFTER]
[PERMITTED_JOB:STONECRAFTER]
[PERMITTED_JOB:LEATHERWORKER]
[PERMITTED_JOB:BONE_CARVER]
[PERMITTED_JOB:WEAVER]
[PERMITTED_JOB:CLOTHIER]
[PERMITTED_JOB:GLASSMAKER]
[PERMITTED_JOB:STRAND_EXTRACTOR]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_DISSECTOR]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:CHEESE_MAKER]
[PERMITTED_JOB:MILKER]
[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_BUILDING:SOAP_MAKER]
[PERMITTED_BUILDING:SCREW_PRESS]
[PERMITTED_BUILDING:METAL_CHEAT]
[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:GLAZE_JUG]
[PERMITTED_REACTION:GLAZE_STATUE]
[PERMITTED_REACTION:GLAZE_LARGE_POT]
[PERMITTED_REACTION:GLAZE_CRAFT]
[PERMITTED_REACTION:PRESS_OIL]
[PERMITTED_REACTION:MAKE_CLAY_HIVE]
[PERMITTED_REACTION:PRESS_HONEYCOMB]
[PERMITTED_REACTION:MAKE_WAX_CRAFTS]
[PERMITTED_REACTION:MAKE_MEAD]
[PERMITTED_REACTION:TAN_A_HIDE]
[PERMITTED_REACTION:RENDER_FAT]
[PERMITTED_REACTION:MAKE_PEARLASH]
[PERMITTED_REACTION:MAKE_PLASTER_POWDER]
[PERMITTED_REACTION:BITUMINOUS_COAL_TO_COKE]
[PERMITTED_REACTION:LIGNITE_TO_COKE]
[PERMITTED_REACTION:CONJURE_STARSTEEL]
[PERMITTED_REACTION:CONJURE_STARSTEELC_HEAT]
[WORLD_CONSTRUCTION:TUNNEL]
[WORLD_CONSTRUCTION:BRIDGE]
[ETHIC:KILL_ENTITY_MEMBER:UNTHINKABLE]
[ETHIC:KILL_NEUTRAL:ACCEPTABLE]
[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:ACCEPTABLE]
[ETHIC:TORTURE_ANIMALS:ACCEPTABLE]
[ETHIC:TREASON:PUNISH_CAPITAL]
[ETHIC:OATH_BREAKING:PERSONAL_MATTER]
[ETHIC:LYING:PERSONAL_MATTER]
[ETHIC:VANDALISM:PERSONAL_MATTER]
[ETHIC:TRESPASSING:PUNISH_SERIOUS]
[ETHIC:THEFT:PUNISH_CAPITAL]
[ETHIC:ASSAULT:PERSONAL_MATTER]
[ETHIC:SLAVERY:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_OTHER:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:SHUN]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[VARIABLE_POSITIONS:ALL]
[BANDITRY:50]
[LOCAL_BANDITRY]
//0.40.x
[INDOOR_GARDENS]
[INDOOR_ORCHARDS]
[PERMITTED_REACTION:PRESS_OIL_FRUIT]
[PERMITTED_REACTION:BREW_DRINK_FROM_PLANT]
[PERMITTED_REACTION:BREW_DRINK_FROM_PLANT_GROWTH]
[PERMITTED_REACTION:PROCESS_PLANT_TO_BAG]
[VALUE:LAW:50]
[VALUE:LOYALTY:50]
[VALUE:FAMILY:50]
[VALUE:FRIENDSHIP:10]
[VALUE:POWER:20]
[VALUE:TRUTH:30]
[VALUE:CUNNING:50]
[VALUE:ELOQUENCE:30]
[VALUE:FAIRNESS:10]
[VALUE:DECORUM:30]
[VALUE:TRADITION:50]
[VALUE:ARTWORK:40]
[VALUE:COOPERATION:20]
[VALUE:INDEPENDENCE:20]
[VALUE:STOICISM:30]
[VALUE:INTROSPECTION:20]
[VALUE:SELF_CONTROL:40]
[VALUE:TRANQUILITY:10]
[VALUE:HARMONY:0]
[VALUE:MERRIMENT:0]
[VALUE:CRAFTSMANSHIP:30]
[VALUE:MARTIAL_PROWESS:50]
[VALUE:SKILL:30]
[VALUE:HARD_WORK:20]
[VALUE:SACRIFICE:10]
[VALUE:COMPETITION:20]
[VALUE:PERSEVERANCE:20]
[VALUE:LEISURE_TIME:-20]
[VALUE:COMMERCE:-30]
[VALUE:ROMANCE:10]
[VALUE:NATURE:-40]
[VALUE:PEACE:-30]
[POSITION:MORRU_QUAAN]
[NAME:first traveler:first travelers]
[ALLOWED_CREATURE:CROWS:MORRIGI]
[NUMBER:1]
[RESPONSIBILITY:RELIGION]
[SUCCESSION:BY_POSITION:SECOND]
[MENIAL_WORK_EXEMPTION]
[PUNISHMENT_EXEMPTION]
[ELECTED]
[DETERMINES_COIN_DESIGN]
[PRECEDENCE:2]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[COLOR:2:0:1]
[DUTY_BOUND]
[POSITION:SECOND]
[NAME:second traveler:second travelers]
[ALLOWED_CREATURE:CROWS:MORRIGI]
[NUMBER:2]
[MENIAL_WORK_EXEMPTION]
[PUNISHMENT_EXEMPTION]
[APPOINTED_BY:MORRU_QUAAN]
[PRECEDENCE:100]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[COLOR:2:0:0]
[DUTY_BOUND]
[POSITION:GENERAL]
[NAME:tactician:tactician]
[ALLOWED_CREATURE:CROWS:MORRIGI]
[NUMBER:2]
[RESPONSIBILITY:MILITARY_GOALS]
[RESPONSIBILITY:MILITARY_STRATEGY]
[COMMANDER:RANGER_CAPTAIN:ALL]
[MENIAL_WORK_EXEMPTION]
[PUNISHMENT_EXEMPTION]
[APPOINTED_BY:LEADER]
[PRECEDENCE:3]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[COLOR:3:0:1]
[DUTY_BOUND]
[POSITION:LEADER]
[NAME:overseer:overseers]
[ALLOWED_CREATURE:CROWS:MORRIGI]
[NUMBER:1]
[RULES_FROM_LOCATION]
[SUCCESSION:BY_POSITION:GENERAL]
[MENIAL_WORK_EXEMPTION]
[PUNISHMENT_EXEMPTION]
[APPOINTED_BY:MORRU_QUAAN]
[RESPONSIBILITY:LAW_MAKING]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[RESPONSIBILITY:MILITARY_GOALS]
[PRECEDENCE:1]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[COLOR:7:0:1]
[DUTY_BOUND]
[POSITION:RANGER_CAPTAIN]
[ALLOWED_CREATURE:CROWS:MORRIGI]
[ALLOWED_CREATURE:CROWS:MALE_HIPPOCORAX]
[ALLOWED_CREATURE:CROWS:FEMALE_HIPPOCORAX]
[NAME:scryer:scryers]
[NUMBER:AS_NEEDED]
[SQUAD:10:seeker:seekers]
[RESPONSIBILITY:ATTACK_ENEMIES]
[RESPONSIBILITY:PATROL_TERRITORY]
[APPOINTED_BY:GENERAL]
[PRECEDENCE:200]
[DO_NOT_CULL]
[DUTY_BOUND]