World Health Organisation Wonder

Salmo

Chieftain
Joined
Oct 24, 2016
Messages
64
Never modded Civ before, but I'm experienced with coding in several programming languages. Just as a basic start to Civ6 modding, I wanted to get the World Health Organisation Wonder into the game with some simple buffs to science & culture.

I can get an appropriate menu item to appear in the "additional components" (Mod) game menu using the modinfo file below, but no building appears ingame in the city menus. I'm clearly not doing it right, I'm hoping one of the experienced modders here can assist.

WHO_Wonder.modinfo File

Code:
<?xml version="1.0" encoding="utf-8"?>

<Mod id="3e383d8a-03cf-41af-94f3-cd36d11c9f11" version="1">
  <Properties>
    <Name>LOC_WHO_NAME</Name>
    <Teaser>LOC_WHO_TEASER</Teaser>
    <Description>LOC_WHO_DESCRIPTION</Description>
    <Authors>LOC_WHO_AUTHORS</Authors>
    <SpecialThanks>Any special thanks?</SpecialThanks>
    <HideSetupGame>0</HideSetupGame>
    <AffectsSavedGames>1</AffectsSavedGames>
    <MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
    <SupportsSinglePlayer>1</SupportsSinglePlayer>
    <SupportsMultiplayer>1</SupportsMultiplayer>
    <SupportsHotSeat>1</SupportsHotSeat>
    <SupportsMac>1</SupportsMac>
    <ReloadAudioSystem>0</ReloadAudioSystem>
    <ReloadLandmarkSystem>0</ReloadLandmarkSystem>
    <ReloadStrategicViewSystem>0</ReloadStrategicViewSystem>
    <ReloadUnitSystem>0</ReloadUnitSystem>
  </Properties>
  <Dependencies></Dependencies>
  <References />
  <Blocks />

  <LocalizedText>
    <Text id="LOC_WHO_NAME">
      <en_US>World Health Organisation Wonder</en_US>
      <de_DE>Weltgesundheitsorganisation Wonder</de_DE>
      <es_ES>Organización Mundial de la Salud Wonder</es_ES>
      <fr_FR>Santé Organisation mondiale Wonder</fr_FR>
      <it_IT>Organizzazione mondiale della sanità Wonder</it_IT>
      <ja_JP>世界保健機関ワンダー</ja_JP>
      <ko_KR>세계 보건기구 (WHO) 원더</ko_KR>
      <pl_PL></pl_PL>
      <pt_BR></pt_BR>
      <ru_RU>Всемирная организация здравоохранения Wonder</ru_RU>
      <rh_Hans_CN></rh_Hans_CN>
      <zh_Hant_HK></zh_Hant_HK>
    </Text>
    <Text id="LOC_WHO_TEASER">
      <en_US>Adds the World Health Organisation Wonder to Civ 6</en_US>
      <de_DE>Fügt die Weltgesundheitsorganisation Wonder zu Civ 6</de_DE>
 
    </Text>
    <Text id="LOC_WHO_DESCRIPTION">
      <en_US>Adds the World Health Organisation Wonder to Civ 6. Wonder is available to build after researching sanitation.</en_US>
      <de_DE>Fügt die Weltgesundheitsorganisation Wonder 6. Wonder ist verfügbar zu bauen, nachdem die Erforschung sanitären Einrichtungen zu CIV.</de_DE>
      <es_ES>Añade la Organización Mundial de la Salud de la maravilla de CIV 6. Wonder está disponible para construir después de investigar el saneamiento.</es_ES>
      <fr_FR>Ajoute l'mondiale de la Santé Organisation Wonder à Civ 6. Wonder est disponible pour construire après des recherches sur l'assainissement.</fr_FR>
      <it_IT>Aggiunge l'Organizzazione Mondiale della Sanità Wonder al CIV 6. Wonder è disponibile a costruire dopo la ricerca servizi igienico-sanitari.</it_IT>
      <ja_JP>世界保健機関ワンダー6.ワンダーは衛生を研究した後に構築するために利用可能である文明に追加します。</ja_JP>
      <ko_KR>세계 보건기구 (WHO) 원더 6. 원더는 위생을 연구 한 후 구축 할 수 있습니다 문명에 추가합니다.</ko_KR>
      <pl_PL></pl_PL>
      <pt_BR></pt_BR>
      <ru_RU>Добавляет Всемирная организация здравоохранения диковинку CIV 6. Удивление доступен для создания после изучения санитарных условий.</ru_RU>
      <rh_Hans_CN></rh_Hans_CN>
      <zh_Hant_HK></zh_Hant_HK>
    </Text>
    <Text id="LOC_WHO_AUTHORS">
      <en_US>Salmo</en_US>
    </Text>
  </LocalizedText>

  <Files>
    <File>World Health Organisation Wonder/XML/GameInfo/WHO_Buildings.xml</File>
    <File>World Health Organisation Wonder/XML/Text/en_US/WHO_Buildings_Text.xml</File>
    <!--
    <File>World Health Organisation Wonder/XML/Text/Translations/WHO_Vanilla_de_DE.xml</File>
    <File>World Health Organisation Wonder/UI/Icons/WHO_Icons_Wonders.xml</File>
    -->
  </Files>
</Mod>

WHO_Buildings.xml File
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameInfo>
  <Types>
    <!-- World Health Organisation Wonder -->
    <Row Type="BUILDING_WHO" Kind="KIND_BUILDING"/>
  </Types>

  <Buildings>
    <!-- TODO: Change PrereqTech="TECH_ANIMAL_HUSBANDRY" to PrereqTech="TECH_SANITATION" -->
    <Row BuildingType="BUILDING_WHO"
         Name="LOC_WHO_NAME"
         Description="LOC_WHO_DESCRIPTION"
         PrereqTech="TECH_ANIMAL_HUSBANDRY"
         Cost="3000"
         MaxWorldInstances="1"
         IsWonder="true"
         RequiresPlacement="true"
         MustNotBeLake="true"
         MustBeAdjacentLand="true"
         Quote="LOC_WHO_QUOTE"
         
    />
    <!-- QuoteAudio="Play_WHOE_QUOTE"/> -->
  </Buildings>
 
  <Building_YieldChanges>
    <!-- WHO YIELD -->
    <Row BuildingType="BUILDING_WHO" YieldType="YIELD_SCIENCE" YieldChange="6"/>
    <Row BuildingType="BUILDING_WHO" YieldType="YIELD_CULTURE" YieldChange="2"/>
  </Building_YieldChanges>

  <AiFavoredItems>
    <Row ListType="MvembaWonders" Item="BUILDING_WHO"/>
  </AiFavoredItems>

  <IconDefinitions>
    <!-- TODO: Using HERMATAGE icon for the time being -->
    <Row Name="ICON_BUILDING_WHO" Index="24" Atlas="ICON_ATLAS_WONDERS"/>
</IconDefinitions>
 
</GameInfo>

WHO_Buildings_Text.xml File
Code:
<?xml version="1.0" encoding="utf-8" ?>
-<BaseGameText>
  -<Row Tag="LOC_WHO_DESCRIPTION">
    <Text>World Health Organisation Wonder. Provides [ICON_science] +6 science [ICON_culture] +2 culture benefits.</Text>
  </Row>
 
  -<Row Tag="LOC_WHO_QUOTE">
    <Text>
      “Let food be thy medicine and medicine be thy food.
      Make a habit of two things: to help; or at least to do no harm.
      Walking is man's best medicine.”[NEWLINE]– Hippocrates
    </Text>
  </Row>

  -<Row Tag="LOC_PEDIA_BUILDING_WHO_CHAPTER_HISTORY_PARA_1">
  <Text>
    The World Health Organization (WHO/OMS) headquarters building is situated on the outskirts of Geneva
    at the end of Avenue Appia, approximately three kilometres from the centre of town, and about
    one and a half kilometres from the Palais des Nations (UN).
  </Text>
</Row>
</BaseGameText>
 
Last edited:
So I added this code snippet to a new xml file & referenced that file in the <Files> section of the modinfo xml. The changed text did not show up when encountering barbarians in-game, so I'm presuming that I'm not referencing xml files correctly. Is there a better way to "check" mod is working at all? Would appreciate assistance from the experienced modders please.

Code:
<?xml version="1.0" encoding="utf-8" ?>
<GameData>
  <Language_en_US>
    <Update>
      <Where Tag ="LOC_NOTIFICATION_BARBARIANS_SIGHTED_MESSAGE"/>
                <Set Text="XXXXX Approach"/>
    </Update>
   
    <Update>
        <Where Tag="LOC_NOTIFICATION_BARBARIANS_SIGHTED_SUMMARY"/>
        <Set Text="We have spotted XXXXXX approaching our city of {1_CityName}."/>
    </Update>
  </Language_en_US>
</GameData>
 
I see there are a number of experienced modders posting their mods lately, Is there no-one willing to help a newbie?
 
Thankyou Gedemon. Latest modinfo file, which has the <Components>, <UpdateDatabase>, <File> tags, but it's still not working.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Salmo on 29 October 2016 salmo[AT]netspace.net.au -->
<Mod id="3e383d8a-03cf-41af-94f3-cd36d11c9f11" version="1">
  <Properties>
    <Name>LOC_WHO_NAME</Name>
    <Teaser>LOC_WHO_TEASER</Teaser>
    <Description>LOC_WHO_TEXT</Description>
    <Authors>Salmo</Authors>
    <SpecialThanks>Firaxis, CivFanatics.com</SpecialThanks>
    <HideSetupGame>0</HideSetupGame>
    <AffectsSavedGames>1</AffectsSavedGames>
    <MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
    <SupportsSinglePlayer>1</SupportsSinglePlayer>
    <SupportsMultiplayer>1</SupportsMultiplayer>
    <SupportsHotSeat>1</SupportsHotSeat>
    <SupportsMac>1</SupportsMac>
    <ReloadAudioSystem>0</ReloadAudioSystem>
    <ReloadLandmarkSystem>0</ReloadLandmarkSystem>
    <ReloadStrategicViewSystem>0</ReloadStrategicViewSystem>
    <ReloadUnitSystem>0</ReloadUnitSystem>
  </Properties>
 
  <Dependencies></Dependencies>
  <References />
  <Blocks />

  <Components>
    <UpdateDatabase id="WHO_COMPONENT">
      <Properties>
        <Ruleset>RULESET_STANDARD</Ruleset>
      </Properties>
      <Items>
        <File>World Health Organisation Wonder/XML/Buildings/WHO_Buildings.xml</File>
        <File>World Health Organisation Wonder/Utilities/ModTester.xml</File>
      </Items>
    </UpdateDatabase>
  </Components>
 
  <Files>
    <File>World Health Organisation Wonder/XML/Buildings/WHO_Buildings.xml</File>
    <File>World Health Organisation Wonder/Utilities/ModTester.xml</File>
  </Files>

  <LocalizedText>
    <Text id="LOC_WHO_NAME">
      <en_US>World Health Organisation Wonder</en_US>
      <de_DE>Weltgesundheitsorganisation Wonder</de_DE>
      <es_ES>Organización Mundial de la Salud Wonder</es_ES>
      <fr_FR>Santé Organisation mondiale Wonder</fr_FR>
      <it_IT>Organizzazione mondiale della sanità Wonder</it_IT>
      <ja_JP>世界保健機関ワンダー</ja_JP>
      <ko_KR>세계 보건기구 (WHO) 원더</ko_KR>
      <pl_PL>Światowa Organizacja Zdrowia Wonder</pl_PL>
      <pt_BR>Organização Mundial de Saúde Maravilha</pt_BR>
      <ru_RU>Всемирная организация здравоохранения Wonder</ru_RU>
      <rh_Hans_CN>世界衛生組織奇蹟</rh_Hans_CN>
      <zh_Hant_HK>世界衛生組織奇蹟</zh_Hant_HK>
    </Text>

    <Text id="LOC_PEDIA_BUILDING_WHO_CHAPTER_HISTORY_PARA_1">
      <en_US>
        The World Health Organization (WHO) is a specialized agency of the United Nations that is concerned with international public health. It was established on 7 April 1948, headquartered in Geneva, Switzerland. The WHO is a member of the United Nations Development Group. Its predecessor, the Health Organization, was an agency of the League of Nations.
        The constitution of the World Health Organization had been signed by 61 countries on 22 July 1946, with the first meeting of the World Health Assembly finishing on 24 July 1948. It incorporated the Office international d'hygiène publique and the League of Nations Health Organization. Since its creation, it has played a leading role in the eradication of smallpox.
        Its current priorities include communicable diseases, in particular HIV/AIDS, Ebola, malaria and tuberculosis; the mitigation of the effects of non-communicable diseases; sexual and reproductive health, development, and aging; nutrition, food security and healthy eating; occupational health; substance abuse; and driving the development of reporting, publications, and networking.
        The WHO is responsible for the World Health Report, a leading international publication on health, the worldwide World Health Survey, and World Health Day (7 April of every year). The head of WHO is Margaret Chan.
        The 2014/2015 proposed budget of the WHO is about US$4 billion.[1] About US$930 million are to be provided by member states with a further US$3 billion to be from voluntary contributions.
      </en_US>
      <de_DE></de_DE>
      <es_ES></es_ES>
      <fr_FR></fr_FR>
      <it_IT></it_IT>
      <ja_JP></ja_JP>
      <ko_KR></ko_KR>
      <pl_PL></pl_PL>
      <pt_BR></pt_BR>
      <ru_RU></ru_RU>
      <rh_Hans_CN></rh_Hans_CN>
      <zh_Hant_HK></zh_Hant_HK>
    </Text>

    <Text id="LOC_WHO_TEASER">
      <en_US>Adds the World Health Organisation Wonder to Civ 6</en_US>
      <de_DE>Fügt die Weltgesundheitsorganisation Wonder zu Civ 6</de_DE>
      <es_ES>Añade la Organización Mundial de la Salud de la maravilla de Civ 6</es_ES>
      <fr_FR>Ajoute l'Organisation mondiale de la santé Wonder à Civ 6</fr_FR>
      <it_IT>Aggiunge l'Organizzazione Mondiale della Sanità Wonder al Civ 6</it_IT>
      <ja_JP>文明6に世界保健機関ワンダーを追加します。</ja_JP>
      <ko_KR>문명 (6)에 세계 보건기구 (WHO) 원더 추가</ko_KR>
      <pl_PL>Dodaje Światową Organizację Zdrowia Wonder do Civ 6</pl_PL>
      <pt_BR>Adiciona a Organização Mundial de Saúde Maravilha para Civ 6</pt_BR>
      <ru_RU>Добавляет Всемирная организация здравоохранения диковинку Civ 6</ru_RU>
      <rh_Hans_CN>添加世界衛生組織奇蹟至6哀</rh_Hans_CN>
      <zh_Hant_HK>添加世界衛生組織奇蹟至6哀</zh_Hant_HK>
    </Text>

    <Text id="LOC_WHO_TEXT">
      <en_US>Adds the World Health Organisation Wonder to Civ 6. Wonder is available to build after researching sanitation.</en_US>
      <de_DE>Fügt die Weltgesundheitsorganisation Wonder 6. Wonder ist verfügbar zu bauen, nachdem die Erforschung sanitären Einrichtungen zu CIV.</de_DE>
      <es_ES>Añade la Organización Mundial de la Salud de la maravilla de CIV 6. Wonder está disponible para construir después de investigar el saneamiento.</es_ES>
      <fr_FR>Ajoute l'mondiale de la Santé Organisation Wonder à Civ 6. Wonder est disponible pour construire après des recherches sur l'assainissement.</fr_FR>
      <it_IT>Aggiunge l'Organizzazione Mondiale della Sanità Wonder al CIV 6. Wonder è disponibile a costruire dopo la ricerca servizi igienico-sanitari.</it_IT>
      <ja_JP>世界保健機関ワンダー6.ワンダーは衛生を研究した後に構築するために利用可能である文明に追加します。</ja_JP>
      <ko_KR>세계 보건기구 (WHO) 원더 6. 원더는 위생을 연구 한 후 구축 할 수 있습니다 문명에 추가합니다.</ko_KR>
      <pl_PL></pl_PL>
      <pt_BR></pt_BR>
      <ru_RU>Добавляет Всемирная организация здравоохранения диковинку CIV 6. Удивление доступен для создания после изучения санитарных условий.</ru_RU>
      <rh_Hans_CN></rh_Hans_CN>
      <zh_Hant_HK></zh_Hant_HK>
    </Text>

  </LocalizedText>
</Mod>


ModTester.xml (try to change barb text to see if mod is running)
Code:
<?xml version="1.0" encoding="utf-8" ?>
<GameData>
  <Language_en_US>
    <Update>
      <Where Tag ="LOC_NOTIFICATION_BARBARIANS_SIGHTED_MESSAGE"/>
                <Set Text="XXXXX Approach"/>
                <!-- <Set Text="{TXT_BARBARIAN_NAME} Approach"/> -->
    </Update>
 
    <Update>
        <Where Tag="LOC_NOTIFICATION_BARBARIANS_SIGHTED_SUMMARY"/>
        <Set Text="We have spotted XXXXXX approaching our city of {1_CityName}."/>
        <!-- <Set Text="We have spotted {TXT_BARBARIAN_NAME} approaching our city of {1_CityName}."/> -->
    </Update>
  </Language_en_US>
</GameData>

Buildings.xml

Code:
<?xml version="1.0" encoding="utf-8" ?>
<GameInfo>

    <Types>
      <!-- World Health Organisation Wonder -->
      <Row Type="BUILDING_WHO" Kind="KIND_BUILDING"/>
    </Types>

    <Buildings>
      <!-- TODO: Change PrereqTech="TECH_ANIMAL_HUSBANDRY" to PrereqTech="TECH_SANITATION" -->
      <Row BuildingType="BUILDING_WHO"
           Name="LOC_WHO_NAME"
           Description="LOC_WHO_DESCRIPTION"
           PrereqTech="TECH_ANIMAL_HUSBANDRY"
           Cost="3000"
           MaxWorldInstances="1"
           IsWonder="true"
           RequiresPlacement="true"
           MustNotBeLake="true"
           MustBeAdjacentLand="true"
           Quote="LOC_WHO_QUOTE"
         
    />

      <!-- <Civilopedia>TXT_KEY_WONDER_USAWHITEHOUSE_DESC</Civilopedia> -->
      <!-- QuoteAudio="Play_WHOE_QUOTE"/> -->
    </Buildings>

    <Building_YieldChanges>
      <!-- WHO YIELD -->
      <Row BuildingType="BUILDING_WHO" YieldType="YIELD_SCIENCE" YieldChange="6"/>
      <Row BuildingType="BUILDING_WHO" YieldType="YIELD_CULTURE" YieldChange="2"/>
    </Building_YieldChanges>

    <IconDefinitions>
      <!-- TODO: Using HERMITAGE icon for the time being -->
      <Row Name="ICON_BUILDING_WHO" Index="24" Atlas="ICON_ATLAS_WONDERS"/>
    </IconDefinitions>

</GameInfo>
 
Last edited:
Can you replace your translation on this?
1. <ru_RU>Добавляет Всемирная организация здравоохранения диковинку Civ 6</ru_RU>
On
<ru_RU>Добавляет чудо света Всемирная организация здравоохранения в Civ 6</ru_RU>
2. <ru_RU>Добавляет Всемирная организация здравоохранения диковинку CIV 6. Удивление доступен для создания после изучения санитарных условий.</ru_RU>
On
<ru_RU>Добавляет чудо света Всемирная организация здравоохранения в CIV 6. Чудо доступно для создания после изучения Канализации.</ru_RU>

And what about visual model of your Wonder? :egypt:
 
Text replaced, thankyou to our Russian speaking friend. Yes, I did wonder how to include a model for for the wonder (or at least duplicate an existing wonder model for the time being).
 
Thankyou Gedemon. Latest modinfo file, which has the <Components>, <UpdateDatabase>, <File> tags, but it's still not working.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Salmo on 29 October 2016 salmo[AT]netspace.net.au -->
<Mod id="3e383d8a-03cf-41af-94f3-cd36d11c9f11" version="1">
  <Properties>
    <Name>LOC_WHO_NAME</Name>
    <Teaser>LOC_WHO_TEASER</Teaser>
    <Description>LOC_WHO_TEXT</Description>
    <Authors>Salmo</Authors>
    <SpecialThanks>Firaxis, CivFanatics.com</SpecialThanks>
    <HideSetupGame>0</HideSetupGame>
    <AffectsSavedGames>1</AffectsSavedGames>
    <MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
    <SupportsSinglePlayer>1</SupportsSinglePlayer>
    <SupportsMultiplayer>1</SupportsMultiplayer>
    <SupportsHotSeat>1</SupportsHotSeat>
    <SupportsMac>1</SupportsMac>
    <ReloadAudioSystem>0</ReloadAudioSystem>
    <ReloadLandmarkSystem>0</ReloadLandmarkSystem>
    <ReloadStrategicViewSystem>0</ReloadStrategicViewSystem>
    <ReloadUnitSystem>0</ReloadUnitSystem>
  </Properties>
 
  <Dependencies></Dependencies>
  <References />
  <Blocks />

  <Components>
    <UpdateDatabase id="WHO_COMPONENT">
      <Properties>
        <Ruleset>RULESET_STANDARD</Ruleset>
      </Properties>
      <Items>
        <File>World Health Organisation Wonder/XML/Buildings/WHO_Buildings.xml</File>
        <File>World Health Organisation Wonder/Utilities/ModTester.xml</File>
      </Items>
    </UpdateDatabase>
  </Components>
 
  <Files>
    <File>World Health Organisation Wonder/XML/Buildings/WHO_Buildings.xml</File>
    <File>World Health Organisation Wonder/Utilities/ModTester.xml</File>
  </Files>

  <LocalizedText>
    <Text id="LOC_WHO_NAME">
      <en_US>World Health Organisation Wonder</en_US>
      <de_DE>Weltgesundheitsorganisation Wonder</de_DE>
      <es_ES>Organización Mundial de la Salud Wonder</es_ES>
      <fr_FR>Santé Organisation mondiale Wonder</fr_FR>
      <it_IT>Organizzazione mondiale della sanità Wonder</it_IT>
      <ja_JP>世界保健機関ワンダー</ja_JP>
      <ko_KR>세계 보건기구 (WHO) 원더</ko_KR>
      <pl_PL>Światowa Organizacja Zdrowia Wonder</pl_PL>
      <pt_BR>Organização Mundial de Saúde Maravilha</pt_BR>
      <ru_RU>Всемирная организация здравоохранения Wonder</ru_RU>
      <rh_Hans_CN>世界衛生組織奇蹟</rh_Hans_CN>
      <zh_Hant_HK>世界衛生組織奇蹟</zh_Hant_HK>
    </Text>

    <Text id="LOC_PEDIA_BUILDING_WHO_CHAPTER_HISTORY_PARA_1">
      <en_US>
        The World Health Organization (WHO) is a specialized agency of the United Nations that is concerned with international public health. It was established on 7 April 1948, headquartered in Geneva, Switzerland. The WHO is a member of the United Nations Development Group. Its predecessor, the Health Organization, was an agency of the League of Nations.
        The constitution of the World Health Organization had been signed by 61 countries on 22 July 1946, with the first meeting of the World Health Assembly finishing on 24 July 1948. It incorporated the Office international d'hygiène publique and the League of Nations Health Organization. Since its creation, it has played a leading role in the eradication of smallpox.
        Its current priorities include communicable diseases, in particular HIV/AIDS, Ebola, malaria and tuberculosis; the mitigation of the effects of non-communicable diseases; sexual and reproductive health, development, and aging; nutrition, food security and healthy eating; occupational health; substance abuse; and driving the development of reporting, publications, and networking.
        The WHO is responsible for the World Health Report, a leading international publication on health, the worldwide World Health Survey, and World Health Day (7 April of every year). The head of WHO is Margaret Chan.
        The 2014/2015 proposed budget of the WHO is about US$4 billion.[1] About US$930 million are to be provided by member states with a further US$3 billion to be from voluntary contributions.
      </en_US>
      <de_DE></de_DE>
      <es_ES></es_ES>
      <fr_FR></fr_FR>
      <it_IT></it_IT>
      <ja_JP></ja_JP>
      <ko_KR></ko_KR>
      <pl_PL></pl_PL>
      <pt_BR></pt_BR>
      <ru_RU></ru_RU>
      <rh_Hans_CN></rh_Hans_CN>
      <zh_Hant_HK></zh_Hant_HK>
    </Text>

    <Text id="LOC_WHO_TEASER">
      <en_US>Adds the World Health Organisation Wonder to Civ 6</en_US>
      <de_DE>Fügt die Weltgesundheitsorganisation Wonder zu Civ 6</de_DE>
      <es_ES>Añade la Organización Mundial de la Salud de la maravilla de Civ 6</es_ES>
      <fr_FR>Ajoute l'Organisation mondiale de la santé Wonder à Civ 6</fr_FR>
      <it_IT>Aggiunge l'Organizzazione Mondiale della Sanità Wonder al Civ 6</it_IT>
      <ja_JP>文明6に世界保健機関ワンダーを追加します。</ja_JP>
      <ko_KR>문명 (6)에 세계 보건기구 (WHO) 원더 추가</ko_KR>
      <pl_PL>Dodaje Światową Organizację Zdrowia Wonder do Civ 6</pl_PL>
      <pt_BR>Adiciona a Organização Mundial de Saúde Maravilha para Civ 6</pt_BR>
      <ru_RU>Добавляет Всемирная организация здравоохранения диковинку Civ 6</ru_RU>
      <rh_Hans_CN>添加世界衛生組織奇蹟至6哀</rh_Hans_CN>
      <zh_Hant_HK>添加世界衛生組織奇蹟至6哀</zh_Hant_HK>
    </Text>

    <Text id="LOC_WHO_TEXT">
      <en_US>Adds the World Health Organisation Wonder to Civ 6. Wonder is available to build after researching sanitation.</en_US>
      <de_DE>Fügt die Weltgesundheitsorganisation Wonder 6. Wonder ist verfügbar zu bauen, nachdem die Erforschung sanitären Einrichtungen zu CIV.</de_DE>
      <es_ES>Añade la Organización Mundial de la Salud de la maravilla de CIV 6. Wonder está disponible para construir después de investigar el saneamiento.</es_ES>
      <fr_FR>Ajoute l'mondiale de la Santé Organisation Wonder à Civ 6. Wonder est disponible pour construire après des recherches sur l'assainissement.</fr_FR>
      <it_IT>Aggiunge l'Organizzazione Mondiale della Sanità Wonder al CIV 6. Wonder è disponibile a costruire dopo la ricerca servizi igienico-sanitari.</it_IT>
      <ja_JP>世界保健機関ワンダー6.ワンダーは衛生を研究した後に構築するために利用可能である文明に追加します。</ja_JP>
      <ko_KR>세계 보건기구 (WHO) 원더 6. 원더는 위생을 연구 한 후 구축 할 수 있습니다 문명에 추가합니다.</ko_KR>
      <pl_PL></pl_PL>
      <pt_BR></pt_BR>
      <ru_RU>Добавляет Всемирная организация здравоохранения диковинку CIV 6. Удивление доступен для создания после изучения санитарных условий.</ru_RU>
      <rh_Hans_CN></rh_Hans_CN>
      <zh_Hant_HK></zh_Hant_HK>
    </Text>

  </LocalizedText>
</Mod>


ModTester.xml (try to change barb text to see if mod is running)
Code:
<?xml version="1.0" encoding="utf-8" ?>
<GameData>
  <Language_en_US>
    <Update>
      <Where Tag ="LOC_NOTIFICATION_BARBARIANS_SIGHTED_MESSAGE"/>
                <Set Text="XXXXX Approach"/>
                <!-- <Set Text="{TXT_BARBARIAN_NAME} Approach"/> -->
    </Update>
 
    <Update>
        <Where Tag="LOC_NOTIFICATION_BARBARIANS_SIGHTED_SUMMARY"/>
        <Set Text="We have spotted XXXXXX approaching our city of {1_CityName}."/>
        <!-- <Set Text="We have spotted {TXT_BARBARIAN_NAME} approaching our city of {1_CityName}."/> -->
    </Update>
  </Language_en_US>
</GameData>

Buildings.xml

Code:
<?xml version="1.0" encoding="utf-8" ?>
<GameInfo>

    <Types>
      <!-- World Health Organisation Wonder -->
      <Row Type="BUILDING_WHO" Kind="KIND_BUILDING"/>
    </Types>

    <Buildings>
      <!-- TODO: Change PrereqTech="TECH_ANIMAL_HUSBANDRY" to PrereqTech="TECH_SANITATION" -->
      <Row BuildingType="BUILDING_WHO"
           Name="LOC_WHO_NAME"
           Description="LOC_WHO_DESCRIPTION"
           PrereqTech="TECH_ANIMAL_HUSBANDRY"
           Cost="3000"
           MaxWorldInstances="1"
           IsWonder="true"
           RequiresPlacement="true"
           MustNotBeLake="true"
           MustBeAdjacentLand="true"
           Quote="LOC_WHO_QUOTE"
        
    />

      <!-- <Civilopedia>TXT_KEY_WONDER_USAWHITEHOUSE_DESC</Civilopedia> -->
      <!-- QuoteAudio="Play_WHOE_QUOTE"/> -->
    </Buildings>

    <Building_YieldChanges>
      <!-- WHO YIELD -->
      <Row BuildingType="BUILDING_WHO" YieldType="YIELD_SCIENCE" YieldChange="6"/>
      <Row BuildingType="BUILDING_WHO" YieldType="YIELD_CULTURE" YieldChange="2"/>
    </Building_YieldChanges>

    <IconDefinitions>
      <!-- TODO: Using HERMITAGE icon for the time being -->
      <Row Name="ICON_BUILDING_WHO" Index="24" Atlas="ICON_ATLAS_WONDERS"/>
    </IconDefinitions>

</GameInfo>
you have a "World Health Organisation Wonder" inside your mod ?

I mean you have this path : "..\Documents\my games\Sid Meier's Civilization VI\Mods\WHO_Wonder\World Health Organisation Wonder\Utilities\ModTester.xml" ?
 
Another ideotic mistake by me. Concentrating on getting syntax & the game constucts right & missing a simple thing like doubling the path. Of course, "World Health Organisation Wonder" is the parent/root directory of the mod. New modinfo file below. Also, I suspect I'll have to copy/duplicate the Hermitage building model from the buildings.artdef file to substitute for the WHO for the time being.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Salmo on 29 October 2016 salmo[AT]netspace.net.au -->
<Mod id="3e383d8a-03cf-41af-94f3-cd36d11c9f11" version="1">
  <Properties>
    <Name>LOC_WHO_NAME</Name>
    <Teaser>LOC_WHO_TEASER</Teaser>
    <Description>LOC_WHO_TEXT</Description>
    <Authors>Salmo</Authors>
    <SpecialThanks>Firaxis, CivFanatics.com</SpecialThanks>
    <HideSetupGame>0</HideSetupGame>
    <AffectsSavedGames>1</AffectsSavedGames>
    <MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
    <SupportsSinglePlayer>1</SupportsSinglePlayer>
    <SupportsMultiplayer>1</SupportsMultiplayer>
    <SupportsHotSeat>1</SupportsHotSeat>
    <SupportsMac>1</SupportsMac>
    <ReloadAudioSystem>0</ReloadAudioSystem>
    <ReloadLandmarkSystem>0</ReloadLandmarkSystem>
    <ReloadStrategicViewSystem>0</ReloadStrategicViewSystem>
    <ReloadUnitSystem>0</ReloadUnitSystem>
  </Properties>

  <Dependencies></Dependencies>
  <References />
  <Blocks />

  <Components>
    <UpdateDatabase id="WHO_COMPONENT">
      <Properties>
        <Ruleset>RULESET_STANDARD</Ruleset>
      </Properties>
      <Items>
        <File>XML/Buildings/WHO_Buildings.xml</File>
        <File>Utilities/ModTester.xml</File>
      </Items>
    </UpdateDatabase>
  </Components>

  <Files>
    <File>XML/Buildings/WHO_Buildings.xml</File>
    <File>Utilities/ModTester.xml</File>
  </Files>

  <LocalizedText>
    <Text id="LOC_WHO_NAME">
      <en_US>World Health Organisation Wonder</en_US>
      <de_DE>Weltgesundheitsorganisation Wonder</de_DE>
      <es_ES>Organización Mundial de la Salud Wonder</es_ES>
      <fr_FR>Santé Organisation mondiale Wonder</fr_FR>
      <it_IT>Organizzazione mondiale della sanità Wonder</it_IT>
      <ja_JP>世界保健機関ワンダー</ja_JP>
      <ko_KR>세계 보건기구 (WHO) 원더</ko_KR>
      <pl_PL>Światowa Organizacja Zdrowia Wonder</pl_PL>
      <pt_BR>Organização Mundial de Saúde Maravilha</pt_BR>
      <ru_RU>Всемирная организация здравоохранения Wonder</ru_RU>
      <rh_Hans_CN>世界衛生組織奇蹟</rh_Hans_CN>
      <zh_Hant_HK>世界衛生組織奇蹟</zh_Hant_HK>
    </Text>

    <Text id="LOC_PEDIA_BUILDING_WHO_CHAPTER_HISTORY_PARA_1">
      <en_US>
        The World Health Organization (WHO) is a specialized agency of the United Nations that is concerned with international public health. It was established on 7 April 1948, headquartered in Geneva, Switzerland. The WHO is a member of the United Nations Development Group. Its predecessor, the Health Organization, was an agency of the League of Nations.
        The constitution of the World Health Organization had been signed by 61 countries on 22 July 1946, with the first meeting of the World Health Assembly finishing on 24 July 1948. It incorporated the Office international d'hygiène publique and the League of Nations Health Organization. Since its creation, it has played a leading role in the eradication of smallpox.
        Its current priorities include communicable diseases, in particular HIV/AIDS, Ebola, malaria and tuberculosis; the mitigation of the effects of non-communicable diseases; sexual and reproductive health, development, and aging; nutrition, food security and healthy eating; occupational health; substance abuse; and driving the development of reporting, publications, and networking.
        The WHO is responsible for the World Health Report, a leading international publication on health, the worldwide World Health Survey, and World Health Day (7 April of every year). The head of WHO is Margaret Chan.
        The 2014/2015 proposed budget of the WHO is about US$4 billion.[1] About US$930 million are to be provided by member states with a further US$3 billion to be from voluntary contributions.
      </en_US>
      <de_DE></de_DE>
      <es_ES></es_ES>
      <fr_FR></fr_FR>
      <it_IT></it_IT>
      <ja_JP></ja_JP>
      <ko_KR></ko_KR>
      <pl_PL></pl_PL>
      <pt_BR></pt_BR>
      <ru_RU></ru_RU>
      <rh_Hans_CN></rh_Hans_CN>
      <zh_Hant_HK></zh_Hant_HK>
    </Text>

    <Text id="LOC_WHO_TEASER">
      <en_US>Adds the World Health Organisation Wonder to Civ 6</en_US>
      <de_DE>Fügt die Weltgesundheitsorganisation Wonder zu Civ 6</de_DE>
      <es_ES>Añade la Organización Mundial de la Salud de la maravilla de Civ 6</es_ES>
      <fr_FR>Ajoute l'Organisation mondiale de la santé Wonder à Civ 6</fr_FR>
      <it_IT>Aggiunge l'Organizzazione Mondiale della Sanità Wonder al Civ 6</it_IT>
      <ja_JP>文明6に世界保健機関ワンダーを追加します。</ja_JP>
      <ko_KR>문명 (6)에 세계 보건기구 (WHO) 원더 추가</ko_KR>
      <pl_PL>Dodaje Światową Organizację Zdrowia Wonder do Civ 6</pl_PL>
      <pt_BR>Adiciona a Organização Mundial de Saúde Maravilha para Civ 6</pt_BR>
      <ru_RU>Добавляет чудо света Всемирная организация здравоохранения в Civ 6</ru_RU>
      <rh_Hans_CN>添加世界衛生組織奇蹟至6哀</rh_Hans_CN>
      <zh_Hant_HK>添加世界衛生組織奇蹟至6哀</zh_Hant_HK>
    </Text>

    <Text id="LOC_WHO_TEXT">
      <en_US>Adds the World Health Organisation Wonder to Civ 6. Wonder is available to build after researching sanitation.</en_US>
      <de_DE>Fügt die Weltgesundheitsorganisation Wonder 6. Wonder ist verfügbar zu bauen, nachdem die Erforschung sanitären Einrichtungen zu CIV.</de_DE>
      <es_ES>Añade la Organización Mundial de la Salud de la maravilla de CIV 6. Wonder está disponible para construir después de investigar el saneamiento.</es_ES>
      <fr_FR>Ajoute l'mondiale de la Santé Organisation Wonder à Civ 6. Wonder est disponible pour construire après des recherches sur l'assainissement.</fr_FR>
      <it_IT>Aggiunge l'Organizzazione Mondiale della Sanità Wonder al CIV 6. Wonder è disponibile a costruire dopo la ricerca servizi igienico-sanitari.</it_IT>
      <ja_JP>世界保健機関ワンダー6.ワンダーは衛生を研究した後に構築するために利用可能である文明に追加します。</ja_JP>
      <ko_KR>세계 보건기구 (WHO) 원더 6. 원더는 위생을 연구 한 후 구축 할 수 있습니다 문명에 추가합니다.</ko_KR>
      <pl_PL></pl_PL>
      <pt_BR></pt_BR>
      <ru_RU>Добавляет чудо света Всемирная организация здравоохранения в CIV 6. Чудо доступно для создания после изучения Канализации.</ru_RU>
      <rh_Hans_CN></rh_Hans_CN>
      <zh_Hant_HK></zh_Hant_HK>
    </Text>

  </LocalizedText>
</Mod>

Code:
<!-- 
Element deltails for Hermitage building from the buildings.artdef file
Now to figure out how to add the as a new row to the Buildings/Database
-->
<Element>
        <m_Fields>
          <m_Values>
            <Element class="AssetObjects::BoolValue">
              <m_bValue>false</m_bValue>
              <m_ParamName text="CanAffectDistrict"/>
            </Element>
            <Element class="AssetObjects::BoolValue">
              <m_bValue>false</m_bValue>
              <m_ParamName text="IsAffectedByDistrict"/>
            </Element>
          </m_Values>
        </m_Fields>
        <m_ChildCollections>
          <Element>
            <m_CollectionName text="Audio"/>
          </Element>
          <Element>
            <m_CollectionName text="StrategicView"/>
            <Element>
              <m_Fields>
                <m_Values>
                  <Element class="AssetObjects::ArtDefReferenceValue">
                    <m_ElementName text="Hermitage"/>
                    <m_RootCollectionName text="Buildings"/>
                    <m_ArtDefPath text="StrategicView.artdef"/>
                    <m_CollectionIsLocked>false</m_CollectionIsLocked>
                    <m_TemplateName text="StrategicView"/>
                    <m_ParamName text="XrefName"/>
                  </Element>
                  <Element class="AssetObjects::ArtDefReferenceValue">
                    <m_ElementName text="Completed"/>
                    <m_RootCollectionName text="BuildStates"/>
                    <m_ArtDefPath text="Buildings.artdef"/>
                    <m_CollectionIsLocked>true</m_CollectionIsLocked>
                    <m_TemplateName text="Buildings"/>
                    <m_ParamName text="State"/>
                  </Element>
                </m_Values>
              </m_Fields>
              <m_ChildCollections/>
              <m_Name text="StrategicView001"/>
            </Element>
            <Element>
              <m_Fields>
                <m_Values>
                  <Element class="AssetObjects::ArtDefReferenceValue">
                    <m_ElementName text="Hermitage_Pillaged"/>
                    <m_RootCollectionName text="Buildings"/>
                    <m_ArtDefPath text="StrategicView.artdef"/>
                    <m_CollectionIsLocked>false</m_CollectionIsLocked>
                    <m_TemplateName text="StrategicView"/>
                    <m_ParamName text="XrefName"/>
                  </Element>
                  <Element class="AssetObjects::ArtDefReferenceValue">
                    <m_ElementName text="Pillaged"/>
                    <m_RootCollectionName text="BuildStates"/>
                    <m_ArtDefPath text="Buildings.artdef"/>
                    <m_CollectionIsLocked>true</m_CollectionIsLocked>
                    <m_TemplateName text="Buildings"/>
                    <m_ParamName text="State"/>
                  </Element>
                </m_Values>
              </m_Fields>
              <m_ChildCollections/>
              <m_Name text="StrategicView002"/>
            </Element>
            <Element>
              <m_Fields>
                <m_Values>
                  <Element class="AssetObjects::ArtDefReferenceValue">
                    <m_ElementName text="Hermitage_UnderConstruction"/>
                    <m_RootCollectionName text="Buildings"/>
                    <m_ArtDefPath text="StrategicView.artdef"/>
                    <m_CollectionIsLocked>false</m_CollectionIsLocked>
                    <m_TemplateName text="StrategicView"/>
                    <m_ParamName text="XrefName"/>
                  </Element>
                  <Element class="AssetObjects::ArtDefReferenceValue">
                    <m_ElementName text="UnderConstruction"/>
                    <m_RootCollectionName text="BuildStates"/>
                    <m_ArtDefPath text="Buildings.artdef"/>
                    <m_CollectionIsLocked>true</m_CollectionIsLocked>
                    <m_TemplateName text="Buildings"/>
                    <m_ParamName text="State"/>
                  </Element>
                </m_Values>
              </m_Fields>
              <m_ChildCollections/>
              <m_Name text="StrategicView003"/>
            </Element>
          </Element>
        </m_ChildCollections>
        <m_Name text="BUILDING_WHO"/>
      </Element>
 
on the subject of health, remember health in civ 4? It would be interesting to add a

health district that has
herbalist
apothecary
hospital buildings.

make bonus resources/lake/oasis give health and foodplains/marsh reduce health. then make bonus resource tradable. add a city status

Vigorous (3+ health) 30% growth rate, military units produced here +3 combat strength
healthy (1~2 health) 15% growth rate
normal (0 health)
unhealthy (-1~-2 health) -15% growth rate
diseased (-3~-4 health) - 30% growth rate, military units produced here -3 combat strength
plague (-5 or less) -90% growth rate, military units produced here -7 combat strength
 
Top Bottom