Commit Graph

2474 Commits

Author SHA1 Message Date
c0a9690d2a Finished Rationalism tree! 2020-07-30 22:39:52 +03:00
0eaad31ce1 Getting used to multi-param placeholders ;) 2020-07-30 22:26:15 +03:00
362ca7c1e3 More policy conversions, only 3 trees left! 2020-07-30 22:07:05 +03:00
0444a28657 Policy transformation 2020-07-30 19:56:43 +03:00
654a355666 Resolved #2907 - University unique registers properly 2020-07-30 19:15:11 +03:00
8dfc147bb1 Added civ-wide per-building stat bonus 2020-07-30 19:05:07 +03:00
ca58bb22ac 3.9.16 2020-07-30 13:37:28 +03:00
406959c771 Resolved #3901 - nuclear weapon setting remains between games 2020-07-29 23:33:30 +03:00
97def95817 Can now handle multiple civ-wide uniques of the same type! 2020-07-28 19:56:57 +03:00
f583c04d38 Game can now handle modded unique buildings that don't replace anything existing 2020-07-28 19:37:30 +03:00
5fbfa637f2 All improvement placing units are automated in the same way - this allows for the AI to control modded units that place other improvements! 2020-07-28 19:26:02 +03:00
9d2cc90ccd Railroad connection propagates correctly over harbor connections 2020-07-28 09:27:37 +03:00
b816d1036d Resolved #2894 - Map editor button only opens popup once 2020-07-27 19:53:50 +03:00
f18f6d4a29 3.9.15 2020-07-26 22:07:50 +03:00
94c4b27838 Fix bug when city states gets all techs from spectators (#2881) 2020-07-25 23:08:19 +03:00
5a97a9be3b Removed confusin extra lines in the diplomacy overview 2020-07-25 23:07:50 +03:00
4758beffa6 More policy conversions 2020-07-25 23:03:21 +03:00
627283b10b Converted policies up to Collective Rule 2020-07-25 22:36:15 +03:00
a5f7aee1ea Upgradable units show the final unit they're upgrading to in the Overview screen 2020-07-25 22:03:45 +03:00
e7639c93c4 Step 2 - started POC breakdown of policy effects to constituent uniques
This will allow mix&matching of policy effects, AND allow them to be used as building uniques as well!
2020-07-24 18:18:17 +03:00
937a832b2c Step 1 of merging unique powers - civInfo.hasUnique treats building and policy uniques equally 2020-07-24 18:03:53 +03:00
bf874fe749 [stat] from [terrain] tiles applied to all existing buildings 2020-07-24 17:56:59 +03:00
066dd615b4 Created stat parameter parsing and translation!
Genericified "[stats] from [terrain] tile" building unique
2020-07-24 17:47:55 +03:00
56052884f1 Resolved #2838 - cities in resistance can no longer be traded 2020-07-24 11:55:10 +03:00
d7bac9ed3e Genericified 'free [unit] appears] 2020-07-24 00:34:39 +03:00
548e107504 Generic "must be next to []" unique for buildings 2020-07-24 00:23:42 +03:00
2e024c67e0 Greatly improved performance of worker's automated city connecting 2020-07-24 00:08:05 +03:00
c50c490a63 Resolved #2853 - Sped up loading of all saved games 2020-07-23 14:38:36 +03:00
0f70726c10 Spectator can view other civ stats: Tech, Trades, Cities, Units, Gold (#2877)
* Select units/cities in spectator mode

* Can enter EmpireOverviewScreen in spectator mode

* keep selectedCiv after nextTurn

* Add current civilization Label and Icon

* Clickable Civilization label

* Victory screen and next turn update
2020-07-23 14:27:39 +03:00
b5a4591955 Resovled #2852 - can no longer make peace with a city state while at war with its ally 2020-07-23 14:24:50 +03:00
3f44e1c519 Resolved #2864 - Locks on tiles are removed when the tile is no longer under your control 2020-07-23 14:17:41 +03:00
1a558a70d2 Buildings that are missing resources are still displayed in city constructions 2020-07-23 12:54:26 +03:00
7d360e5fa1 Skip spectator turn in multiplayer games (#2873) 2020-07-22 10:43:03 +03:00
1c613ac274 Remove unnecessary try catch block. (#2869) 2020-07-22 06:29:12 +03:00
aa2f9726ac Unit 'unbuildable' parameter converted to unique 2020-07-20 23:36:54 +03:00
22e5f30b64 3.9.13 2020-07-20 23:25:12 +03:00
d8b84db3a6 Removed extraneous (for now) G&K files 2020-07-20 23:03:00 +03:00
e0dcf25e23 More placeholder regex replacements 2020-07-20 00:21:17 +03:00
ceb456acab Simplified translation file writing by treating all placeholders with a single number in the same way 2020-07-20 00:16:51 +03:00
95e1e8279d Created parameter-extracting functions for placeholder texts! 2020-07-20 00:04:21 +03:00
00983dd00e Spectators can enter and view other player cities (#2856)
* Spectators can enter and view other player cities

* Spectators not shown on diplomacy screen

* master merge fix

* Spectators can enter and view other player cities

* Spectators not shown on diplomacy screen

* Fix barbarians spawn in spectator mode

* small post fixes

* remove excessive spectator check

* Remove spectators from diplomacy screen

* Spectators cannot reallocate specialists in cities

* Refactor using canChangeState value for CityScreen and WorldScreen.

* Continue refactor using canChangeState value
2020-07-19 13:35:38 +03:00
bd422fdb16 Fix map editor gameparameters layout (#2860) 2020-07-19 00:00:04 +03:00
77d741040d Worker unique is now moddable to other units 2020-07-17 15:47:49 +03:00
c402d63a68 3.9.12 2020-07-16 23:15:23 +03:00
59f6e10511 some bug fix (#2817)
* Scout won't be built when research "Scientific Theory". Fix the word "Can only build water units in coastal cities".

* Fix the bugs when you delete all maps close button disappears and you can't go to main menu.

* Basictests don't check that Scout can't upgrade.

* If the unit is obsolete it will remove from construction queue.
2020-07-16 22:22:47 +03:00
e74f7608d1 transfer simulateUntilWin from UncivGame to GameInfo class. (#2849)
* transfer simulateUntilWin from UncivGame to GameInfo class.

* update tests

* Update description comments
2020-07-16 13:52:39 +03:00
6309bc2fba Main menu buttons no longer require scrolling 2020-07-15 21:52:42 +03:00
a0daa6be4c Add mod compatibility for extended map editor (#2840)
* Add mod compatibility for extended map editor

* fix crashes when loading scenario with mods enabled

* update imagegetter ruleset when loading scenario

* reload ruleset on new scenrio

* Fixed crash when units/improvements from the missing mods present in the map editor.

* removeMissingModReferences - better name
2020-07-14 18:17:37 +03:00
e179f1a472 Added Water Mill building 2020-07-13 22:42:30 +03:00
f57533bc48 3.9.11 2020-07-13 21:45:52 +03:00