getResourceForQuest

private fun getResourceForQuest(challenger: CivilizationInfo): TileResource?

Returns a random resource to be connected to the challenger's trade route as a quest. The resource must be a ResourceType.Luxury or ResourceType.Strategic, must not be owned by the civInfo and the challenger, and must be viewable by the challenger; if none exists, it returns null.

Sources

jvm source
Link copied to clipboard