Commit graph

637 commits

Author SHA1 Message Date
Yair Morgenstern
1cba56c947 Tutorials shown are now per-device (in the game settings) rather than per-game
Game settings are now saved as a proper class, found how to ignore unknown properties in json! =)
2018-07-26 13:15:38 +03:00
Yair Morgenstern
efef41541c Razed cities do not grow 2018-07-25 23:05:21 +03:00
Yair Morgenstern
06c68302ce Added difficulty settings! 2018-07-25 22:56:25 +03:00
Yair Morgenstern
7af1a89913 You can no longer see city connection status of enemy cities 2018-07-24 18:25:36 +03:00
Yair Morgenstern
b4614fc1f5 Railroad now looks like a railroad and visible on tundra 2018-07-24 18:22:39 +03:00
Yair Morgenstern
18a8f9f0d5 Fixed bug where units on hills thought they could attack further away units 2018-07-23 20:04:33 +03:00
Yair Morgenstern
a3eda1fd52 Fixed bug that caused barbarians to not do anything 2018-07-20 16:04:38 +03:00
Yair Morgenstern
b1f14761ad Merge branch 'master' of https://github.com/yairm210/UnCiv 2018-07-20 15:58:38 +03:00
Yair Morgenstern
9c23c8f551 Civs start at least 3 tiles away from edge of board 2018-07-20 15:58:03 +03:00
Yair Morgenstern
a33a161fdb Unique units can now be upgraded to (e.g. archer to longbowman) - Thanks Am-per-sand! 2018-07-20 15:57:44 +03:00
Am-per-Sand
b653829547 units.json commas
easy to find with syntax highlighting
2018-07-20 15:56:57 +03:00
Am-per-Sand
eb63ae4c5d Policies.json commas
Credits to github syntax highlighting
2018-07-20 15:56:26 +03:00
Yair Morgenstern
ea20201c1b Renamed Unit to BaseUnit so it wouldn't conflict with Kotlin's Unit cllass 2018-07-20 12:13:37 +03:00
Yair Morgenstern
0d261e88bf Added list of units to empire overview 2018-07-19 13:29:52 +03:00
Yair Morgenstern
d8ac537535 Cut down saved game size when copying text to the clipboard by 85% using gzip 2018-07-18 23:13:58 +03:00
Yair Morgenstern
a2530b5480 Player no longer always starts in the middle of the map 2018-07-18 18:45:37 +03:00
Yair Morgenstern
606a375467 World screen centers on capital instead of zero position 2018-07-18 18:41:15 +03:00
Yair Morgenstern
e6a95452b4 If a unit's upgrade is obsolete, then we try to upgrade to the next non-obsolete unit in line in the upgrade succession tree 2018-07-18 17:58:38 +03:00
Yair Morgenstern
a86460b345 Ranged units cannot indirect attack (e.g. if a hill is in the way) 2018-07-18 17:52:13 +03:00
Yair Morgenstern
5ee0c47e22 If a unit can be promoted twice, the promotion picker remains open after you pick the first promotion 2018-07-18 13:26:29 +03:00
Yair Morgenstern
23a9886de7 Expanded unit civilopedia description 2018-07-17 23:14:58 +03:00
Yair Morgenstern
12c925f79c Apollo program status correctly displayed in victory screen - you can now actually win a scientific victory! 2018-07-17 23:07:17 +03:00
Yair Morgenstern
b5d198adcd AI examines city construction each turn, in case there's something better to build 2018-07-17 23:05:55 +03:00
Yair Morgenstern
9e50051c61 When out of gold, units disband at a rate dependant on your deficit 2018-07-17 23:05:08 +03:00
Yair Morgenstern
5fed13eb76 Tiles with gold are now ranked higher if civ is in a bad financial situation 2018-07-17 13:13:23 +03:00
Yair Morgenstern
a7ddc07880 Changed city construction automation - should help the AI not constantly go broke 2018-07-17 12:53:43 +03:00
Yair Morgenstern
7ec95fefd9 No tile will now be in 2 cities simultaneously
Cities can't "take over" tiles neighboring to a city
2018-07-16 23:50:35 +03:00
Yair Morgenstern
bc404d9b17 Fixed bug that preclude building spaceship parts 2018-07-16 19:57:27 +03:00
Yair Morgenstern
e40bc91156 City cannot starve below 0 population
Starvation notifications when a city generates negative food, not only when population decreases
2018-07-16 18:31:32 +03:00
Yair Morgenstern
2cd3347cec Barbarians will not spawn in tiles that any civilization can currently see 2018-07-16 12:36:33 +03:00
Yair Morgenstern
ce7cb2ce17 Tiles outside the 3rd ring of a city can no longer be "worked" in the screen (before they could be chosen but didn't provide yields) 2018-07-16 09:43:36 +03:00
Yair Morgenstern
43ef42be5f When removing a terrain (e.g. Forest) whose improvement depends on it (e.g. Lumber mill), the improvement is removed 2018-07-16 09:17:42 +03:00
Yair Morgenstern
6ca586c3b1 Can no longer accept "empty" trades 2018-07-16 09:16:53 +03:00
Yair Morgenstern
da3d749547 When unable to support units, they disband one by one instead of all at the same time 2018-07-15 19:51:27 +03:00
Yair Morgenstern
68781ed5f7 Units can only upgrade within your borders (thanks Noam!) 2018-07-13 17:28:08 +03:00
Yair Morgenstern
7e34d95707 After a civ loses enough resources to go "negative", trades relating to that resource are cancelled 2018-07-13 16:17:11 +03:00
Yair Morgenstern
d34a3cd1a2 After accepting a trade you cannot "accept" the same trade again 2018-07-13 16:13:36 +03:00
Yair Morgenstern
cfe231ee4e Barbarians no longer disband units for lack of gold 2018-07-13 16:10:45 +03:00
Yair Morgenstern
bfb53a1940 Updating happiness happens in a different thread so it doesn't impede the update() function 2018-07-12 19:17:58 +03:00
Yair Morgenstern
c05503bb86 Attacking with a unit disables its "move" command 2018-07-11 21:31:59 +03:00
Yair Morgenstern
3215e0eea9 Displayed happiness updated within the turn (thanks Am-Per-Sand!) 2018-07-11 21:25:23 +03:00
Yair Morgenstern
4196f72a20 Can no longer see enemy city construction progress, enemy city health of unviewed cities and improvement progress in unviewed tiles (thanks Am-Per-Sand!) 2018-07-11 19:20:03 +03:00
Yair Morgenstern
a1d358e9c8 You can now trade "gold per turn" 2018-07-11 19:13:59 +03:00
Yair Morgenstern
d385ebd10b XP and promotions are retained when upgrading units (thanks Noam!) 2018-07-11 19:10:18 +03:00
Yair Morgenstern
3425c117ff Automated workers will build camps on forest tiles where they can 2018-07-10 12:29:29 +03:00
Yair Morgenstern
f9ec46a376 Trades visually separated in overview screen 2018-07-10 09:07:36 +03:00
Yair Morgenstern
35b66316bc Camps are now buildable in forests without removing the forests (Thanks Noam!) 2018-07-10 09:04:45 +03:00
Yair Morgenstern
1b5f2a2e00 Free policies no longer increase future policy cost 2018-07-10 08:57:35 +03:00
Yair Morgenstern
73384ffb8c UI Bugfix - After conquering a city, unmoved city borders would stay the same color 2018-07-09 23:18:27 +03:00
Yair Morgenstern
949d64c53c Added tutorials for strategic and luxury resources 2018-07-09 22:51:50 +03:00