Affinity Quests Fix [Base Game Only]

If you liked this item, please rate it up on Steam Workshop page.

Author: Ryoga

Last revision: 10 Nov, 2024 at 18:38 UTC

File size: 24.99 KB

On Steam Workshop

Description:
WARNING: This mod only works with the base game only. Do not use it with the Rising Tide DLC.

This mod fixes several problems that afflict various affinity quests and the whole quest system itself.

Here’s a brief list:

-Familiar Exotics Chapter 2 (The required building can now be built on any city.)
-An Elemental Fate (Xenomass now respawns at the end of the Harmony path.)
-Cultural Burden (There was a bug when all 8 sponsors are present, which was fixed by Firaxis later in a very drastic way. With this mod it works like the Firaxis fixed version when all the 8 sponsors are present and it works like the old version when there are 7 or less.)
-Point of no Return Null (Fixed a critical bug that prevented the script from working due to incorrect coding.)
-Acclimation (Fixed the "city must be near canyon" check.)
-Pure Advantage (Fixed a critical bug that prevented the script from working due to incorrect coding.)
-Civil Skies (Fixed a bug that prevented the founded city from being recognized.)
-Written in Stone (Fixed a bug that caused the quest to instantly fail.)
-AffinityQuestManager.lua (Fixed a line that caused the code to check quest eligibility in the wrong place. Fixed a critical issue that prevented quests from being assigned to human players.)

QUEST FOR AI ONLY

This is an optional feature. By default AI cannot get affinity quests, and even if they get them, they can’t complete them.
This means that by re-enabling them with this mod, AI get severely disadvantaged. On the other hand without this mod as long as there is even one AI in the game, human players will only get a few basic quests before turn 100 (normal speed) and then NOTHING for the rest of the game; you’ll miss out on 18 quests (5 per each affinity, plus 3 general ones).

In order to fix this issue I have included in this mod the "Quest For AI Only", which is an affinity quest specifically designed for AI and their not so smart behavior. Basically AI will be rewarded for the praiseworthy achievement of not getting themselves killed before a certain amount of turns.

Now by default this mod assigns to AI a custom quest that I created called "Quest For AI Only". However the quest will never be completed. If you think that AI should be allowed to complete it, then you need to change the value of the tag "IgnoredByAI" from "true" to "false". You can see a detailed explanation on how to do that by looking at the picture attached.

Upon completion AI will be rewarded with affinity points (same as the human player) plus one among many different yields (science, culture, energy, food, production, etc) which mirror the same rewards that the human player normally gets. Moreover once AI reach level 4 or more in their dominant affinity, the quest will reward them by spawning a related affinity resource with 6 units near their capital (regular quests for the human player may give something like that so it’s fair), and if they don’t have titanium, they get 4 units for free.