Skip to content

Commit

Permalink
New Python Quest: 5 Graveyards
Browse files Browse the repository at this point in the history
  • Loading branch information
raystuttgart committed Dec 28, 2022
1 parent 1e84716 commit 8f16e8a
Show file tree
Hide file tree
Showing 3 changed files with 295 additions and 0 deletions.
127 changes: 127 additions & 0 deletions Assets/XML/Events/CIV4EventInfos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19901,6 +19901,133 @@
<iGenericParameter3>0</iGenericParameter3>
<iGenericParameter4>0</iGenericParameter4>
</EventInfo>
<EventInfo>
<Type>EVENT_FIVE_GRAVEYARDS</Type>
<Description>TXT_KEY_EVENT_FIVE_GRAVEYARDS</Description>
<LocalInfoText/>
<WorldNewsTexts/>
<OtherPlayerPopup/>
<QuestFailText>TXT_KEY_EVENT_FAIL_FIVE_GRAVEYARDS</QuestFailText>
<bQuest>1</bQuest>
<bGlobal>0</bGlobal>
<bTeam>0</bTeam>
<bPickCity>0</bPickCity>
<bPickOtherPlayerCity>0</bPickOtherPlayerCity>
<bDeclareWar>0</bDeclareWar>
<iGold>0</iGold>
<bGoldToPlayer>0</bGoldToPlayer>
<iRandomGold>0</iRandomGold>
<iCulture>0</iCulture>
<iHealth>0</iHealth>
<UnitClass>NONE</UnitClass>
<iNumFreeUnits>0</iNumFreeUnits>
<bDisbandUnit>0</bDisbandUnit>
<iUnitExperience>0</iUnitExperience>
<iUnitImmobileTurns>0</iUnitImmobileTurns>
<UnitPromotion/>
<UnitName/>
<UnitCombatPromotions/>
<UnitClassPromotions/>
<BuildingClass>NONE</BuildingClass>
<iBuildingChange>0</iBuildingChange>
<BuildingExtraYields/>
<iRevoltTurns>0</iRevoltTurns>
<iMinPillage>0</iMinPillage>
<iMaxPillage>0</iMaxPillage>
<iFood>0</iFood>
<iFoodPercent>0</iFoodPercent>
<FeatureType>NONE</FeatureType>
<iFeatureChange>0</iFeatureChange>
<ImprovementType>NONE</ImprovementType>
<iImprovementChange>0</iImprovementChange>
<RouteType>NONE</RouteType>
<iRouteChange>0</iRouteChange>
<BonusRevealed>NONE</BonusRevealed>
<PlotExtraYields/>
<iOurAttitudeModifier>0</iOurAttitudeModifier>
<iAttitudeModifier>0</iAttitudeModifier>
<iTheirEnemyAttitudeModifier>0</iTheirEnemyAttitudeModifier>
<iPopulationChange>0</iPopulationChange>
<AdditionalEvents/>
<EventTimes/>
<ClearEvents/>
<PythonCallback/>
<PythonExpireCheck/>
<PythonCanDo/>
<PythonHelp/>
<Button>,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,8,5</Button>
<iAIValue>1000</iAIValue>
<iGenericParameter1>0</iGenericParameter1>
<iGenericParameter2>0</iGenericParameter2>
<iGenericParameter3>0</iGenericParameter3>
<iGenericParameter4>0</iGenericParameter4>
</EventInfo>
<EventInfo>
<Type>EVENT_FIVE_GRAVEYARDS_DONE_1</Type>
<Description>TXT_KEY_EVENT_FIVE_GRAVEYARDS_DONE_1</Description>
<LocalInfoText/>
<WorldNewsTexts/>
<OtherPlayerPopup/>
<QuestFailText/>
<bQuest>0</bQuest>
<bGlobal>1</bGlobal>
<bTeam>0</bTeam>
<bPickCity>0</bPickCity>
<bPickOtherPlayerCity>0</bPickOtherPlayerCity>
<bDeclareWar>0</bDeclareWar>
<iGold>0</iGold>
<bGoldToPlayer>0</bGoldToPlayer>
<iRandomGold>0</iRandomGold>
<iCulture>0</iCulture>
<iHealth>0</iHealth>
<UnitClass>UNITCLASS_PREACHER</UnitClass>
<iNumFreeUnits>2</iNumFreeUnits>
<bDisbandUnit>0</bDisbandUnit>
<iUnitExperience>0</iUnitExperience>
<iUnitImmobileTurns>0</iUnitImmobileTurns>
<UnitPromotion/>
<UnitName/>
<UnitCombatPromotions/>
<UnitClassPromotions/>
<BuildingClass>NONE</BuildingClass>
<iBuildingChange>0</iBuildingChange>
<BuildingExtraYields/>
<iRevoltTurns>0</iRevoltTurns>
<iMinPillage>0</iMinPillage>
<iMaxPillage>0</iMaxPillage>
<iFood>0</iFood>
<iFoodPercent>0</iFoodPercent>
<FeatureType>NONE</FeatureType>
<iFeatureChange>0</iFeatureChange>
<ImprovementType>NONE</ImprovementType>
<iImprovementChange>0</iImprovementChange>
<RouteType>NONE</RouteType>
<iRouteChange>0</iRouteChange>
<BonusRevealed>NONE</BonusRevealed>
<PlotExtraYields/>
<iOurAttitudeModifier>0</iOurAttitudeModifier>
<iAttitudeModifier>0</iAttitudeModifier>
<iTheirEnemyAttitudeModifier>0</iTheirEnemyAttitudeModifier>
<iPopulationChange>0</iPopulationChange>
<AdditionalEvents/>
<EventTimes/>
<ClearEvents>
<EventChance>
<Event>EVENT_FIVE_GRAVEYARDS</Event>
<iEventChance>100</iEventChance>
</EventChance>
</ClearEvents>
<PythonCallback/>
<PythonExpireCheck/>
<PythonCanDo/>
<PythonHelp/>
<Button>,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,8,5</Button>
<iAIValue>1000</iAIValue>
<iGenericParameter1>0</iGenericParameter1>
<iGenericParameter2>0</iGenericParameter2>
<iGenericParameter3>0</iGenericParameter3>
<iGenericParameter4>0</iGenericParameter4>
</EventInfo>
<EventInfo>
<Type>EVENT_BURNING_CORN_CHAMBER_1</Type>
<Description>TXT_KEY_EVENT_BURNING_CORN_CHAMBER_1</Description>
Expand Down
138 changes: 138 additions & 0 deletions Assets/XML/Events/CIV4EventTriggerInfos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8959,6 +8959,144 @@
<PythonCanDoUnit/>
<PythonCallback/>
</EventTriggerInfo>
<EventTriggerInfo>
<Type>EVENTTRIGGER_FIVE_GRAVEYARDS</Type>
<WorldNewsTexts/>
<TriggerTexts>
<TriggerText>
<Text>TXT_KEY_EVENT_TRIGGER_FIVE_GRAVEYARDS</Text>
<Era>NONE</Era>
</TriggerText>
</TriggerTexts>
<bTutorial>0</bTutorial>
<bSinglePlayer>0</bSinglePlayer>
<EventArt>,Art/EventImages/Quest_Image1.dds</EventArt>
<iPercentGamesActive>100</iPercentGamesActive>
<iWeight>-1</iWeight>
<bProbabilityUnitMultiply>0</bProbabilityUnitMultiply>
<bProbabilityBuildingMultiply>0</bProbabilityBuildingMultiply>
<eCivic>NONE</eCivic>
<iMinTreasury>0</iMinTreasury>
<iMinPopulation>0</iMinPopulation>
<iMaxPopulation>0</iMaxPopulation>
<iMinMapLandmass>0</iMinMapLandmass>
<iMinOurLandmass>0</iMinOurLandmass>
<iMaxOurLandmass>-1</iMaxOurLandmass>
<eMinDifficulty>NONE</eMinDifficulty>
<UnitsRequired/>
<iNumUnits>0</iNumUnits>
<iNumUnitsGlobal>0</iNumUnitsGlobal>
<iUnitDamagedWeight>0</iUnitDamagedWeight>
<iUnitDistanceWeight>0</iUnitDistanceWeight>
<iUnitExperienceWeight>0</iUnitExperienceWeight>
<bUnitsOnPlot>0</bUnitsOnPlot>
<BuildingsRequired>
<BuildingClass>BUILDINGCLASS_GRAVEYARD</BuildingClass>
</BuildingsRequired>
<iNumBuildings>1</iNumBuildings>
<iNumBuildingsGlobal>0</iNumBuildingsGlobal>
<iNumPlotsRequired>0</iNumPlotsRequired>
<bOwnPlot>0</bOwnPlot>
<ePlotType>NONE</ePlotType>
<FeaturesRequired/>
<TerrainsRequired/>
<ImprovementsRequired/>
<RoutesRequired/>
<Events>
<Event>EVENT_FIVE_GRAVEYARDS</Event>
</Events>
<PrereqEvents/>
<bPrereqEventPlot>0</bPrereqEventPlot>
<bRecurring>0</bRecurring>
<bTeam>0</bTeam>
<bGlobal>0</bGlobal>
<bPickPlayer>0</bPickPlayer>
<bOtherPlayerWar>0</bOtherPlayerWar>
<bOtherPlayerAI>0</bOtherPlayerAI>
<bOtherPlayerNative>0</bOtherPlayerNative>
<bOtherPlayerPlayable>0</bOtherPlayerPlayable>
<iOtherPlayerShareBorders>0</iOtherPlayerShareBorders>
<bPickCity>0</bPickCity>
<bPickOtherPlayerCity>0</bPickOtherPlayerCity>
<bShowPlot>0</bShowPlot>
<bFrontPopup>0</bFrontPopup>
<iCityFoodWeight>0</iCityFoodWeight>
<PythonCanDo>isPlayable</PythonCanDo>
<PythonCanDoCity/>
<PythonCanDoUnit/>
<PythonCallback/>
</EventTriggerInfo>
<EventTriggerInfo>
<Type>EVENTTRIGGER_FIVE_GRAVEYARDS_DONE</Type>
<WorldNewsTexts>
<Text>TXT_KEY_EVENTTRIGGER_FIVE_GRAVEYARDS_DONE</Text>
</WorldNewsTexts>
<TriggerTexts>
<TriggerText>
<Text>TXT_KEY_EVENT_TRIGGER_FIVE_GRAVEYARDS_DONE</Text>
<Era>NONE</Era>
</TriggerText>
</TriggerTexts>
<bTutorial>0</bTutorial>
<bSinglePlayer>0</bSinglePlayer>
<EventArt>,Art/EventImages/Event_Image1.dds</EventArt>
<iPercentGamesActive>100</iPercentGamesActive>
<iWeight>-1</iWeight>
<bProbabilityUnitMultiply>0</bProbabilityUnitMultiply>
<bProbabilityBuildingMultiply>0</bProbabilityBuildingMultiply>
<eCivic>NONE</eCivic>
<iMinTreasury>0</iMinTreasury>
<iMinPopulation>0</iMinPopulation>
<iMaxPopulation>0</iMaxPopulation>
<iMinMapLandmass>0</iMinMapLandmass>
<iMinOurLandmass>0</iMinOurLandmass>
<iMaxOurLandmass>-1</iMaxOurLandmass>
<eMinDifficulty>NONE</eMinDifficulty>
<UnitsRequired/>
<iNumUnits>0</iNumUnits>
<iNumUnitsGlobal>0</iNumUnitsGlobal>
<iUnitDamagedWeight>0</iUnitDamagedWeight>
<iUnitDistanceWeight>0</iUnitDistanceWeight>
<iUnitExperienceWeight>0</iUnitExperienceWeight>
<bUnitsOnPlot>0</bUnitsOnPlot>
<BuildingsRequired>
<BuildingClass>BUILDINGCLASS_GRAVEYARD</BuildingClass>
</BuildingsRequired>
<iNumBuildings>5</iNumBuildings>
<iNumBuildingsGlobal>0</iNumBuildingsGlobal>
<iNumPlotsRequired>0</iNumPlotsRequired>
<bOwnPlot>0</bOwnPlot>
<ePlotType>NONE</ePlotType>
<FeaturesRequired/>
<TerrainsRequired/>
<ImprovementsRequired/>
<RoutesRequired/>
<Events>
<Event>EVENT_FIVE_GRAVEYARDS_DONE_1</Event>
</Events>
<PrereqEvents>
<Event>EVENT_FIVE_GRAVEYARDS</Event>
</PrereqEvents>
<bPrereqEventPlot>0</bPrereqEventPlot>
<bRecurring>0</bRecurring>
<bTeam>0</bTeam>
<bGlobal>1</bGlobal>
<bPickPlayer>0</bPickPlayer>
<bOtherPlayerWar>0</bOtherPlayerWar>
<bOtherPlayerAI>0</bOtherPlayerAI>
<bOtherPlayerNative>0</bOtherPlayerNative>
<bOtherPlayerPlayable>0</bOtherPlayerPlayable>
<iOtherPlayerShareBorders>0</iOtherPlayerShareBorders>
<bPickCity>0</bPickCity>
<bPickOtherPlayerCity>0</bPickOtherPlayerCity>
<bShowPlot>1</bShowPlot>
<bFrontPopup>0</bFrontPopup>
<iCityFoodWeight>0</iCityFoodWeight>
<PythonCanDo>isPlayable</PythonCanDo>
<PythonCanDoCity/>
<PythonCanDoUnit/>
<PythonCallback/>
</EventTriggerInfo>
<EventTriggerInfo>
<Type>EVENTTRIGGER_BURNING_CORN_CHAMBER</Type>
<WorldNewsTexts>
Expand Down
30 changes: 30 additions & 0 deletions Assets/XML/Text/CIV4GameText_Colonization_Events_utf8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2269,6 +2269,36 @@
<French>Milord, vous avez été le premier à construire 5 marchés dans vos villes. Les négociants privés vous proposent de choisir votre récompense.</French>
<German>Milord, Eure Kolonie konnte vor allen anderen in 5 Städten Märkte errichten. Die Händler aus unseren Städten fragen nun, welche Belohnung Ihr dafür wollt.</German>
</TEXT>
<TEXT>
<Tag>TXT_KEY_EVENT_TRIGGER_FIVE_GRAVEYARDS</Tag>
<English>Milord, the church requests that we build graveyards in at least five cities to bury dead citizens. We are promised that also priests will then be sent to hold funeral ceremonies.</English>
<German>Milord, die Kirche verlangt, dass wir in mindestens fünf Städten Friedhöfe bauen um tote Bürger zu begraben. Uns wurde versprochen, dass dann auch Priester für die Beerdigungen geschickt werden.</German>
</TEXT>
<TEXT>
<Tag>TXT_KEY_EVENTTRIGGER_FIVE_GRAVEYARDS_DONE</Tag>
<English>A colonial power is the first to have graveyards in five cities.</English>
<German>Eine Kolonialmacht konnte vor allen anderen in fünf Städten Friedhöfe errichten.</German>
</TEXT>
<TEXT>
<Tag>TXT_KEY_EVENT_TRIGGER_FIVE_GRAVEYARDS_DONE</Tag>
<English>Milord, you've built graveyards in five cities before any other colony could. The church now sends the priests as promised.</English>
<German>Milord, Eure Kolonie konnte vor allen anderen in 5 Städten Friedhöfe errichten. Die Kirche schickt nun wie versprochen die Priester.</German>
</TEXT>
<TEXT>
<Tag>TXT_KEY_EVENT_FAIL_FIVE_GRAVEYARDS</Tag>
<English>Milord, the governor of another colony has built graveyards in five cities before you. You've missed the chance to get the reward from the church.</English>
<German>Milord, der Gouverneur einer anderen Kolonie konnte vor euch in 5 Städten Friedhöfe errichten. Dadurch habt Ihr die Chance auf eine Belohung durch die Kirche vertan.</German>
</TEXT>
<TEXT>
<Tag>TXT_KEY_EVENT_FIVE_GRAVEYARDS</Tag>
<English>Of course we shall ensure that all our dead can rest peacefully in holy soil.</English>
<German>Selbstverständlich werden wir sicherstellen, dass alle unsere Toten friedvoll in heilger Erde ruhen können</German>
</TEXT>
<TEXT>
<Tag>TXT_KEY_EVENT_FIVE_GRAVEYARDS_DONE_1</Tag>
<English>Ensure that the priests are welcomed with a ceremony.</English>
<German>Stellt sicher, dass die Priester mit Feierlichkeiten willkommen geheißen werden.</German>
</TEXT>
<TEXT>
<Tag>TXT_KEY_EVENTTRIGGER_BURNING_CORN_CHAMBER</Tag>
<English>A corn chamber in [COLOR_SELECTED_TEXT]%s2_city[COLOR_REVERT] caught fire.</English>
Expand Down

0 comments on commit 8f16e8a

Please sign in to comment.