Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Corn makes world gen crash [solved]  (Read 713 times)

RaptorFarmer

  • Bay Watcher
    • View Profile
Corn makes world gen crash [solved]
« on: September 08, 2010, 07:48:54 pm »

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.

Code: [Select]
[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.
« Last Edit: September 09, 2010, 10:32:24 pm by RaptorFarmer »
Logged

Aramco

  • Bay Watcher
    • View Profile
Re: Corn makes world gen crash
« Reply #1 on: September 08, 2010, 08:57:21 pm »

There is a bug that makes worldgen crash during placing civilization, and modding seems to increase that chance, so you may just be unlucky. Try a few more times to see if it will at all work.
Logged
Or maybe there's a god who's just completely insane and sends you to Detroit, Michigan in a new body if you ever utter the name "Pat Sajak".

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: Corn makes world gen crash
« Reply #2 on: September 08, 2010, 11:56:25 pm »

What did the errorlog say? That's usually the first place I look when I have modding issues. Maybe looking at the worldgen reject log too would be worth a try.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

RaptorFarmer

  • Bay Watcher
    • View Profile
Re: Corn makes world gen crash
« Reply #3 on: September 09, 2010, 10:32:02 pm »

I found the problem.  I had misspelled the seed's material.
Logged