getCounteroffer
private fun getCounteroffer(civInfo: CivilizationInfo, tradeRequest: TradeRequest): TradeRequest?
Content copied to clipboard
Return
a TradeRequest with the same ourOffers as tradeRequest but with enough theirOffers added to make the deal acceptable. Will find a valid counteroffer if any exist, but is not guaranteed to find the best or closest one.
Sources
jvm source
Link copied to clipboard