World gen started crashing after I added this corn in a new plant RAW file. It crashes while it's placing civilizations. It usually gets through a few civs before it crashes, so it must only do it for a certain type. Probably only civs that can grow above ground crops and are in the proper biome.
[PLANT:GRASS_MAIZE]
[NAME:corn stalk][NAME_PLURAL:corn stalks][ADJ:corn stalk]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
[MATERIAL_VALUE:2]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
[PICKED_TILE:231][PICKED_COLOR:6:2:1]
[GROWDUR:504][VALUE:2]
[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:frozen corn whiskey]
[STATE_NAME_ADJ:LIQUID:corn whiskey]
[STATE_NAME_ADJ:GAS:boiling corn whiskey]
[MATERIAL_VALUE:2]
[DISPLAY_COLOR:6:0:0]
[EDIBLE_RAW]
[EDIBLE_COOKED]
[PREFIX:NONE]
[DRINK:LOCAL_PLANT_MAT:DRINK]
[USE_MATERIAL_TEMPLATE:MILL:PLANT_POWDER_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:cornmeal]
[STATE_COLOR:ALL_SOLID:YELLOW]
[DISPLAY_COLOR:6:6:1]
[MATERIAL_VALUE:20]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[PREFIX:NONE]
[MILL:LOCAL_PLANT_MAT:MILL]
[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
[MATERIAL_VALUE:1]
[EDIBLE_RAW]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[SEED:kernal:kernals:6:2:1:STRUCTURAL:LOCAL_PLANT_MAT:SEED]
[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]
[MATERIAL_VALUE:5]
[EDIBLE_COOKED]
[LEAVES:corn husk:corn husks:7:2:2:0:6:4:0:LOCAL_PLANT_MAT:LEAF]
[PREFIX:NONE]
[PREFSTRING:height]
[PREFSTRING:yellow kernals]
[SPRING][SUMMER][AUTUMN]
[DRY][WET][BIOME:ANY_TEMPERATE][BIOME:ANY_TROPICAL]
[CLUSTERSIZE:4]
What could the problem be? I just copied from a standard plant and replaced parts with corn statistics. The leaf part is the only extra I added I tried genning without the leaves on.
I also have cotton, but it doesn't crash the game.