Project

General

Profile

Feature #644058

ai caravan: skip unknown cities

Added by Sveinung Kvilhaugsvik 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
AI
Target version:
Start date:
Due date:
% Done:

90%

Estimated time:

Description

Don't consider trade route revenue with a city the AI player haven't seen. This is an optimization, not the fix to an info leak to the AI player. The caravan evaluation will detect that the target city is at an unknown tile and abort.

(Maybe the Cheating AI could be given the "Reveal_Cities" effect if it should be able to consider establishing a trade route with a city on a tile it never has seen before.)

ai-caravan-skip-unknown-cities.patch (2.31 KB) ai-caravan-skip-unknown-cities.patch Sveinung Kvilhaugsvik, 2017-03-10 01:37 PM

History

#1 Updated by Marko Lindqvist 8 months ago

The fact the city is at known tile, does not prove the city itself is known. Also, you still don't make AI to consider destroyed cities it does not know to be destroyed. As you don't make limiting AI knowledge consistently, I would rather keep current feature that AI can use its omniscience to plan traderoute anywhere.

Also available in: Atom PDF