Commit graph

1233 commits

Author SHA1 Message Date
Yair Morgenstern
45080744b7 Years of peace modifier no longer rises while at war (whoops!) 2019-06-13 13:23:54 +03:00
Yair Morgenstern
6618bed1ab AI now utilizes special constructions (Nothing, Gold, Science) when no better options are available 2019-06-13 13:19:23 +03:00
Yair Morgenstern
816196520e Culture-focused civs don't declare war
Chosen free great person is victory-type-dependant
2019-06-13 13:18:20 +03:00
Yair Morgenstern
ea5f649d87 Added global victory status to victory status screen, so you can see how bad the AI is at actually winning... -_- 2019-06-13 12:47:40 +03:00
Yair Morgenstern
29f2474b13 AI now chooses policies according to preferred victory type - should drastically ncrease the sucess chance of the AI to win a cultural victory! 2019-06-13 12:00:53 +03:00
Yair Morgenstern
dda38c5cd1 Better construction picking AI 2019-06-12 23:18:34 +03:00
Yair Morgenstern
e1884768fd Added priority to wonders by type 2019-06-12 22:34:39 +03:00
Yair Morgenstern
b7be0e7934 Each Civ now has a preferred victory type, and makes construction choices based on said type 2019-06-12 22:01:37 +03:00
Yair Morgenstern
3e770db86d Can now add and remove improvements in the map editor! 2019-06-10 18:36:25 +03:00
Yair Morgenstern
89f689bcc9 Performance improvements 2019-06-10 17:31:07 +03:00
Yair Morgenstern
bd0b61b909 AI tries to clear barbarian encampments with its idle military units 2019-06-10 17:30:37 +03:00
Yair Morgenstern
f8cf9392fb AIs demand of each other not to settle near them, and they respond accordingly 2019-06-10 16:44:06 +03:00
Yair Morgenstern
96ee91cb08 Added diplomatic reprecissions for demands that the other civs is unwilling to fulfil
Removed WeAgreedNotToSettleNearThem flag - was reverse copy of AgreedNotToSettleNearUs
2019-06-10 16:19:04 +03:00
Yair Morgenstern
d5a0894f75 Added diplomatic reprecissions for demands that the other civs is unwilling to fulfil
Removed WeAgreedNotToSettleNearThem flag - was reverse copy of AgreedNotToSettleNearUs
2019-06-10 16:18:59 +03:00
Yair Morgenstern
5ed9a5912b Resolved #856 - Cities created in your own territory get their own land and are no longer "ghost cities" 2019-06-09 23:15:03 +03:00
Yair Morgenstern
2a71d9e122 Resolved #866 - City-states can no longer get Ancient Ruin bonuses 2019-06-09 23:00:59 +03:00
Yair Morgenstern
84bcfe2d39 Added "Community" tab in the menu, with links to the Github and Discord 2019-06-07 15:55:48 +03:00
Yair Morgenstern
fc41de7a83 Unexplored tiles now dark gray - less oppresive in the main map and possible to tell apart from city-state areas in the minimap 2019-06-07 15:23:17 +03:00
Yair Morgenstern
f713d266db Implemented "Don't settle cities near us", which goes both ways - a good basis for further demands (#831) 2019-06-07 13:04:18 +03:00
Yair Morgenstern
99d7b0ea1a Fixed edge-case bug when units try to be created but aren't, and then get assigned an Alhambra promotion, triggering viewableTile update 2019-06-05 23:49:38 +03:00
Yair Morgenstern
e8bdb8a2e4 Added initial logic for promising not to settle cities near other civs - not yet activated 2019-06-05 23:21:17 +03:00
Yair Morgenstern
ab450808b2 Can no longer pass the turn when popups have not been dealt with 2019-06-05 23:18:03 +03:00
Yair Morgenstern
827a6f7871 Fixed bug where injured units would try to heal by pillaging barbarian encampments 2019-06-05 23:14:52 +03:00
Yair Morgenstern
5b884c0ecf Resolved #854 - promotion buttons show description also for non-pickable promotions 2019-06-04 22:45:43 +03:00
Yair Morgenstern
8c53244427 Don't try to pillage improvement to heal if you're a civilian unit 2019-06-04 22:35:17 +03:00
Yair Morgenstern
60f1859fdc Can now select all tile types n map editor, even on smaller resolutions 2019-06-03 22:17:23 +03:00
Yair Morgenstern
527288b886 Fixed crash in new diplomatic relations and unified DiplomacyManager.getModifier() 2019-06-03 22:06:35 +03:00
Yair Morgenstern
f49662b22e Resolved #836 - bug where ranged units could shoot above forests+jungles 2019-06-03 20:50:58 +03:00
Am-per-Sand
6f29fe9e76 include À ì in Fonts.kt
#428
2019-06-03 20:32:45 +03:00
Yair Morgenstern
09079bd76f Resolved #839 - Set up takes 1 movement point 2019-06-03 20:26:05 +03:00
Yair Morgenstern
cf37122304 Translation organization 2019-06-02 23:31:16 +03:00
Yair Morgenstern
0916720f86 Cannot declare friendship after denounce and vice versa 2019-06-02 19:47:49 +03:00
Yair Morgenstern
88422524ac Barbarian encampments don't show red on unexplored tiles 2019-06-01 23:42:30 +03:00
Yair Morgenstern
36da3359db Added denunceation 2019-06-01 23:20:02 +03:00
Yair Morgenstern
f60ebbb7e1 Civs clearing an encampment now get gold 2019-06-01 22:47:41 +03:00
Yair Morgenstern
8040cb01b9 Resolved #830 - city-states no longer offer trades 2019-06-01 22:27:38 +03:00
Yair Morgenstern
4b4f5e77b8 Resolved #646 - Barbarians now spawn from Encampments! 2019-05-31 17:36:19 +03:00
Yair Morgenstern
b068e6f88f Minor translation changes 2019-05-30 19:57:27 +03:00
Yair Morgenstern
16d8c16dfe Each unit now saves its viewable tiles, which gives in certain situations a whopping 10% performance improvement! Whoa! 2019-05-29 22:58:20 +03:00
Yair Morgenstern
b9cf40487f Performance improvements for Next Turn 2019-05-29 22:10:32 +03:00
Yair Morgenstern
d733df207f Fixed bug that prevented the "next turn" button from being pressed when the game didn't autosave,
meaning players who picked turns between autosaves manually were screwed
2019-05-29 21:44:42 +03:00
Yair Morgenstern
2060bcfa0a Resolved #821 - Civ-wide stats are now affected by percent bonuses 2019-05-29 21:12:10 +03:00
Yair Morgenstern
3fbcc019e3 There were somes things that were in the translations files but weren't translated in-game 2019-05-28 23:43:18 +03:00
Yair Morgenstern
d0cb10abbe Hopefully fixed a recurring bug in tryHeadTowardsEnemyCity 2019-05-28 23:13:08 +03:00
Yair Morgenstern
b6512535fb Fixed bug in GetProductionCost that was probably caused by the construction changing while the city button was rendering 2019-05-28 23:09:47 +03:00
Yair Morgenstern
2066978ca0 Legion no longer construct roads on water tiles - #811 2019-05-27 19:55:43 +03:00
Yair Morgenstern
a204333410 Added countdown to relationship change with city states 2019-05-26 18:52:32 +03:00
Yair Morgenstern
1bb62ad681 Civs respond according to neutral/hate and respond properly after peace 2019-05-26 18:32:19 +03:00
Yair Morgenstern
f78f9c2fad Resolved #803 - Heal Instantly didn't update health in unit icon 2019-05-26 16:16:42 +03:00
Yair Morgenstern
408dfcfc7e Final touches to City States, and they're ready to roll! 2019-05-26 16:10:09 +03:00