1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Resources terain requirements?

Discussion in 'Civ6 - General Discussions' started by Palavos, Mar 7, 2017.

  1. Palavos

    Palavos Chieftain

    Joined:
    Jun 5, 2016
    Messages:
    34
    Are there any? There is no mention in either in-game civilipedia or in civ vi wiki..

    So does that mean that you can have salt or silk on grassland? or wine in a hill? Is there anywhere I can see the terain requirements of each resource/luxury?
     
  2. Leyrann

    Leyrann Deity

    Joined:
    Jan 11, 2015
    Messages:
    4,016
    Gender:
    Male
    Location:
    Netherlands
    I'm pretty sure that there's requirements, but I'm not 100% sure. It certainly is weird that you have ivory on tundra with some frequency.
     
  3. isau

    isau Deity

    Joined:
    Jan 15, 2007
    Messages:
    3,068
    Yes, Resources are bound by terrain type, in the Resource_ValidTerrains table.

    RESOURCE_CATTLE TERRAIN_GRASS
    RESOURCE_COPPER TERRAIN_DESERT_HILLS
    RESOURCE_COPPER TERRAIN_GRASS_HILLS
    RESOURCE_COPPER TERRAIN_PLAINS_HILLS
    RESOURCE_COPPER TERRAIN_SNOW_HILLS
    RESOURCE_COPPER TERRAIN_TUNDRA_HILLS
    RESOURCE_CRABS TERRAIN_COAST
    RESOURCE_DEER TERRAIN_TUNDRA
    RESOURCE_DEER TERRAIN_TUNDRA_HILLS
    RESOURCE_FISH TERRAIN_COAST
    RESOURCE_SHEEP TERRAIN_DESERT_HILLS
    RESOURCE_SHEEP TERRAIN_GRASS_HILLS
    RESOURCE_SHEEP TERRAIN_PLAINS_HILLS
    RESOURCE_SHEEP TERRAIN_TUNDRA_HILLS
    RESOURCE_STONE TERRAIN_GRASS
    RESOURCE_STONE TERRAIN_GRASS_HILLS
    RESOURCE_RICE TERRAIN_GRASS
    RESOURCE_WHEAT TERRAIN_PLAINS
    RESOURCE_CITRUS TERRAIN_GRASS
    RESOURCE_CITRUS TERRAIN_PLAINS
    RESOURCE_COFFEE TERRAIN_GRASS
    RESOURCE_COTTON TERRAIN_GRASS
    RESOURCE_COTTON TERRAIN_PLAINS
    RESOURCE_DIAMONDS TERRAIN_DESERT_HILLS
    RESOURCE_DIAMONDS TERRAIN_GRASS_HILLS
    RESOURCE_DIAMONDS TERRAIN_PLAINS_HILLS
    RESOURCE_DIAMONDS TERRAIN_TUNDRA_HILLS
    RESOURCE_FURS TERRAIN_TUNDRA
    RESOURCE_GYPSUM TERRAIN_DESERT_HILLS
    RESOURCE_GYPSUM TERRAIN_PLAINS_HILLS
    RESOURCE_GYPSUM TERRAIN_PLAINS
    RESOURCE_GYPSUM TERRAIN_TUNDRA_HILLS
    RESOURCE_INCENSE TERRAIN_DESERT
    RESOURCE_INCENSE TERRAIN_PLAINS
    RESOURCE_IVORY TERRAIN_DESERT
    RESOURCE_IVORY TERRAIN_PLAINS
    RESOURCE_IVORY TERRAIN_PLAINS_HILLS
    RESOURCE_JADE TERRAIN_GRASS
    RESOURCE_JADE TERRAIN_PLAINS
    RESOURCE_JADE TERRAIN_TUNDRA
    RESOURCE_MARBLE TERRAIN_GRASS
    RESOURCE_MARBLE TERRAIN_GRASS_HILLS
    RESOURCE_MARBLE TERRAIN_PLAINS_HILLS
    RESOURCE_MERCURY TERRAIN_PLAINS
    RESOURCE_PEARLS TERRAIN_COAST
    RESOURCE_SALT TERRAIN_DESERT
    RESOURCE_SALT TERRAIN_PLAINS
    RESOURCE_SALT TERRAIN_TUNDRA
    RESOURCE_SILVER TERRAIN_DESERT
    RESOURCE_SILVER TERRAIN_DESERT_HILLS
    RESOURCE_SILVER TERRAIN_TUNDRA
    RESOURCE_SILVER TERRAIN_TUNDRA_HILLS
    RESOURCE_TEA TERRAIN_GRASS
    RESOURCE_TEA TERRAIN_GRASS_HILLS
    RESOURCE_TOBACCO TERRAIN_GRASS
    RESOURCE_TOBACCO TERRAIN_PLAINS
    RESOURCE_WHALES TERRAIN_COAST
    RESOURCE_WINE TERRAIN_GRASS
    RESOURCE_WINE TERRAIN_PLAINS
    RESOURCE_ALUMINUM TERRAIN_DESERT
    RESOURCE_ALUMINUM TERRAIN_DESERT_HILLS
    RESOURCE_COAL TERRAIN_GRASS_HILLS
    RESOURCE_COAL TERRAIN_PLAINS_HILLS
    RESOURCE_HORSES TERRAIN_GRASS
    RESOURCE_HORSES TERRAIN_PLAINS
    RESOURCE_IRON TERRAIN_GRASS_HILLS
    RESOURCE_IRON TERRAIN_PLAINS_HILLS
    RESOURCE_IRON TERRAIN_DESERT_HILLS
    RESOURCE_IRON TERRAIN_TUNDRA_HILLS
    RESOURCE_NITER TERRAIN_GRASS
    RESOURCE_NITER TERRAIN_PLAINS
    RESOURCE_NITER TERRAIN_DESERT
    RESOURCE_NITER TERRAIN_TUNDRA
    RESOURCE_OIL TERRAIN_COAST
    RESOURCE_OIL TERRAIN_DESERT
    RESOURCE_OIL TERRAIN_SNOW
    RESOURCE_OIL TERRAIN_TUNDRA
    RESOURCE_URANIUM TERRAIN_DESERT
    RESOURCE_URANIUM TERRAIN_DESERT_HILLS
    RESOURCE_URANIUM TERRAIN_GRASS
    RESOURCE_URANIUM TERRAIN_GRASS_HILLS
    RESOURCE_URANIUM TERRAIN_PLAINS
    RESOURCE_URANIUM TERRAIN_PLAINS_HILLS
    RESOURCE_URANIUM TERRAIN_SNOW
    RESOURCE_URANIUM TERRAIN_SNOW_HILLS
    RESOURCE_URANIUM TERRAIN_TUNDRA
    RESOURCE_URANIUM TERRAIN_TUNDRA_HILLS
    RESOURCE_ANTIQUITY_SITE TERRAIN_DESERT
    RESOURCE_ANTIQUITY_SITE TERRAIN_DESERT_HILLS
    RESOURCE_ANTIQUITY_SITE TERRAIN_GRASS
    RESOURCE_ANTIQUITY_SITE TERRAIN_GRASS_HILLS
    RESOURCE_ANTIQUITY_SITE TERRAIN_PLAINS
    RESOURCE_ANTIQUITY_SITE TERRAIN_PLAINS_HILLS
    RESOURCE_ANTIQUITY_SITE TERRAIN_SNOW
    RESOURCE_ANTIQUITY_SITE TERRAIN_SNOW_HILLS
    RESOURCE_ANTIQUITY_SITE TERRAIN_TUNDRA
    RESOURCE_ANTIQUITY_SITE TERRAIN_TUNDRA_HILLS
    RESOURCE_SHIPWRECK TERRAIN_COAST



    There are also limitations on which Features they can appear on top of. If a resource doesn't have a definition in the ValidTerrains table, it is usually instead controlled by Features (and Features have their own list of valid terrains they can appear on, eg no Jungle on Desert).


    RESOURCE_BANANAS FEATURE_JUNGLE
    RESOURCE_DEER FEATURE_FOREST
    RESOURCE_RICE FEATURE_MARSH
    RESOURCE_WHEAT FEATURE_FLOODPLAINS
    RESOURCE_COCOA FEATURE_JUNGLE
    RESOURCE_COFFEE FEATURE_JUNGLE
    RESOURCE_COTTON FEATURE_FLOODPLAINS
    RESOURCE_DIAMONDS FEATURE_JUNGLE
    RESOURCE_DYES FEATURE_JUNGLE
    RESOURCE_DYES FEATURE_FOREST
    RESOURCE_FURS FEATURE_FOREST
    RESOURCE_IVORY FEATURE_JUNGLE
    RESOURCE_IVORY FEATURE_FOREST
    RESOURCE_SILK FEATURE_FOREST
    RESOURCE_SPICES FEATURE_FOREST
    RESOURCE_SPICES FEATURE_JUNGLE
    RESOURCE_SUGAR FEATURE_FLOODPLAINS
    RESOURCE_SUGAR FEATURE_MARSH
    RESOURCE_TOBACCO FEATURE_FOREST
    RESOURCE_TOBACCO FEATURE_JUNGLE
    RESOURCE_TRUFFLES FEATURE_MARSH
    RESOURCE_TRUFFLES FEATURE_FOREST
    RESOURCE_TRUFFLES FEATURE_JUNGLE
    RESOURCE_WINE FEATURE_FOREST
    RESOURCE_NITER FEATURE_FLOODPLAINS
    RESOURCE_OIL FEATURE_MARSH
    RESOURCE_URANIUM FEATURE_JUNGLE
    RESOURCE_URANIUM FEATURE_FOREST
    RESOURCE_ANTIQUITY_SITE FEATURE_OASIS
    RESOURCE_ANTIQUITY_SITE FEATURE_JUNGLE
    RESOURCE_ANTIQUITY_SITE FEATURE_FOREST
    RESOURCE_ANTIQUITY_SITE FEATURE_MARSH
    RESOURCE_ANTIQUITY_SITE FEATURE_FLOODPLAINS
     
    Piruparka likes this.
  4. Leyrann

    Leyrann Deity

    Joined:
    Jan 11, 2015
    Messages:
    4,016
    Gender:
    Male
    Location:
    Netherlands
    So that explains how Ivory can appear on Tundra... If there's a Tundra/Forest tile it only looks at the "Forest" part. Firaxis pls.
     
  5. Palavos

    Palavos Chieftain

    Joined:
    Jun 5, 2016
    Messages:
    34
  6. qadams

    qadams Bohemian

    Joined:
    Jan 2, 2014
    Messages:
    707
    Location:
    Ruritania
    It still strikes me as weird, even immersion-breaking, that you can have Spices showing up in tundra (as in this screenshot), so close to polar ice!

    Screen Shot 2017-03-10 at 11.31.48 AM.png
     
    xcrissxcrossx likes this.
  7. Browd

    Browd Dilettante Administrator

    Joined:
    Aug 5, 2012
    Messages:
    11,849
    Gender:
    Male
    Location:
    Rural Vermont
    That tile doesn't contain ordinary "spices" -- it's the site of a brewery that makes "arctic spice" ale. Gotta envy those barbs....
     
    qadams likes this.
  8. ShakaKhan

    ShakaKhan King

    Joined:
    Jan 5, 2015
    Messages:
    863
    @ isau - this seems incomplete. just off the top of my head, I have frequently seen both fish and crab on lake tiles and they are only supposed to be in coastal tiles according to what is listed.

    Also, does this list apply to each map script? I ask because in civ 5, there were "standard" terrain requirements for the "normal" maps (continents, pangaea, pangaea plus, archipelago,etc.) but they did not apply to some of the other map scripts like great plains and Earth. Does this list apply to all map scripts?
     
  9. isau

    isau Deity

    Joined:
    Jan 15, 2007
    Messages:
    3,068

    The list is obtained from the database. An individual map script would be free to override or ignore what is in there.

    There is no "Lake" terrain in the database. In the database, Lakes are just landlocked Coastal tiles. I think it's up to the map script to decide when they considered "Lakes" versus "Seas."

    EDIT: Correcting myself slightly. There is a column for Resources that in theory would let you tell the mapscript not to place a resource in a Lake. However none of the existing resources make this distinction. If it can appear on coasts, it can appear in a lake.

    EDIT: Lied again. I took a closer look and now see that Whales can't appear in Lakes.
     
    Last edited: Mar 12, 2017
  10. WillowBrook

    WillowBrook Lurker

    Joined:
    Sep 12, 2004
    Messages:
    3,445
    Location:
    Chicagoland
    I consider the tundra ivory to be herds of woolly mammoth
     
  11. isau

    isau Deity

    Joined:
    Jan 15, 2007
    Messages:
    3,068
    Here's the list in a somewhat easier to read format. I had to do some manual editing so I may have messed up somewhere, but it's based essentially on this SQL:

    select resources.Resourcetype, Frequency, resources.NoRiver, resource_validterrains.TerrainType from resources
    left join resource_validterrains on resource_validterrains.ResourceType = resources.ResourceType

    union

    select resources.Resourcetype, Frequency, resources.NoRiver, resource_validfeatures.FeatureType from resources
    left join resource_validfeatures on resource_validfeatures.ResourceType = resources.ResourceType


    It shows Frequency. NoRiver (if true resource never appears next to rivers) Terrain and FeatureTypes. These are the things passed to the map script to determine layout. What the mapscript actually does with the values depends on how the map developer chose to incorporate the values.

    Spoiler Resource Spreadsheet :
    Book1-1.jpg Book1-2.jpg Book1-3.jpg Book1-4.jpg


    Moderator Action: Large spreadsheet wrapped in spoiler tags
     
    Last edited by a moderator: Mar 12, 2017
  12. Leyrann

    Leyrann Deity

    Joined:
    Jan 11, 2015
    Messages:
    4,016
    Gender:
    Male
    Location:
    Netherlands
    How does the "frequency" work? Eg stone has the same frequency as the strategic resources, but appears much more often.
     

Share This Page