RAF 1.0.0.220 Typos - Default Yield Bias ("YEILD_")

Baradar67

Chieftain
Joined
Jun 5, 2011
Messages
25
Not sure if anyone cares or if this even affects the game, just noticed it as I was starting to learn about modding.

Yield spelled incorrectly, no other references to it but plenty to the correctly spelled Items, YIELD_GOLD, etc.

\steamapps\common\Sid Meier's Civilization VI\Base\Assets\Gameplay\Data

Leaders.xml
<Row ListType="DefaultYieldBias" Item="YEILD_PRODUCTION" Value="25"/>
<Row ListType="DefaultYieldBias" Item="YEILD_SCIENCE" Value="10"/>
<Row ListType="DefaultYieldBias" Item="YEILD_CULTURE" Value="10"/>
<Row ListType="DefaultYieldBias" Item="YEILD_GOLD" Value="20"/>
<Row ListType="DefaultYieldBias" Item="YEILD_FAITH" Value="-25"/>

Could it affect how Leaders go about working plots?
 
In the file Leaders.xml, there are several settings for DefaultYieldBias which give the AI's base weighting for various yields.

Unfortunately, these values are misspelled as YEILD_PRODUCTION, YEILD_GOLD, and so on... so they don't actually do anything. There are other conditional modifiers elsewhere that seem to work (for example, Gilgamesh has a favor bias towards YIELD_SCIENCE, various agendas bias AI civs towards specific yields, etc.)

Notably, the settings here are supposed to give the AI a moderate preference towards production and against faith. Which explains why the AI seems to usually have way too many holy sites and not enough useful buildings: the database values that are supposed to tell it not to do that so much don't work. Correcting these values to give the AI more sensible priorities results in somewhat more competent AI play, as expected.
 
Funny how no one was interested in this, I was looking at another thread on a different website, I got the perception that this only affects which tiles the AI chooses to work? The AI also has build biases which is why I think this applies to tiles.
 
I should have done more work on this, glad someone picked it up and did some testing. Now how do we get firaxis to sort it out? Worth asking for it to be added to AI+ for the time being?
 
For anyone interested, Šailor Cat has uploaded a mod to the workshop for it (although I'm guessing a lot of cf peepz would know how to do it themselves).
 
Back
Top Bottom