mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 07:17:50 +07:00

* AI Civs now are happy for good trades * Each gift point is worth 100 gold without inflation * Gifts can now be used as credit for future trades * Fixed giftAmount conversions * Fixed get inflation returning NAN when gpt is negative * diplomatic gifts are now rounded when checking trade acceptability * Changed gold gift scaling to account for relationship level * Fixed percent based value reduction * Added gold gifting functions to DiplomacyManager * Added tests * Declaring war removes gold gifts * Reversed trade evaluation * Added more tests for trading * Fixed who the gifts are given to * Added more comments * Added more tests and fixed stuff * Gifting does not occur with trade treaties * Renamed handleGoldGifted to GiftGold * Added two more tests * Improved comments * Liberating a civ no longer gives positive relations from open borders