LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
289 stars 160 forks source link

XML Syntax Error Somehow? Maybe I need a fresh pair of eyes, could anyone look the differences? #3260

Closed TechpriestEnginseer closed 7 years ago

TechpriestEnginseer commented 7 years ago
<GameData>
    <Language_en_US>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_DESCRIPTION">
            <Text>Plague Outbreak</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_DESCRIPTION_S">
            <Text>Plague strikes {2_City}!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_HELP">
            <Text>Looks like encouraging trade in this city has struck our cities with diseases.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_1">
            <Text>Well then.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_1_HELP">
            <Text>[ICON_BULLET][COLOR_NEGATIVE_TEXT]{2_InstantYield}[ENDCOLOR]</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_1_SUCCESSFUL">
            <Text>With dying crops and food famine in {2_City}, the citizens are demanding emergency food supplies to be given from the nation!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_2">
            <Text>We could probably remedy this issue with temporary trade restrictions.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_2_HELP">
            <Text>[ICON_BULLET][COLOR_NEGATIVE_TEXT]{2_InstantYield}[ENDCOLOR</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_2_SUCCESSFUL">
            <Text>With dying crops and food famine in {2_City}, the authorities were quick at their knee and immediately seized control of a trade route stopping the source of the famine.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_DESCRIPTION">
            <Text>Sure Is Boring Around Here.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_DESCRIPTION_S">
            <Text>A Festival Held In {2_City}!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_HELP">
            <Text>The city's people here look bored. Perhaps, we can induce the inhabitants here with some festivities.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_1">
            <Text>I have an idea, we can do something about the food here...</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_1_HELP">
            <Text>[ICON_BULLET]5 Turns of [COLOR_POSITIVE_TEXT]WLTKD[ENDCOLOR].[NEWLINE][ICON_BULLET][COLOR_NEGATIVE_TEXT]{2_InstantYield}[ENDCOLOR]</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_1_SUCCESSFUL">
            <Text>With some food spent in {2_City}, the citizens throw a celebration with the food!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_2">
            <Text>With payments for some entertainers...</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_2_HELP">
            <Text>[ICON_BULLET][COLOR_POSITIVE_TEXT]+2 [ICON_HAPPINESS_1] Happiness[ENDCOLOR] for {5_Turns}[NEWLINE][ICON_BULLET][COLOR_NEGATIVE_TEXT]{2_InstantYield}[ENDCOLOR]</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_2_SUCCESSFUL">
            <Text>The government of {2_City} holds a circus of entertainment and festivities.</Text>
        </Row>
    </Language_en_US>
    <CityEvents>
        <Row>
            <Type>CITY_EVENT_PLAGUEPLAGUE</Type>
            <Description>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_DESCRIPTION</Description>
            <Help>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_HELP</Help>
            <EventClass>EVENT_CLASS_BAD</EventClass>
            <CityEventAudio>AS2D_EVENT_EPLAGUE</CityEventAudio>
            <RandomChance>5</RandomChance>
            <RandomChanceDelta>1</RandomChanceDelta>
            <NumChoices>2</NumChoices>
            <RequiredEra>ERA_CLASSICAL</RequiredEra>
            <ObsoleteEra>ERA_INDUSTRIAL</ObsoleteEra>
            <HasTradeConnection>true</HasTradeConnection>
            <MinimumCityPopulation>5</MinimumCityPopulation>
        </Row>
        <Row>
            <Type>CITY_EVENT_DRUNKWLTKD</Type>
            <Description>TXT_KEY_CITY_EVENT_DRUNKWLTKD_DESCRIPTION</Description>
            <Help>TXT_KEY_CITY_EVENT_DRUNKWLTKD_HELP</Help>
            <EventClass>EVENT_CLASS_GOOD</EventClass>
            <IsUnhappy>true</IsUnhappy>
            <RandomChance>5</RandomChance>
            <RandomChanceDelta>1</RandomChanceDelta>
            <NumChoices>2</NumChoices>
            <RequiredEra>ERA_CLASSICAL</RequiredEra>
            <ObsoleteEra>ERA_INDUSTRIAL</ObsoleteEra>
            <MinimumCityPopulation>5</MinimumCityPopulation>
        </Row>
    </CityEvents>
    <CityEventChoices>
        <Row>
            <Type>CITY_EVENT_PLAGUEPLAGUE_CHOICE_1</Type>
            <Description>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_1</Description>
            <Help>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_1_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_EPLAGUE</EventChoiceAudio>
            <EraScaling>true</EraScaling>
        </Row>
        <Row>
            <Type>CITY_EVENT_PLAGUEPLAGUE_CHOICE_2</Type>
            <Description>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_2</Description>
            <Help>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_2_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_EPLAGUE</EventChoiceAudio>
            <EraScaling>true</EraScaling>
        </Row>
        <Row>
            <Type>CITY_EVENT_DRUNKWLTKD_CHOICE_1</Type>
            <Description>TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_1</Description>
            <Help>TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_1_HELP</Help>
            <EventDuration>30</EventDuration>
            <WLTKDTurns>5</WLTKDTurns>
            <EventChoiceAudio>AS2D_EVENT_ECROWDCHEER</EventChoiceAudio>
            <EraScaling>true</EraScaling>
        </Row>
        <Row>
            <Type>CITY_EVENT_DRUNKWLTKD_CHOICE_2</Type>
            <Description>TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_2</Description>
            <Help>TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_2_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_ECROWDCHEER</EventChoiceAudio>
            <EraScaling>true</EraScaling>
            <CityHappiness>2</CityHappiness>
            <Expires>true</Expires>
        </Row>
    </CityEventChoices>
    <CityEvent_ParentEvents>
        <Row>
            <CityEventChoiceType>CITY_EVENT_PLAGUEPLAGUE_CHOICE_1</CityEventChoiceType>
            <CityEventType>CITY_EVENT_PLAGUEPLAGUE</CityEventType>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_PLAGUEPLAGUE_CHOICE_2</CityEventChoiceType>
            <CityEventType>CITY_EVENT_PLAGUEPLAGUE</CityEventType>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_DRUNKWLTKD_CHOICE_1</CityEventChoiceType>
            <CityEventType>CITY_EVENT_DRUNKWLTKD</CityEventType>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_DRUNKWLTKD_CHOICE_2</CityEventChoiceType>
            <CityEventType>CITY_EVENT_DRUNKWLTKD</CityEventType>
        </Row>
    </CityEvent_ParentEvents>
    <CityEventChoice_Notification>
        <Row>
            <CityEventChoiceType>CITY_EVENT_PLAGUEPLAGUE_CHOICE_1</CityEventChoiceType>
            <NotificationType>NOTIFICATION_GENERIC</NotificationType>
            <Description>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_1_SUCCESSFUL</Description>
            <ShortDescription>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_DESCRIPTION_S</ShortDescription>
            <IsWorldEvent>true</IsWorldEvent>
            <NeedCityCoordinates>true</NeedCityCoordinates>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_PLAGUEPLAGUE_CHOICE_2</CityEventChoiceType>
            <NotificationType>NOTIFICATION_GENERIC</NotificationType>
            <Description>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_CHOICE_2_SUCCESSFUL</Description>
            <ShortDescription>TXT_KEY_CITY_EVENT_PLAGUEPLAGUE_DESCRIPTION_S</ShortDescription>
            <IsWorldEvent>true</IsWorldEvent>
            <NeedCityCoordinates>true</NeedCityCoordinates>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_DRUNKWLTKD_CHOICE_1</CityEventChoiceType>
            <NotificationType>NOTIFICATION_GENERIC</NotificationType>
            <Description>TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_1_SUCCESSFUL</Description>
            <ShortDescription>TXT_KEY_CITY_EVENT_DRUNKWLTKD_DESCRIPTION_S</ShortDescription>
            <IsWorldEvent>true</IsWorldEvent>
            <NeedCityCoordinates>true</NeedCityCoordinates>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_DRUNKWLTKD_CHOICE_2</CityEventChoiceType>
            <NotificationType>NOTIFICATION_GENERIC</NotificationType>
            <Description>TXT_KEY_CITY_EVENT_DRUNKWLTKD_CHOICE_2_SUCCESSFUL</Description>
            <ShortDescription>TXT_KEY_CITY_EVENT_DRUNKWLTKD_DESCRIPTION_S</ShortDescription>
            <IsWorldEvent>true</IsWorldEvent>
            <NeedCityCoordinates>true</NeedCityCoordinates>
        </Row>
    </CityEventChoice_Notification>
    <CityEventChoice_MinimumStartYield>
        <Row>
            <CityEventChoiceType>CITY_EVENT_DRUNKWLTKD_CHOICE_2</CityEventChoiceType>
            <YieldType>YIELD_GOLD</YieldType>
            <Yield>300</Yield>
        </Row>
    </CityEventChoice_MinimumStartYield>
    <CityEventChoice_InstantYield>
        <Row>
            <CityEventChoiceType>CITY_EVENT_PLAGUEPLAGUE_CHOICE_1<CityEventChoiceType>
            <YieldType>YIELD_FOOD</YieldType>
            <Yield>-100</Yield>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_PLAGUEPLAGUE_CHOICE_2<CityEventChoiceType>
            <YieldType>YIELD_GOLD</YieldType>
            <Yield>-200</Yield>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_DRUNKWLTKD_CHOICE_1<CityEventChoiceType>
            <YieldType>YIELD_FOOD</YieldType>
            <Yield>-100</Yield>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_DRUNKWLTKD_CHOICE_2<CityEventChoiceType>
            <YieldType>YIELD_GOLD</YieldType>
            <Yield>-300</Yield>
        </Row>
    </CityEventChoice_InstantYield>
</GameData>

Do database.log ever reports error for the events because this

<GameData>
    <Language_en_US>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID_DESCRIPTION">
            <Text>Barbarian Raid!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID_HELP">
            <Text>Barbarians attack the city, burning our houses, poisoning the water, and taking our women! What must we do?</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID_CHOICE_1">
            <Text>Rise up and strike them down!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID_CHOICE_1_HELP">
            <Text>[ICON_BULLET][COLOR_POSITIVE_TEXT]A militia force arrive and will assist the city's defenses![ENDCOLOR][NEWLINE][ICON_BULLET][COLOR_NEGATIVE_TEXT]Large groups of Barbarians appear near the city.[ENDCOLOR]</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID_CHOICE_2">
            <Text>Just let it happen.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID_CHOICE_2_HELP">
            <Text>[ICON_BULLET][COLOR_NEGATIVE_TEXT]+2 [ICON_HAPPINESS_3] Local Unhappiness for {5_Turns}[ENDCOLOR]</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID2_DESCRIPTION">
            <Text>A Noble Uprising!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID2_HELP">
            <Text>Nobles are protesting your government and have brought upon their fellow men to rise up with them as well demanding government reforms.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID2_CHOICE_1">
            <Text>Government reform? Ha!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID2_CHOICE_1_HELP">
            <Text>[ICON_BULLET][COLOR_NEGATIVE_TEXT]Rebels appear near the City aiming for a powerful strike![ENDCOLOR]</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID2_CHOICE_2">
            <Text>I suppose a little reform doesn't hurt anyone...</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID2_CHOICE_2_HELP">
            <Text>[ICON_BULLET][COLOR_NEGATIVE_TEXT]{2_InstantYield}[ENDCOLOR]</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID3_DESCRIPTION">
            <Text>Labor Strike!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID3_HELP">
            <Text>As always my leader, those laborers are always up to something being on strike as usual.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID3_CHOICE_1">
            <Text>Let them strike then. They'll cave soon.</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID3_CHOICE_1_HELP">
            <Text>[ICON_BULLET][COLOR_NEGATIVE_TEXT]City enters Revolution and Strikes occur![ENDCOLOR]</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID3_CHOICE_2">
            <Text>So? Hire some strikebreakers!</Text>
        </Row>
        <Row Tag="TXT_KEY_CITY_EVENT_RAIDRAID3_CHOICE_2_HELP">
            <Text>[ICON_BULLET][COLOR_NEGATIVE_TEXT]{2_InstantYield}[ENDCOLOR]</Text>
        </Row>
    </Language_en_US>
    <CityEvents>
        <Row>
            <Type>CITY_EVENT_RAIDRAID</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID_DESCRIPTION</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID_HELP</Help>
            <EventClass>EVENT_CLASS_BAD</EventClass>
            <CityEventArt>CityRaid.dds</CityEventArt>
            <CityEventAudio>AS2D_EVENT_EDECLAREWAR</CityEventAudio>
            <RandomChance>5</RandomChance>
            <RandomChanceDelta>1</RandomChanceDelta>
            <NumChoices>2</NumChoices>
            <ObsoleteEra>ERA_MEDIEVAL</ObsoleteEra>
            <MinimumCityPopulation>3</MinimumCityPopulation>
        </Row>
        <Row>
            <Type>CITY_EVENT_RAIDRAID2</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID2_DESCRIPTION</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID2_HELP</Help>
            <EventClass>EVENT_CLASS_BAD</EventClass>
            <CityEventAudio>AS2D_EVENT_EDECLAREWAR</CityEventAudio>
            <RandomChance>5</RandomChance>
            <RandomChanceDelta>1</RandomChanceDelta>
            <NumChoices>2</NumChoices>
            <RequiredEra>ERA_MEDIEVAL</RequiredEra>
            <ObsoleteEra>ERA_INDUSTRIAL</ObsoleteEra>
            <MinimumCityPopulation>5</MinimumCityPopulation>
        </Row>
        <Row>
            <Type>CITY_EVENT_RAIDRAID3</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID3_DESCRIPTION</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID3_HELP</Help>
            <EventClass>EVENT_CLASS_BAD</EventClass>
            <CityEventAudio>AS2D_EVENT_EDECLAREWAR</CityEventAudio>
            <RandomChance>5</RandomChance>
            <RandomChanceDelta>1</RandomChanceDelta>
            <NumChoices>2</NumChoices>
            <RequiredEra>ERA_INDUSTRIAL</RequiredEra>
            <MinimumCityPopulation>10</MinimumCityPopulation>
        </Row>
    </CityEvents>
    <CityEventChoices>
        <Row>
            <Type>CITY_EVENT_RAIDRAID_CHOICE_1</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID_CHOICE_1</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID_CHOICE_1_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_ECITYCAPTURE</EventChoiceAudio>
            <RandomBarbarianSpawn>3</RandomBarbarianSpawn>
            <FreeUnitsTechAppropriate>1</FreeUnitsTechAppropriate>
        </Row>
        <Row>
            <Type>CITY_EVENT_RAIDRAID_CHOICE_2</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID_CHOICE_2</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID_CHOICE_2_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_ECITYCAPTURE</EventChoiceAudio>
            <CityHappiness>-2</CityHappiness>
            <Expires>true</Expires>
        </Row>
        <Row>
            <Type>CITY_EVENT_RAIDRAID2_CHOICE_1</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID2_CHOICE_1</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID2_CHOICE_1_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_ECITYCAPTURE</EventChoiceAudio>
            <RandomBarbarianSpawn>4</RandomBarbarianSpawn>
        </Row>
        <Row>
            <Type>CITY_EVENT_RAIDRAID2_CHOICE_2</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID2_CHOICE_2</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID2_CHOICE_2_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_ECITYCAPTURE</EventChoiceAudio>
        </Row>
        <Row>
            <Type>CITY_EVENT_RAIDRAID3_CHOICE_1</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID3_CHOICE_1</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID3_CHOICE_1_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_ECITYCAPTURE</EventChoiceAudio>
            <ResistanceTurns>4</ResistanceTurns>
            <RandomBarbarianSpawn>2</RandomBarbarianSpawn>
        </Row>
        <Row>
            <Type>CITY_EVENT_RAIDRAID3_CHOICE_2</Type>
            <Description>TXT_KEY_CITY_EVENT_RAIDRAID3_CHOICE_2</Description>
            <Help>TXT_KEY_CITY_EVENT_RAIDRAID3_CHOICE_2_HELP</Help>
            <EventDuration>30</EventDuration>
            <EventChoiceAudio>AS2D_EVENT_ECITYCAPTURE</EventChoiceAudio>
        </Row>
    </CityEventChoices>
    <CityEvent_ParentEvents>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID_CHOICE_1</CityEventChoiceType>
            <CityEventType>CITY_EVENT_RAIDRAID</CityEventType>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID_CHOICE_2</CityEventChoiceType>
            <CityEventType>CITY_EVENT_RAIDRAID</CityEventType>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID2_CHOICE_1</CityEventChoiceType>
            <CityEventType>CITY_EVENT_RAIDRAID2</CityEventType>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID2_CHOICE_2</CityEventChoiceType>
            <CityEventType>CITY_EVENT_RAIDRAID2</CityEventType>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID3_CHOICE_1</CityEventChoiceType>
            <CityEventType>CITY_EVENT_RAIDRAID3</CityEventType>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID3_CHOICE_2</CityEventChoiceType>
            <CityEventType>CITY_EVENT_RAIDRAID3</CityEventType>
        </Row>
    </CityEvent_ParentEvents>
    <CityEventChoice_MinimumStartYield>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID2_CHOICE_2</CityEventChoiceType>
            <YieldType>YIELD_CULTURE</YieldType>
            <Yield>100</Yield>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID3_CHOICE_2</CityEventChoiceType>
            <YieldType>YIELD_GOLD</YieldType>
            <Yield>750</Yield>
        </Row>
    </CityEventChoice_MinimumStartYield>
    <CityEventChoice_InstantYield>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID2_CHOICE_2</CityEventChoiceType>
            <YieldType>YIELD_CULTURE</YieldType>
            <Yield>-100</Yield>
        </Row>
        <Row>
            <CityEventChoiceType>CITY_EVENT_RAIDRAID3_CHOICE_2</CityEventChoiceType>
            <YieldType>YIELD_GOLD</YieldType>
            <Yield>-750</Yield>
        </Row>
    </CityEventChoice_InstantYield>
</GameData>

has exactly the same syntax. I'm manually typing out stuff, but I don't know why the raidraid events work, but the drunkwltkd and the plagueplague works as an event but doesn't take out the yields necessary(it doesn't display them in tooltip nor take the yields properly).. any clue why?

LoneGazebo commented 7 years ago

Put each section in a separate xml file, load them all in a mod and look at the stopwatch log to compare the time stamp from the database log to the stopwatch log. It'll show you roughly which file is the problem.

LoneGazebo commented 7 years ago

You might also look at the lua log after running them in game and see if you are getting a lua error.

TechpriestEnginseer commented 7 years ago

Found it. It never had a </ CityEventChoiceType > which database.log never reported.