Skip to main content

A typo in ‘Civilization VI’ game code can ‘yeild’ some strange A.I. behavior

Civilization VI review
Image used with permission by copyright holder

If you’ve noticed that the priorities of your A.I. opponents in Civilization VI seem to be a little off, you’re not alone. Straight White Shark, a modder on the Something Awful forums, seems to have been the first to discover a typographical error in the game file that governs the default behaviors of the game’s various leaders.

via @Hentzau, it appears that Civilisation VI's AI was completely broken on release because of… a typo. pic.twitter.com/RufPrcjzQX

— mike cook #notGDC (@mtrc) March 14, 2018

This appears to be the only place where “YIELD” is misspelled, meaning that these priorities are not used by the A.I. As you can see, the programmers meant for the A.I. leaders to emphasize production, followed by gold, science, and culture, with faith as the lowest priority.

The typo means these priorities are never implemented, so faith gets treated with the same importance as production.

How something like this could have survived thousands of hours of testing and evaluation is a mystery, especially for such a high-profile title as Civilization VI. It’s not clear if these errors were in the original release version of the game, or if they’re the result of a recent update.

Shark and others have verified that correcting the code does make a difference in A.I. behavior. PC Gamer used multiple tests to evaluate the differences. When running identical Autoplay games, for example, Pedro II of Brazil produced far less faith over a 100-turn span when using the corrected code.

Firaxis has responded with a statement to PC Gamer, confirming that the errors were not intentional, and they would be corrected:

“We’re aware of a community-reported bug that has a minor impact on AI behavior. We’ve also made sure that everyone knows that I goes before E except after C … or other weird exceptions,” the developer said. “Thanks to all who helped bring this to our attention and there will be a fix included in our next update.”

If you don’t want to wait for the update, there’s also a mod on the Steam Workshop that corrects the priorities.

Spelling errors aside, we found Civilization VI to be one of the best games of 2016. Expanding on the best features of Civ V, it adds new features and systems that integrate flawlessly with the Civ experience you’ve grown to love. If you’re just getting started, we’ve got some hints and tips for you here, and if you grabbed the recent Rise & Fall expansion you won’t want to miss our strategy summary.

Editors' Recommendations

Mark Austin
Former Digital Trends Contributor
Mark’s first encounter with high-tech was a TRS-80. He spent 20 years working for Nintendo and Xbox as a writer and…
How to buy and customize ships in Sea of Thieves
The name King of Red Lions floats above a red, customized ship in Sea of Thieves.

The newest season of Sea of Thieves is here to take you back to your favorite swashbuckling adventure world. And whether that means you're checking out the series for the first time or you're having trouble remembering everything from the last time you played, you're probably aware that you'll need a ship to find a transport your booty around. Here's how to get a ship in Sea of Thieves as well as customize it to your liking.

Read more
Quick! This PS5 bundle just got an unprecedented price cut
The Playstation 5 system standing upright.

We didn't expect the PlayStation 5 Slim, the updated version of Sony's video game console, to go on sale this soon, but you can already get the PlayStation 5 Slim Marvel's Spider-Man 2 bundle from Amazon with a 20% discount. From its original price of $559, you'll only have to pay $449, which is a fantastic price for this gaming machine. PS5 deals always attract a lot of attention, so we expect this offer to get sold out quickly. If you want to take advantage of it, you're going to have to hurry in completing your purchase.

Why you should buy the PlayStation 5 Slim Marvel's Spider-Man 2 bundle
The PlayStation 5 Slim is more than just a slimmed-down version of the original PlayStation 5 -- though the difference is noticeable with 18% less weight and 30% less volume for the disc version. There's no performance upgrade between the PS5 Slim and PS5, and you'll be able to play all of the PlayStation 5 games on either model, but the PS5 Slim comes with a 1TB of storage with around 842GB usable, compared to 825GB with 667GB usable in the original PS5. That's nearly 200GB of extra space for your installed games, save data, and screenshots.

Read more
How to change your Steam username
Steam library.

Unless you've got an absolute premium username or have too many linked accounts to name, there's no reason to stick with the same username forever. Unlike some services that offer limited username changes or charge to change your tag, Steam allows users to adjust their usernames at any time.

You don't have to keep that awful username you picked on some random Tuesday before hopping into a game. Here's how you can make a change.

Read more