Unique Building not showing up

gibbelblonk

Chieftain
Joined
Nov 28, 2017
Messages
2
My custom civs unique building isn't showing and the granary which it replaces is gone from the game.
Tried many of the solutions in the forums but none of them helped.

civilization.xml
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
  <Civilizations>
    <Row>
      <Type>CIVILIZATION_FINNIC</Type>
      <Description>TXT_KEY_CIV_FINNIC_DESC</Description>
      <Civilopedia></Civilopedia>
      <CivilopediaTag>TXT_KEY_CIV5_FINNIC</CivilopediaTag>
      <Strategy></Strategy>
      <Playable>1</Playable>
      <AIPlayable>1</AIPlayable>
      <ShortDescription>TXT_KEY_CIV_FINNIC_SHORT_DESC</ShortDescription>
      <Adjective>TXT_KEY_CIV_FINNIC_ADJECTIVE</Adjective>
      <DefaultPlayerColor>PLAYERCOLOR_FINNIC</DefaultPlayerColor>
      <ArtDefineTag>ART_DEF_CIVILIZATION_ROME</ArtDefineTag>
      <ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
      <ArtStyleSuffix>_EURO</ArtStyleSuffix>
      <ArtStylePrefix>EUROPEAN</ArtStylePrefix>
      <DerivativeCiv></DerivativeCiv>
      <PortraitIndex>3</PortraitIndex>
      <IconAtlas>EXPANSION_CIV_COLOR_ATLAS</IconAtlas>
      <AlphaIconAtlas>EXPANSION_CIV_ALPHA_ATLAS</AlphaIconAtlas>
      <MapImage>MapCelts512.dds</MapImage>
      <DawnOfManQuote>TXT_KEY_CIV5_DAWN_FINNIC_TEXT</DawnOfManQuote>
      <DawnOfManImage>DOM_Boudicca.dds</DawnOfManImage>
      <DawnOfManAudio>AS2D_DOM_SPEECH_FINNIC</DawnOfManAudio>
      <SoundtrackTag></SoundtrackTag>
    </Row>
  </Civilizations>

  <Civilization_BuildingClassOverrides>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <BuildingClassType>BUILDINGCLASS_GRANARY</BuildingClassType>
      <BuildingType>BUILDING_KUVALAUTA</BuildingType>
    </Row>
  </Civilization_BuildingClassOverrides>
  <Civilization_CityNames>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_0</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_1</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_2</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_3</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_4</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_5</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_6</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_7</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_8</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_9</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_10</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_11</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_12</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_13</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_14</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_15</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_16</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_17</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_18</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_19</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_20</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_21</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_22</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_23</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_24</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_25</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_26</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_27</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_28</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_29</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_30</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_31</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_32</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_33</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_34</CityName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <CityName>TXT_KEY_CITY_NAME_FINNIC_35</CityName>
    </Row>
  </Civilization_CityNames>
  <!-- Civilization_DisableTechs -->
  <Civilization_FreeBuildingClasses>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
    </Row>
  </Civilization_FreeBuildingClasses>
  <Civilization_FreeTechs>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <TechType>TECH_AGRICULTURE</TechType>
    </Row>
  </Civilization_FreeTechs>
  <Civilization_FreeUnits>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <UnitClassType>UNITCLASS_SETTLER</UnitClassType>
      <UnitAIType>UNITAI_SETTLE</UnitAIType>
      <Count>1</Count>
    </Row>
  </Civilization_FreeUnits>
  <Civilization_Leaders>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <LeaderheadType>LEADER_SPEDE_PASANEN</LeaderheadType>
    </Row>
  </Civilization_Leaders>
  <Civilization_Religions>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <ReligionType>RELIGION_CHRISTIANITY</ReligionType>
    </Row>
  </Civilization_Religions>
  <Civilization_SpyNames>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_0</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_1</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_2</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_3</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_4</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_5</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_6</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_7</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_8</SpyName>
    </Row>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <SpyName>TXT_KEY_SPY_NAME_FINNIC_9</SpyName>
    </Row>
  </Civilization_SpyNames>
  <Civilization_UnitClassOverrides>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <UnitClassType>UNITCLASS_RIFLEMAN</UnitClassType>
      <UnitType>UNIT_SPURDO_SPARDE</UnitType>
    </Row>
  </Civilization_UnitClassOverrides>
  <!-- Civilization_Start_Along_Ocean -->
  <!-- Civilization_Start_Along_River -->
  <Civilization_Start_Region_Priority>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <RegionType>REGION_FOREST</RegionType>
    </Row>
  </Civilization_Start_Region_Priority>
  <!-- Civilization_Start_Region_Avoid -->
  <!-- Civilization_Start_Place_First_Along_Ocean -->

  <PlayerColors>
    <Row>
      <Type>PLAYERCOLOR_FINNIC</Type>
      <PrimaryColor>COLOR_PLAYER_FINNIC_ICON</PrimaryColor>
      <SecondaryColor>COLOR_PLAYER_FINNIC_BACKGROUND</SecondaryColor>
      <TextColor>COLOR_PLAYER_WHITE_TEXT</TextColor>
    </Row>
  </PlayerColors>
  <Colors>
    <Row>
      <Type>COLOR_PLAYER_FINNIC_ICON</Type>
      <Red>0.5803</Red>
      <Green>0.6666</Green>
      <Blue>1.0</Blue>
      <Alpha>1.0</Alpha>
    </Row>
  </Colors>
  <Colors>
    <Row>
      <Type>COLOR_PLAYER_FINNIC_BACKGROUND</Type>
      <Red>0.0862</Red>
      <Green>0.3607</Green>
      <Blue>0.247</Blue>
      <Alpha>1.0</Alpha>
    </Row>
  </Colors>

  <Language_en_US>
    <Row Tag="TXT_KEY_CIV_FINNIC_DESC">
      <Text>The Proto-Finnic Holy Roman Khaganate</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_FACTOID_HEADING">
      <Text>Factoids</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_FACTOID_TEXT">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_1">
      <Text>History</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_10">
      <Text>The Finnish Language</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_11">
      <Text>Modern Ancestry</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_2">
      <Text>Terrain and Climate</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_3">
      <Text>Finnic Origins</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_4">
      <Text>Culture of the Khaganate</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_5">
      <Text>The Finns</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_6">
      <Text>The Gauls</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_7">
      <Text>The Roman Conquest</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_8">
      <Text>Influence of Finnish Culture</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_HEADING_9">
      <Text>Finnic Religion</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_1">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_10">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_11">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_2">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_3">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_4">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_5">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_6">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_7">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_8">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TEXT_9">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_FINNIC_TITLE">
      <Text>The Celts</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV_FINNIC_SHORT_DESC">
      <Text>The Finns</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV_FINNIC_ADJECTIVE">
      <Text>Finnic</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_DAWN_FINNIC_TEXT">
      <Text>Eternal glory and praise for you, fierce and vengeful Warrior Queen! In a time dominated by men, you not only secured your throne and sovereign rule, but also successfully defied the power of the Roman Empire.  After suffering terrible punishment and humiliation at the hand of the Roman invaders, you rallied your people in a bloody and terrifying revolt. Legions fell under your chariot wheels and the city of London burned. While in the end the Romans retained ownership of the isles, you alone made Nero consider withdrawing all troops and leaving Briton forever.[NEWLINE][NEWLINE]Oh sleeping lioness, your people desire that you rise and lead them again in the calling that is your namesake.  Will you meet their challenge on the open field and lead the Celts to everlasting victory? Will you restore your lands and build an empire to stand the test of time?</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_0">
      <Text>Helsinki</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_1">
      <Text>Dublin</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_2">
      <Text>Cardiff</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_3">
      <Text>Truro</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_4">
      <Text>Nantes</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_5">
      <Text>Douglas</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_6">
      <Text>Glasgow</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_7">
      <Text>Cork</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_8">
      <Text>Aberystwyth</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_9">
      <Text>Penzance</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_10">
      <Text>Rennes</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_11">
      <Text>Ramsey</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_12">
      <Text>Inverness</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_13">
      <Text>Limerick</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_14">
      <Text>Swansea</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_15">
      <Text>St Ives</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_16">
      <Text>Brest</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_17">
      <Text>Peel</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_18">
      <Text>Aberdeen</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_19">
      <Text>Belfast</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_20">
      <Text>Caernarfon</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_21">
      <Text>Newquay</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_22">
      <Text>Saint-Nazaire</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_23">
      <Text>Castletown</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_24">
      <Text>Stirling</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_25">
      <Text>Galway</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_26">
      <Text>Conwy</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_27">
      <Text>St Austell</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_28">
      <Text>Saint-Malo</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_29">
      <Text>Onchan</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_30">
      <Text>Dundee</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_31">
      <Text>Londonderry</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_32">
      <Text>Llanfairpwllgwyngyll</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_33">
      <Text>Falmouth</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_34">
      <Text>Lorient</Text>
    </Row>
    <Row Tag="TXT_KEY_CITY_NAME_FINNIC_35">
      <Text>St. John's</Text>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_0">
      <Text>Pekka</Text>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_1">
      <Text>Siobhán</Text>
      <Gender>feminine</Gender>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_2">
      <Text>Seamus</Text>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_3">
      <Text>Ffion</Text>
      <Gender>feminine</Gender>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_4">
      <Text>Pádraig</Text>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_5">
      <Text>Deirdre</Text>
      <Gender>feminine</Gender>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_6">
      <Text>Mr. Quinn</Text>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_7">
      <Text>Éadaoin</Text>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_8">
      <Text>Alwyn</Text>
    </Row>
    <Row Tag="TXT_KEY_SPY_NAME_FINNIC_9">
      <Text>Col Ceathar</Text>
    </Row>
  </Language_en_US>
</GameData>

buildings.xml
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
  <Buildings>
    <Row>
      <Type>BUILDING_KUVALAUTA</Type>
      <Description>TXT_KEY_BUILDING_KUVALAUTA</Description>
      <Civilopedia>TXT_KEY_CIV5_BUILDINGS_KUVALAUTA_TEXT</Civilopedia>
      <Strategy>TXT_KEY_BUILDING_KUVALAUTA_STRATEGY</Strategy>
        <ThemingBonusHelp></ThemingBonusHelp>
        <Quote></Quote>
        <GoldMaintenance>1</GoldMaintenance>
        <MutuallyExclusiveGroup>-1</MutuallyExclusiveGroup>
        <TeamShare>0</TeamShare>
        <Water>0</Water>
        <River>0</River>
        <FreshWater>0</FreshWater>
        <Mountain>0</Mountain>
        <NearbyMountainRequired>0</NearbyMountainRequired>
        <Hill>0</Hill>
        <Flat>0</Flat>
        <FoundsReligion>0</FoundsReligion>
        <IsReligious>0</IsReligious>
        <BorderObstacle>0</BorderObstacle>
        <PlayerBorderObstacle>0</PlayerBorderObstacle>
        <Capital>0</Capital>
        <GoldenAge>0</GoldenAge>
        <MapCentering>0</MapCentering>
        <NeverCapture>0</NeverCapture>
        <NukeImmune>0</NukeImmune>
        <AllowsWaterRoutes>0</AllowsWaterRoutes>
        <ExtraLuxuries>0</ExtraLuxuries>
        <DiplomaticVoting>0</DiplomaticVoting>
        <AffectSpiesNow>0</AffectSpiesNow>
        <NullifyInfluenceModifier>0</NullifyInfluenceModifier>
        <Cost>60</Cost>
        <FaithCost>0</FaithCost>
        <LeagueCost>0</LeagueCost>
        <UnlockedByBelief>0</UnlockedByBelief>
        <UnlockedByLeague>0</UnlockedByLeague>
        <HolyCity>0</HolyCity>
        <NumCityCostMod>0</NumCityCostMod>
        <HurryCostModifier>25</HurryCostModifier>
        <MinAreaSize>-1</MinAreaSize>
        <ConquestProb>66</ConquestProb>
        <CitiesPrereq>0</CitiesPrereq>
        <LevelPrereq>0</LevelPrereq>
        <CultureRateModifier>0</CultureRateModifier>
        <GlobalCultureRateModifier>0</GlobalCultureRateModifier>
        <GreatPeopleRateModifier>0</GreatPeopleRateModifier>
        <GlobalGreatPeopleRateModifier>0</GlobalGreatPeopleRateModifier>
        <GreatGeneralRateModifier>0</GreatGeneralRateModifier>
        <GreatPersonExpendGold>0</GreatPersonExpendGold>
        <GoldenAgeModifier>0</GoldenAgeModifier>
        <UnitUpgradeCostMod>0</UnitUpgradeCostMod>
        <Experience>0</Experience>
        <GlobalExperience>0</GlobalExperience>
        <FoodKept>0</FoodKept>
        <Airlift>0</Airlift>
        <AirModifier>0</AirModifier>
        <NukeModifier>0</NukeModifier>
        <NukeExplosionRand>0</NukeExplosionRand>
        <HealRateChange>0</HealRateChange>
        <Happiness>0</Happiness>
        <UnmoddedHappiness>0</UnmoddedHappiness>
        <UnhappinessModifier>0</UnhappinessModifier>
        <HappinessPerCity>0</HappinessPerCity>
        <HappinessPerXPolicies>0</HappinessPerXPolicies>
        <CityCountUnhappinessMod>0</CityCountUnhappinessMod>
        <NoOccupiedUnhappiness>0</NoOccupiedUnhappiness>
        <WorkerSpeedModifier>0</WorkerSpeedModifier>
        <MilitaryProductionModifier>0</MilitaryProductionModifier>
        <SpaceProductionModifier>0</SpaceProductionModifier>
        <GlobalSpaceProductionModifier>0</GlobalSpaceProductionModifier>
        <BuildingProductionModifier>0</BuildingProductionModifier>
        <WonderProductionModifier>0</WonderProductionModifier>
        <CityConnectionTradeRouteModifier>0</CityConnectionTradeRouteModifier>
        <CapturePlunderModifier>0</CapturePlunderModifier>
        <PolicyCostModifier>0</PolicyCostModifier>
        <PlotCultureCostModifier>0</PlotCultureCostModifier>
        <GlobalPlotCultureCostModifier>0</GlobalPlotCultureCostModifier>
        <PlotBuyCostModifier>0</PlotBuyCostModifier>
        <GlobalPlotBuyCostModifier>0</GlobalPlotBuyCostModifier>
        <GlobalPopulationChange>0</GlobalPopulationChange>
        <TechShare>0</TechShare>
        <FreeTechs>0</FreeTechs>
        <FreePolicies>0</FreePolicies>
        <FreeGreatPeople>0</FreeGreatPeople>
        <MedianTechPercentChange>0</MedianTechPercentChange>
        <Gold>0</Gold>
        <AllowsRangeStrike>0</AllowsRangeStrike>
        <Espionage>0</Espionage>
        <AllowsFoodTradeRoutes>1</AllowsFoodTradeRoutes>
        <AllowsProductionTradeRoutes>0</AllowsProductionTradeRoutes>
        <Defense>0</Defense>
        <ExtraCityHitPoints>0</ExtraCityHitPoints>
        <GlobalDefenseMod>0</GlobalDefenseMod>
        <MinorFriendshipChange>0</MinorFriendshipChange>
        <VictoryPoints>0</VictoryPoints>
        <ExtraMissionarySpreads>0</ExtraMissionarySpreads>
        <ReligiousPressureModifier>0</ReligiousPressureModifier>
        <EspionageModifier>0</EspionageModifier>
        <GlobalEspionageModifier>0</GlobalEspionageModifier>
        <ExtraSpies>0</ExtraSpies>
        <SpyRankChange>0</SpyRankChange>
        <InstantSpyRankChange>0</InstantSpyRankChange>
        <TradeRouteRecipientBonus>0</TradeRouteRecipientBonus>
        <TradeRouteTargetBonus>0</TradeRouteTargetBonus>
        <NumTradeRouteBonus>0</NumTradeRouteBonus>
        <LandmarksTourismPercent>0</LandmarksTourismPercent>
        <InstantMilitaryIncrease>0</InstantMilitaryIncrease>
        <GreatWorksTourismModifier>0</GreatWorksTourismModifier>
        <XBuiltTriggersIdeologyChoice>0</XBuiltTriggersIdeologyChoice>
        <TradeRouteSeaDistanceModifier>0</TradeRouteSeaDistanceModifier>
        <TradeRouteSeaGoldBonus>0</TradeRouteSeaGoldBonus>
        <TradeRouteLandDistanceModifier>0</TradeRouteLandDistanceModifier>
        <TradeRouteLandGoldBonus>0</TradeRouteLandGoldBonus>
        <CityStateTradeRouteProductionModifier>0</CityStateTradeRouteProductionModifier>
        <GreatScientistBeakerModifier>0</GreatScientistBeakerModifier>
        <BuildingClass>BUILDINGCLASS_GRANARY</BuildingClass>
        <ArtDefineTag>ART_DEF_BUILDING_GRANARY</ArtDefineTag>
        <NearbyTerrainRequired></NearbyTerrainRequired>
        <ProhibitedCityTerrain></ProhibitedCityTerrain>
        <VictoryPrereq></VictoryPrereq>
        <FreeStartEra>ERA_RENAISSANCE</FreeStartEra>
        <MaxStartEra></MaxStartEra>
        <ObsoleteTech></ObsoleteTech>
        <EnhancedYieldTech></EnhancedYieldTech>
        <TechEnhancedTourism>0</TechEnhancedTourism>
        <FreeBuilding></FreeBuilding>
        <FreeBuildingThisCity></FreeBuildingThisCity>
        <FreePromotion></FreePromotion>
        <TrainedFreePromotion></TrainedFreePromotion>
        <FreePromotionRemoved></FreePromotionRemoved>
        <ReplacementBuildingClass></ReplacementBuildingClass>
        <PrereqTech>TECH_POTTERY</PrereqTech>
        <PolicyBranchType></PolicyBranchType>
        <SpecialistType></SpecialistType>
        <SpecialistCount>0</SpecialistCount>
        <GreatWorkSlotType></GreatWorkSlotType>
        <FreeGreatWork></FreeGreatWork>
        <GreatWorkCount>0</GreatWorkCount>
        <SpecialistExtraCulture>0</SpecialistExtraCulture>
        <GreatPeopleRateChange>0</GreatPeopleRateChange>
        <ExtraLeagueVotes>0</ExtraLeagueVotes>
        <CityWall>0</CityWall>
        <DisplayPosition>0</DisplayPosition>
        <PortraitIndex>0</PortraitIndex>
        <WonderSplashImage></WonderSplashImage>
        <WonderSplashAnchor>R,T</WonderSplashAnchor>
        <WonderSplashAudio></WonderSplashAudio>
        <IconAtlas>BW_ATLAS_1</IconAtlas>
        <ArtInfoCulturalVariation>0</ArtInfoCulturalVariation>
        <ArtInfoEraVariation>0</ArtInfoEraVariation>
        <ArtInfoRandomVariation>0</ArtInfoRandomVariation>
    </Row>
  </Buildings>

  <!-- Building_AreaYieldModifiers -->
  <!-- Building_BuildingClassHappiness -->
  <!-- Building_BuildingClassYieldChanges -->
  <Building_ClassesNeededInCity>
    <Row>
      <BuildingType>BUILDING_KUVALAUTA</BuildingType>
      <BuildingClassType>BUILDINGCLASS_AMPHITHEATER</BuildingClassType>
    </Row>
  </Building_ClassesNeededInCity>
  <!-- Building_FreeUnits -->
  <!-- Building_DomainFreeExperiences -->
  <!-- Building_DomainFreeExperiencePerGreatWork -->
  <!-- Building_DomainProductionModifiers -->
  <!-- Building_FreeSpecialistCounts -->
    <Building_Flavors>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_GROWTH</FlavorType>
            <Flavor>22</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_SCIENCE</FlavorType>
            <Flavor>5</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_PRODUCTION</FlavorType>
            <Flavor>5</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_EXPANSION</FlavorType>
            <Flavor>7</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_I_LAND_TRADE_ROUTE</FlavorType>
            <Flavor>6</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_I_SEA_TRADE_ROUTE</FlavorType>
            <Flavor>6</Flavor>
        </Row>
  </Building_Flavors>
  <!-- Building_GlobalYieldModifiers -->
  <!-- Building_HurryModifiers -->
  <!-- Building_LocalResourceAnds -->
  <!-- Building_LocalResourceOrs -->
  <!-- Building_LockedBuildingClasses -->
  <!-- Building_PrereqBuildingClasses -->
  <!-- Building_ResourceQuantity -->
  <!-- Building_ResourceQuantityRequirements -->
  <!-- Building_ResourceYieldModifiers -->
  <!-- Building_ResourceCultureChanges -->
  <!-- Building_ResourceFaithChanges -->
  <!-- Building_RiverPlotYieldChanges -->
  <!-- Building_SeaPlotYieldChanges -->
  <!-- Building_LakePlotYieldChanges -->
  <!-- Building_SeaResourceYieldChanges -->
  <!-- Building_ResourceYieldChanges -->
  <!-- Building_FeatureYieldChanges -->
  <!-- Building_TerrainYieldChanges -->
  <!-- Building_SpecialistYieldChanges -->
  <!-- Building_UnitCombatFreeExperiences -->
  <!-- Building_UnitCombatProductionModifiers -->
  <!-- Building_TechAndPrereqs -->
  <Building_YieldChanges>
    <Row>
      <BuildingType>BUILDING_KUVALAUTA</BuildingType>
      <YieldType>YIELD_FOOD</YieldType>
      <Yield>2</Yield>
    </Row>
      <Row>
          <BuildingType>BUILDING_GRANARY</BuildingType>
          <ResourceType>RESOURCE_BANANA</ResourceType>
          <YieldType>YIELD_FOOD</YieldType>
          <Yield>1</Yield>
      </Row>
      <Row>
          <BuildingType>BUILDING_GRANARY</BuildingType>
          <ResourceType>RESOURCE_DEER</ResourceType>
          <YieldType>YIELD_FOOD</YieldType>
          <Yield>1</Yield>
      </Row>
  </Building_YieldChanges>
  <!-- Building_YieldChangesPerPop -->
  <!-- Building_YieldChangesPerReligion -->
  <!-- Building_TechEnhancedYieldChanges -->
  <!-- Building_YieldModifiers -->
  <!-- Building_ThemingBonuses -->

  <Language_en_US>
    <Row Tag="TXT_KEY_BUILDING_KUVALAUTA">
      <Text>Kuvalauta</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_BUILDINGS_KUVALAUTA_TEXT">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_BUILDING_KUVALAUTA_STRATEGY">
      <Text>Kuvalauta is a Ancient-era building unique to the Finns, replacing the Opera House. It increases the city's [ICON_CULTURE] Culture and [ICON_HAPPINESS_1] Happiness.</Text>
    </Row>
  </Language_en_US>

database.log
Spoiler :
Code:
[20488.157] columns StrategicViewType, TileType are not unique
[20488.157] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[20490.154] no such table: ContentPackage.LocalizedText
[20490.154] no such table: ContentPackage.LocalizedText
[20490.154] no such table: ContentPackage.LocalizedText
[20491.043] no such table: ContentPackage.LocalizedText
[20493.570] columns StrategicViewType, TileType are not unique
[20493.570] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[20494.397] no such table: ContentPackage.LocalizedText
[20494.397] no such table: ContentPackage.LocalizedText
[20494.397] no such table: ContentPackage.LocalizedText
[20498.765] Validating Foreign Key Constraints...
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20498.765] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.042] Failed Validation.
[20501.417] 
-- SQLite Memory Statistics --
Memory Usage:
        [Cur]        [Max]
Malloc:        6224432        75874880
PageCache:    6        12
LookAside:    0        0
Scratch:    0        1

Static Buffer Overflows:
        [TooLarge]    [NoSpace]
PageCache:    5809440        62946576
Scratch:    0        0

Largest Allocations:
Malloc:        262144
PageCache:    1172
Scratch:    6640

Prepared Statements:
Current:        6
------------------------------
[20501.448] Validating Foreign Key Constraints...
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20501.448] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[20503.710] Failed Validation.
[20504.085]
-- SQLite Memory Statistics --
Memory Usage:
        [Cur]        [Max]
Malloc:        6225608        75874880
PageCache:    6        12
LookAside:    0        0
Scratch:    0        1

Static Buffer Overflows:
        [TooLarge]    [NoSpace]
PageCache:    5810616        62946576
Scratch:    0        0

Largest Allocations:
Malloc:        262144
PageCache:    1172
Scratch:    6640

Prepared Statements:
Current:        6
 
Code:
  <Building_YieldChanges>
    <Row>
      <BuildingType>BUILDING_KUVALAUTA</BuildingType>
      <YieldType>YIELD_FOOD</YieldType>
      <Yield>2</Yield>
    </Row>
      <Row>
          <BuildingType>BUILDING_GRANARY</BuildingType>
          <ResourceType>RESOURCE_BANANA</ResourceType>
          <YieldType>YIELD_FOOD</YieldType>
          <Yield>1</Yield>
      </Row>
      <Row>
          <BuildingType>BUILDING_GRANARY</BuildingType>
          <ResourceType>RESOURCE_DEER</ResourceType>
          <YieldType>YIELD_FOOD</YieldType>
          <Yield>1</Yield>
      </Row>
  </Building_YieldChanges>
You have a fatal syntax error here which caues the game to disregard the entire contents of the file where it occurs.

You cannot state <ResourceType> in table <Building_YieldChanges>.

You need to place the rows for the Banana and Deer resources where they belong, in table Building_ResourceYieldChanges

Also, check that you are actually activating the file for the building because your database.log doe snot show the error that should be showing in the log if (a) you have error logging enabled and (b) the file is being given an OnModActivated>UpdateDatabase action.
 
I changed those Yield commands, and i'm activating all xml files currently with OnModActivated>UpdateDatabase.
But it didn't fix it and the log is showing errors that shouldn't be there in my understanding.

Spoiler database.log :
Code:
[12063.136] columns StrategicViewType, TileType are not unique
[12063.136] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[12065.476] no such table: ContentPackage.LocalizedText
[12065.476] no such table: ContentPackage.LocalizedText
[12065.476] no such table: ContentPackage.LocalizedText
[12066.349] no such table: ContentPackage.LocalizedText
[12068.190] columns StrategicViewType, TileType are not unique
[12068.190] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[12069.110] no such table: ContentPackage.LocalizedText
[12069.110] no such table: ContentPackage.LocalizedText
[12069.110] no such table: ContentPackage.LocalizedText
[12073.104] Validating Foreign Key Constraints...
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12073.104] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.350] Failed Validation.
[12075.709]
-- SQLite Memory Statistics --
Memory Usage:
        [Cur]        [Max]
Malloc:        6679352        76317512
PageCache:    6        12
LookAside:    0        0
Scratch:    0        1

Static Buffer Overflows:
        [TooLarge]    [NoSpace]
PageCache:    6263376        63400512
Scratch:    0        0

Largest Allocations:
Malloc:        262144
PageCache:    1172
Scratch:    6640

Prepared Statements:
Current:        6
------------------------------
[12075.740] Validating Foreign Key Constraints...
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12075.740] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12077.956] Failed Validation.
[12078.330]
-- SQLite Memory Statistics --
Memory Usage:
        [Cur]        [Max]
Malloc:        6680528        76317512
PageCache:    6        12
LookAside:    0        0
Scratch:    0        1

Static Buffer Overflows:
        [TooLarge]    [NoSpace]
PageCache:    6264552        63400512
Scratch:    0        0

Largest Allocations:
Malloc:        262144
PageCache:    1172
Scratch:    6640

Prepared Statements:
Current:        6
------------------------------
[12426.571] Database::XMLSerializer (xml/Buildings.xml): Duplicate column names detected in <Row>. Name: BuildingClass, Value: BUILDINGCLASS_GRANARY
[12427.320] Validating Foreign Key Constraints...
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.320] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[12427.648] Invalid Reference on Civilization_BuildingClassOverrides.BuildingType - "BUILDING_KUVALAUTA" does not exist in Buildings
[12429.582] Failed Validation.
[12429.972]
-- SQLite Memory Statistics --
Memory Usage:
        [Cur]        [Max]
Malloc:        6771312        76317512
PageCache:    8        14
LookAside:    0        0
Scratch:    0        1

Static Buffer Overflows:
        [TooLarge]    [NoSpace]
PageCache:    6290424        63400512
Scratch:    0        0

Largest Allocations:
Malloc:        262144
PageCache:    1172
Scratch:    6640

Prepared Statements:
Current:        18
------------------------------
[12447.382] no such column: Type
[12447.382] In Query - select * from Natural_Wonder_Placement where Type = ? LIMIT 1

Spoiler buildings :

Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
  <Buildings>
    <Row>
      <Type>BUILDING_KUVALAUTA</Type>
      <BuildingClass>BUILDINGCLASS_GRANARY</BuildingClass>
      <Description>TXT_KEY_BUILDING_KUVALAUTA</Description>
      <Civilopedia>TXT_KEY_CIV5_BUILDINGS_KUVALAUTA_TEXT</Civilopedia>
      <Strategy>TXT_KEY_BUILDING_KUVALAUTA_STRATEGY</Strategy>
        <ThemingBonusHelp></ThemingBonusHelp>
        <Quote></Quote>
        <GoldMaintenance>1</GoldMaintenance>
        <MutuallyExclusiveGroup>-1</MutuallyExclusiveGroup>
        <TeamShare>0</TeamShare>
        <Water>0</Water>
        <River>0</River>
        <FreshWater>0</FreshWater>
        <Mountain>0</Mountain>
        <NearbyMountainRequired>0</NearbyMountainRequired>
        <Hill>0</Hill>
        <Flat>0</Flat>
        <FoundsReligion>0</FoundsReligion>
        <IsReligious>0</IsReligious>
        <BorderObstacle>0</BorderObstacle>
        <PlayerBorderObstacle>0</PlayerBorderObstacle>
        <Capital>0</Capital>
        <GoldenAge>0</GoldenAge>
        <MapCentering>0</MapCentering>
        <NeverCapture>0</NeverCapture>
        <NukeImmune>0</NukeImmune>
        <AllowsWaterRoutes>0</AllowsWaterRoutes>
        <ExtraLuxuries>0</ExtraLuxuries>
        <DiplomaticVoting>0</DiplomaticVoting>
        <AffectSpiesNow>0</AffectSpiesNow>
        <NullifyInfluenceModifier>0</NullifyInfluenceModifier>
        <Cost>60</Cost>
        <FaithCost>0</FaithCost>
        <LeagueCost>0</LeagueCost>
        <UnlockedByBelief>0</UnlockedByBelief>
        <UnlockedByLeague>0</UnlockedByLeague>
        <HolyCity>0</HolyCity>
        <NumCityCostMod>0</NumCityCostMod>
        <HurryCostModifier>25</HurryCostModifier>
        <MinAreaSize>-1</MinAreaSize>
        <ConquestProb>66</ConquestProb>
        <CitiesPrereq>0</CitiesPrereq>
        <LevelPrereq>0</LevelPrereq>
        <CultureRateModifier>0</CultureRateModifier>
        <GlobalCultureRateModifier>0</GlobalCultureRateModifier>
        <GreatPeopleRateModifier>0</GreatPeopleRateModifier>
        <GlobalGreatPeopleRateModifier>0</GlobalGreatPeopleRateModifier>
        <GreatGeneralRateModifier>0</GreatGeneralRateModifier>
        <GreatPersonExpendGold>0</GreatPersonExpendGold>
        <GoldenAgeModifier>0</GoldenAgeModifier>
        <UnitUpgradeCostMod>0</UnitUpgradeCostMod>
        <Experience>0</Experience>
        <GlobalExperience>0</GlobalExperience>
        <FoodKept>0</FoodKept>
        <Airlift>0</Airlift>
        <AirModifier>0</AirModifier>
        <NukeModifier>0</NukeModifier>
        <NukeExplosionRand>0</NukeExplosionRand>
        <HealRateChange>0</HealRateChange>
        <Happiness>0</Happiness>
        <UnmoddedHappiness>0</UnmoddedHappiness>
        <UnhappinessModifier>0</UnhappinessModifier>
        <HappinessPerCity>0</HappinessPerCity>
        <HappinessPerXPolicies>0</HappinessPerXPolicies>
        <CityCountUnhappinessMod>0</CityCountUnhappinessMod>
        <NoOccupiedUnhappiness>0</NoOccupiedUnhappiness>
        <WorkerSpeedModifier>0</WorkerSpeedModifier>
        <MilitaryProductionModifier>0</MilitaryProductionModifier>
        <SpaceProductionModifier>0</SpaceProductionModifier>
        <GlobalSpaceProductionModifier>0</GlobalSpaceProductionModifier>
        <BuildingProductionModifier>0</BuildingProductionModifier>
        <WonderProductionModifier>0</WonderProductionModifier>
        <CityConnectionTradeRouteModifier>0</CityConnectionTradeRouteModifier>
        <CapturePlunderModifier>0</CapturePlunderModifier>
        <PolicyCostModifier>0</PolicyCostModifier>
        <PlotCultureCostModifier>0</PlotCultureCostModifier>
        <GlobalPlotCultureCostModifier>0</GlobalPlotCultureCostModifier>
        <PlotBuyCostModifier>0</PlotBuyCostModifier>
        <GlobalPlotBuyCostModifier>0</GlobalPlotBuyCostModifier>
        <GlobalPopulationChange>0</GlobalPopulationChange>
        <TechShare>0</TechShare>
        <FreeTechs>0</FreeTechs>
        <FreePolicies>0</FreePolicies>
        <FreeGreatPeople>0</FreeGreatPeople>
        <MedianTechPercentChange>0</MedianTechPercentChange>
        <Gold>0</Gold>
        <AllowsRangeStrike>0</AllowsRangeStrike>
        <Espionage>0</Espionage>
        <AllowsFoodTradeRoutes>1</AllowsFoodTradeRoutes>
        <AllowsProductionTradeRoutes>0</AllowsProductionTradeRoutes>
        <Defense>0</Defense>
        <ExtraCityHitPoints>0</ExtraCityHitPoints>
        <GlobalDefenseMod>0</GlobalDefenseMod>
        <MinorFriendshipChange>0</MinorFriendshipChange>
        <VictoryPoints>0</VictoryPoints>
        <ExtraMissionarySpreads>0</ExtraMissionarySpreads>
        <ReligiousPressureModifier>0</ReligiousPressureModifier>
        <EspionageModifier>0</EspionageModifier>
        <GlobalEspionageModifier>0</GlobalEspionageModifier>
        <ExtraSpies>0</ExtraSpies>
        <SpyRankChange>0</SpyRankChange>
        <InstantSpyRankChange>0</InstantSpyRankChange>
        <TradeRouteRecipientBonus>0</TradeRouteRecipientBonus>
        <TradeRouteTargetBonus>0</TradeRouteTargetBonus>
        <NumTradeRouteBonus>0</NumTradeRouteBonus>
        <LandmarksTourismPercent>0</LandmarksTourismPercent>
        <InstantMilitaryIncrease>0</InstantMilitaryIncrease>
        <GreatWorksTourismModifier>0</GreatWorksTourismModifier>
        <XBuiltTriggersIdeologyChoice>0</XBuiltTriggersIdeologyChoice>
        <TradeRouteSeaDistanceModifier>0</TradeRouteSeaDistanceModifier>
        <TradeRouteSeaGoldBonus>0</TradeRouteSeaGoldBonus>
        <TradeRouteLandDistanceModifier>0</TradeRouteLandDistanceModifier>
        <TradeRouteLandGoldBonus>0</TradeRouteLandGoldBonus>
        <CityStateTradeRouteProductionModifier>0</CityStateTradeRouteProductionModifier>
        <GreatScientistBeakerModifier>0</GreatScientistBeakerModifier>
        <BuildingClass>BUILDINGCLASS_GRANARY</BuildingClass>
        <ArtDefineTag>ART_DEF_BUILDING_GRANARY</ArtDefineTag>
        <NearbyTerrainRequired></NearbyTerrainRequired>
        <ProhibitedCityTerrain></ProhibitedCityTerrain>
        <VictoryPrereq></VictoryPrereq>
        <FreeStartEra>ERA_RENAISSANCE</FreeStartEra>
        <MaxStartEra></MaxStartEra>
        <ObsoleteTech></ObsoleteTech>
        <EnhancedYieldTech></EnhancedYieldTech>
        <TechEnhancedTourism>0</TechEnhancedTourism>
        <FreeBuilding></FreeBuilding>
        <FreeBuildingThisCity></FreeBuildingThisCity>
        <FreePromotion></FreePromotion>
        <TrainedFreePromotion></TrainedFreePromotion>
        <FreePromotionRemoved></FreePromotionRemoved>
        <ReplacementBuildingClass></ReplacementBuildingClass>
        <PrereqTech>TECH_POTTERY</PrereqTech>
        <PolicyBranchType></PolicyBranchType>
        <SpecialistType></SpecialistType>
        <SpecialistCount>0</SpecialistCount>
        <GreatWorkSlotType></GreatWorkSlotType>
        <FreeGreatWork></FreeGreatWork>
        <GreatWorkCount>0</GreatWorkCount>
        <SpecialistExtraCulture>0</SpecialistExtraCulture>
        <GreatPeopleRateChange>0</GreatPeopleRateChange>
        <ExtraLeagueVotes>0</ExtraLeagueVotes>
        <CityWall>0</CityWall>
        <DisplayPosition>0</DisplayPosition>
        <PortraitIndex>0</PortraitIndex>
        <WonderSplashImage></WonderSplashImage>
        <WonderSplashAnchor>R,T</WonderSplashAnchor>
        <WonderSplashAudio></WonderSplashAudio>
        <IconAtlas>BW_ATLAS_1</IconAtlas>
        <ArtInfoCulturalVariation>0</ArtInfoCulturalVariation>
        <ArtInfoEraVariation>0</ArtInfoEraVariation>
        <ArtInfoRandomVariation>0</ArtInfoRandomVariation>
    </Row>
  </Buildings>

  <!-- Building_AreaYieldModifiers -->
  <!-- Building_BuildingClassHappiness -->
  <!-- Building_BuildingClassYieldChanges -->
  <Building_ClassesNeededInCity>
    <Row>
      <BuildingType>BUILDING_KUVALAUTA</BuildingType>
      <BuildingClassType>BUILDINGCLASS_AMPHITHEATER</BuildingClassType>
    </Row>
  </Building_ClassesNeededInCity>
  <!-- Building_FreeUnits -->
  <!-- Building_DomainFreeExperiences -->
  <!-- Building_DomainFreeExperiencePerGreatWork -->
  <!-- Building_DomainProductionModifiers -->
  <!-- Building_FreeSpecialistCounts -->
    <Building_Flavors>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_GROWTH</FlavorType>
            <Flavor>22</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_SCIENCE</FlavorType>
            <Flavor>5</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_PRODUCTION</FlavorType>
            <Flavor>5</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_EXPANSION</FlavorType>
            <Flavor>7</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_I_LAND_TRADE_ROUTE</FlavorType>
            <Flavor>6</Flavor>
        </Row>
        <Row>
            <BuildingType>BUILDING_GRANARY</BuildingType>
            <FlavorType>FLAVOR_I_SEA_TRADE_ROUTE</FlavorType>
            <Flavor>6</Flavor>
        </Row>
  </Building_Flavors>
  <!-- Building_GlobalYieldModifiers -->
  <!-- Building_HurryModifiers -->
  <!-- Building_LocalResourceAnds -->
  <!-- Building_LocalResourceOrs -->
  <!-- Building_LockedBuildingClasses -->
  <!-- Building_PrereqBuildingClasses -->
  <!-- Building_ResourceQuantity -->
  <!-- Building_ResourceQuantityRequirements -->
  <!-- Building_ResourceYieldModifiers -->
  <!-- Building_ResourceCultureChanges -->
  <!-- Building_ResourceFaithChanges -->
  <!-- Building_RiverPlotYieldChanges -->
  <!-- Building_SeaPlotYieldChanges -->
  <!-- Building_LakePlotYieldChanges -->
  <!-- Building_SeaResourceYieldChanges -->
  <Building_ResourceYieldChanges>
    <Row>
          <BuildingType>BUILDING_GRANARY</BuildingType>
          <ResourceType>RESOURCE_BANANA</ResourceType>
          <YieldType>YIELD_FOOD</YieldType>
          <Yield>1</Yield>  
    </Row>
    <Row>
          <BuildingType>BUILDING_GRANARY</BuildingType>
          <ResourceType>RESOURCE_DEER</ResourceType>
          <YieldType>YIELD_FOOD</YieldType>
          <Yield>1</Yield>
    </Row>
  </Building_ResourceYieldChanges>
  <!-- Building_FeatureYieldChanges -->
  <!-- Building_TerrainYieldChanges -->
  <!-- Building_SpecialistYieldChanges -->
  <!-- Building_UnitCombatFreeExperiences -->
  <!-- Building_UnitCombatProductionModifiers -->
  <!-- Building_TechAndPrereqs -->
  <Building_YieldChanges>
    <Row>
      <BuildingType>BUILDING_KUVALAUTA</BuildingType>
      <YieldType>YIELD_FOOD</YieldType>
      <Yield>2</Yield>
    </Row>
   </Building_YieldChanges>
  <!-- Building_YieldChangesPerPop -->
  <!-- Building_YieldChangesPerReligion -->
  <!-- Building_TechEnhancedYieldChanges -->
  <!-- Building_YieldModifiers -->
  <!-- Building_ThemingBonuses -->

  <Language_en_US>
    <Row Tag="TXT_KEY_BUILDING_KUVALAUTA">
      <Text>Kuvalauta</Text>
    </Row>
    <Row Tag="TXT_KEY_CIV5_BUILDINGS_KUVALAUTA_TEXT">
      <Text><!-- Add Civilopedia text here --></Text>
    </Row>
    <Row Tag="TXT_KEY_BUILDING_KUVALAUTA_STRATEGY">
      <Text>Kuvalauta is a Ancient-era building unique to the Finns, replacing the Opera House. It increases the city's [ICON_CULTURE] Culture and [ICON_HAPPINESS_1] Happiness.</Text>
    </Row>
  </Language_en_US>
</GameData>


Spoiler civilization :

Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
  <Civilizations>
    <Row>
      <Type>CIVILIZATION_FINNIC</Type>
      <Description>TXT_KEY_CIV_FINNIC_DESC</Description>
      <Civilopedia></Civilopedia>
      <CivilopediaTag>TXT_KEY_CIV5_FINNIC</CivilopediaTag>
      <Strategy></Strategy>
      <Playable>1</Playable>
      <AIPlayable>1</AIPlayable>
      <ShortDescription>TXT_KEY_CIV_FINNIC_SHORT_DESC</ShortDescription>
      <Adjective>TXT_KEY_CIV_FINNIC_ADJECTIVE</Adjective>
      <DefaultPlayerColor>PLAYERCOLOR_FINNIC</DefaultPlayerColor>
      <ArtDefineTag>ART_DEF_CIVILIZATION_ROME</ArtDefineTag>
      <ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
      <ArtStyleSuffix>_EURO</ArtStyleSuffix>
      <ArtStylePrefix>EUROPEAN</ArtStylePrefix>
      <DerivativeCiv></DerivativeCiv>
      <PortraitIndex>3</PortraitIndex>
      <IconAtlas>EXPANSION_CIV_COLOR_ATLAS</IconAtlas>
      <AlphaIconAtlas>EXPANSION_CIV_ALPHA_ATLAS</AlphaIconAtlas>
      <MapImage>MapCelts512.dds</MapImage>
      <DawnOfManQuote>TXT_KEY_CIV5_DAWN_FINNIC_TEXT</DawnOfManQuote>
      <DawnOfManImage>DOM_Boudicca.dds</DawnOfManImage>
      <DawnOfManAudio>AS2D_DOM_SPEECH_FINNIC</DawnOfManAudio>
      <SoundtrackTag></SoundtrackTag>
    </Row>
  </Civilizations>

  <Civilization_BuildingClassOverrides>
    <Row>
      <CivilizationType>CIVILIZATION_FINNIC</CivilizationType>
      <BuildingClassType>BUILDINGCLASS_GRANARY</BuildingClassType>
      <BuildingType>BUILDING_KUVALAUTA</BuildingType>
    </Row>
  </Civilization_BuildingClassOverrides>
 
The log is telling you the exact problem you now have.

You have stated this twice within the <Row> that defines BUILDING_KUVALAUTA, which is not allowed
Code:
<BuildingClass>BUILDINGCLASS_GRANARY</BuildingClass>
Each column-name can only appear one time within a single <Row> entry.

You also have a lot of left-over references to BUILDING_GRANARY in some of the tables where you have not edited these to BUILDING_KUVALAUTA

Also, you should run through William Howard's tutorial on logging and follow through seeing what Database.log shows even when your mod is not enabled. This shows you which errors messages are not at all related to your mod. whoward69's enable error logging tutorial
 
Top Bottom