Commit graph

1566 commits

Author SHA1 Message Date
Yair Morgenstern
07a8b97ed2 Open Borders is now only available with Civil Service, as per Civ V 2019-04-24 11:31:50 +03:00
Yair Morgenstern
c81c81fe8f Resolved #525 - Added Open Borders agreement 2019-04-24 10:19:47 +03:00
Yair Morgenstern
d902db0af0 Updated gradle wrapper 2019-04-24 09:47:33 +03:00
Duan Tao
21398c96a1 Building type check normalized. 2019-04-24 07:37:00 +03:00
Am-per-Sand
cb951da53e Fix negative turnsToNewPopulation while razing
missing bracket, sorry I will never compile any programmes in my life, I will never learn Kotlin and will have a happy life. I wrote it by hand in the textarea on github.com 😎
2019-04-23 23:13:48 +03:00
Am-per-Sand
42624f5bac Fix negative turnsToNewPopulation while razing
Now when razing, city's food storage is carried over from the stage when city's population was +1 larger and FoodToNextPopulation was respectively larger. If a player would like to stop razing, such city would spring up immediately growing next turn or further on. Another side effect is negative turnsToNewPopulation in the city screen.

The same surplus cut off could be done to production if a Great Engineer speeds wonder production the same way and if negative turnsToComplete is possible (but have not spotted this line yet).
2019-04-23 23:13:48 +03:00
Yair Morgenstern
0e8decfd07 AI won't propose peace for 10 turns after war has been declared 2019-04-23 18:34:20 +03:00
Yair Morgenstern
11db5524dd AI now waits a certain number of turns between offering the same trade again - 20 turns for luxury exchange, 5 turns for peace 2019-04-23 18:02:07 +03:00
Yair Morgenstern
5bb598fb6f AI now offers peace to the player - need to normalize its requests, since now it only offers gold so the offer is kind of flat if it doesn't have any. 2019-04-23 17:47:32 +03:00
Yair Morgenstern
5d8d7ca89b AI can now offer you trades - this is a big step towards proper diplomacy relations!
As of now they only offer luxury-to-luxury trades
2019-04-23 17:07:01 +03:00
lishaoxia1985
046fe1088f Update Tutorials_Simplified_Chinese.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
16d55577b2 Update Translations.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
ab915c408a Update Translations.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
9549be7d06 Update Translations.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
6ef95c37ff Update Translations.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
a182b32485 Update Tutorials_Simplified_Chinese.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
a89c0623ce Update Translations.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
57b8d9f3d9 Update Tutorials_Simplified_Chinese.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
d0984e12a9 Update Tutorials_Simplified_Chinese.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
f6c5532b14 Update Translations.json 2019-04-23 14:38:50 +03:00
lishaoxia1985
50224c71f6 Update Translations.json 2019-04-23 14:38:50 +03:00
Duan Tao
720b3546eb Fix national wonders 'building elsewhere' tip. 2019-04-23 14:37:52 +03:00
Yair Morgenstern
84cdac119d
Merge pull request #673 from Am-per-Sand/new-cossack-icon
New cossack icon
2019-04-22 14:39:25 +03:00
Am-per-Sand
4ff23b26ba
credit for Cossack 2019-04-22 12:34:25 +02:00
Am-per-Sand
c19be603f2 new Cossack icon 2019-04-22 12:33:23 +02:00
Yair Morgenstern
f954686dfd
Merge pull request #669 from lishaoxia1985/master
Update Translations.json
2019-04-22 09:17:16 +03:00
Yair Morgenstern
c766a9973f
Merge pull request #671 from ninjatao/fix_pillage
Fixed : Pillaging destroyed improvement even on land.
2019-04-22 09:08:54 +03:00
Duan Tao
bd3a0da2e6 Fixed : Pillaging destroyed improvement even on land. 2019-04-22 11:48:12 +08:00
Yair Morgenstern
0a6f4fbbac Merge branch 'master' of https://github.com/yairm210/UnCiv 2019-04-21 21:09:03 +03:00
Yair Morgenstern
c3da6a5112 Treaties are now correctly added and removed from both sides of the table together 2019-04-21 21:08:36 +03:00
lishaoxia1985
edcfe69732
Update Translations.json 2019-04-21 19:21:58 +08:00
Yair Morgenstern
30232564a2
Merge pull request #667 from lishaoxia1985/master
update some simplified chinese language
2019-04-21 08:33:28 +03:00
lishaoxia1985
4c52b639e5
Update Translations.json 2019-04-21 06:49:39 +08:00
lishaoxia1985
c845001097
Update Translations.json 2019-04-21 03:51:24 +08:00
Yair Morgenstern
cefd50ea57 Trade table logic greatly simplified, now all trade displays are dependent only on the current trade in the TradeLogic - this paves the way for "inserting" trades into the trade table, which is required for AI-offered trades! 2019-04-20 22:44:18 +03:00
Yair Morgenstern
ad9f22e88c
Merge pull request #665 from Am-per-Sand/patch-2
enable Sentry for water melee units
2019-04-20 21:22:35 +03:00
Yair Morgenstern
f8efee7c1c
Merge pull request #666 from Am-per-Sand/patch-3
Enable Piety when building Broadcast Tower
2019-04-20 21:17:56 +03:00
lishaoxia1985
dd48d4444f
Update Translations.json 2019-04-21 01:26:47 +08:00
Am-per-Sand
3afcd68a6b
Enable Piety when building Broadcast Tower
someone wrote [it should work for Broadcast Towers](https://forums.civfanatics.com/resources/social-policy-piety-vanilla.25659/#1) as well.
2019-04-20 18:50:53 +02:00
Am-per-Sand
630f86bbb3
enable Sentry for water melee units
There is contradictory information on units that can receive Sentry promotion, but this has been already enabled, so **adding missing prerequisites** so as water melee can get it as well as water ranged now.
2019-04-20 18:42:02 +02:00
Yair Morgenstern
1840793464
Merge pull request #661 from ninjatao/maptype_continents
Maptype continents
2019-04-19 16:45:51 +03:00
Duan Tao
c83a2ed73c Continents shape improved. 2019-04-19 19:03:40 +08:00
Duan Tao
babd29919a MapGen added type Continents. 2019-04-19 18:46:43 +08:00
Yair Morgenstern
4576056b9f Number of strategic resources now directly dependant on the number of settlable land tiles 2019-04-17 20:34:03 +03:00
Yair Morgenstern
9dabbb7946
Merge pull request #658 from ninjatao/AI_parameter
Adjust AI parameters.
2019-04-17 15:02:28 +03:00
Yair Morgenstern
54fc81fda7
Merge pull request #655 from Am-per-Sand/piety
Activate Piety bonus
2019-04-17 13:30:25 +03:00
Duan Tao
c6c3ba1e67 Adjust AI parameters. 2019-04-17 18:21:09 +08:00
Am-per-Sand
e3907e0fe1
forgot Broadcast Tower 2019-04-16 19:50:36 +02:00
Am-per-Sand
35a0dee32f
Activate Piety bonus
N.B.
The same condition may be found in `Building.kt`, so 
- may be add a function `isCultural`
or
- add a property `cultural:true` or even `type:[military, cultural, productive, financial, scientific, wonder]` to `Buildings.json` and get rid of `isWonder` there
2019-04-16 19:45:19 +02:00
Yair Morgenstern
010215bd10
Merge pull request #654 from Smashfanful/patch-97
Update Nations.json
2019-04-15 22:15:09 +03:00