Commit Graph

2795 Commits

Author SHA1 Message Date
Yair Morgenstern
89751ca6ec 3.11.12 2020-11-14 22:55:19 +02:00
Yair Morgenstern
bf4216578a 3.11.12 2020-11-14 22:35:12 +02:00
Yair Morgenstern
fa887cf206 Spectator can handle free-policy-giving techs 2020-11-14 22:14:54 +02:00
Yair Morgenstern
96269c5c29 AI no longer nukes single units
Nuking is considered a declaration of war from the attacker, not the defender
2020-11-13 00:04:23 +02:00
Yair Morgenstern
62c42851ed Can right-click to attack when a unit is selected 2020-11-12 21:13:24 +02:00
Yair Morgenstern
961579fd3d City states can now conquer cities, as per Civ V 2020-11-12 19:41:48 +02:00
Yair Morgenstern
82fb9ee9fc Mods can now remove promotions between versions without breaking existing saves 2020-11-12 19:35:52 +02:00
Yair Morgenstern
d3aabfb669 Fixed archaeological dig being built by workers in Civ V expansion mod 2020-11-11 23:48:07 +02:00
Yair Morgenstern
582cbeb932 Fixed key shortcuts in improvement picker screen 2020-11-11 21:52:48 +02:00
Yair Morgenstern
e8e9c97c92 AI won't declare war if it doesn't know the location of any enemy city 2020-11-11 21:22:15 +02:00
Yair Morgenstern
9693bf0dd6 Resolved #3324 - Great Person units no longer require a military unit to accompany them if they're close enough to the destination 2020-11-09 21:45:58 +02:00
Yair Morgenstern
86c6624f8e Resolved #3326 - Settling a city removes the improvement in progress 2020-11-09 21:26:26 +02:00
Yair Morgenstern
5e116867e6 Resolved #3323 - improvement uniques are no longer added twice 2020-11-08 23:40:10 +02:00
Yair Morgenstern
e3fc967216 3.11.10-patch1 2020-11-08 23:39:05 +02:00
Yair Morgenstern
965b865422 Changed the tileGroup improvement image conparison from strings to lists, to save both time and (more importantly) string concating 2020-11-06 11:45:05 +02:00
Yair Morgenstern
4f344b65f8 We now remove resources and improvements that are not in the ruleset from the map when loading the game 2020-11-06 11:43:49 +02:00
Yair Morgenstern
1f1a2fe7bc Mod repositories where the main branch is not "master" are not shown in the UI, since we can't download them 2020-11-05 21:46:04 +02:00
Yair Morgenstern
4e0c88cc20 AI no longer tries to construct work boats that can't reach their intended destination 2020-11-05 20:02:02 +02:00
GGGuenni
d0dce25590
Fixed SetUserID (#3319)
SetUserID couldn't be used in main menu
2020-11-04 21:59:31 +02:00
Duan Tao
ff8221de2d
Diplomatic penalty of stealing lands decreases by time. (#3318) 2020-11-04 10:25:55 +02:00
Yair Morgenstern
65524cb7dd Removed exitEvent from the UncivGameParameters, since Gdx.app.exit() does the same thing :) 2020-11-04 00:09:11 +02:00
Yair Morgenstern
315a55f972 Resolved #3317 - mod management screen displays properly again
3.11.9-patch2
2020-11-03 23:23:02 +02:00
jnecus
b5c9fb79bf
FIx bug Carrier-based aircraft not healing (#3316)
With reference to issue #3307

I think that aircraft on aircraft carriers were being treated at land units at sea.

I have added the check to test whether they are being transported so that they should now heal whilst on aircraft carriers.
2020-11-03 20:10:54 +02:00
Yair Morgenstern
d240c12292 Merge branch 'master' of https://github.com/yairm210/Unciv 2020-11-03 19:17:34 +02:00
Yair Morgenstern
a92d35eba1 3.11.9-patch1
Fixed silly crash from test code that shouldn't have been there...
2020-11-03 19:16:51 +02:00
givehub99
23cab0d50c
Polynesia's unique "+[10]% Strength if within [2] tiles of a [Moai]" was not working correctly. The matchesUniqueFilter function didn't check for improvement on the tile. This was corrected and now Polynesia's unique works correctly. Any other improvement besides Moai will also work. (#3315) 2020-11-03 19:12:34 +02:00
Yair Morgenstern
f957dee357 Can no longer see other players' IDs in a multiplayer game through the new game screen
Moved the building mod check to all mods, not only ruleset mods
2020-11-02 23:00:45 +02:00
Yair Morgenstern
fb3048442c Added mod check for upgrading to a unit with no required tech 2020-11-02 22:21:54 +02:00
Yair Morgenstern
cea8bdf12c Added mod check for unit promotions 2020-11-02 22:02:22 +02:00
Yair Morgenstern
b495398c0e Tile editor can handle resources that don't naturally appear on any terrain 2020-11-02 21:49:42 +02:00
Yair Morgenstern
1568ce90da Updated to latest LibGDX 2020-11-02 21:48:43 +02:00
Yair Morgenstern
87b0af6c1c AI can no longer raze capital cities 2020-11-02 20:21:44 +02:00
Yair Morgenstern
da5935e5c8 Stats unique can no longer crash badly defined mods 2020-11-01 19:37:29 +02:00
givehub99
88ac6330dc
-"Unable to capture cities" unique prevents the unit from conquering/capturing a city. (#3309)
-Units with "All tiles costs 1" unique now spend all movement points when embarking.

Technically, in CIV 5, helicopters do not embark or spend all movement units when moving to water, if embarkation (Optics) isn't researched.

IMO, though, it is so unlikely that someone will have helicopters researched but not embarkation, that I don't think it is worth editing the code for this fringe case.
2020-10-30 10:01:27 +02:00
Yair Morgenstern
247350d6a1
Revert "-Terracotta Army, Alhambra, Hanse, Leaning Tower of Pisa, Neuschwanstein, and Hubble Space Telescope are no longer buildable or displayed in the pedia since they are not part of vanilla Civ 5. (#3300)" (#3301)
This reverts commit 49cdf09b44.
2020-10-27 00:22:02 +02:00
givehub99
49cdf09b44
-Terracotta Army, Alhambra, Hanse, Leaning Tower of Pisa, Neuschwanstein, and Hubble Space Telescope are no longer buildable or displayed in the pedia since they are not part of vanilla Civ 5. (#3300)
Their entries were kept in the json files so as to not break pre-existing save files.

-Units and buildings that are unbuildable are not shown in the pedia or tech picker as being unlockable by tech
2020-10-27 00:20:48 +02:00
Yair Morgenstern
b2c6cc59b7 All stat-based uniques are parsed EXACTLY once, for performance reasons and to avoid ANRs 2020-10-26 23:38:29 +02:00
Yair Morgenstern
a3bed178d0 Avoided another rare crash 2020-10-26 23:37:44 +02:00
Yair Morgenstern
250d7debb5 Avoided more badly-defined-mod crashes 2020-10-26 23:20:16 +02:00
givehub99
64fc57e6d2
Helicopter Gunship uniques (#3294)
* Preparation for Helicopter unit

-"All tiles costs 1" unique makes every tile cost 1. Used by Helicopter in CIV 5.

-"Can pass through impassable tiles" unique allows unit to pass through any tile. Used by Helicopter in CIV 5. Does not let units cross ocean if they couldn't already, just terrain that is considered "impassable"

-Mountains now do 50 damage to units that end turn on it. In civ 5 and its expansion this is what happens to any unit that is able to pass mountains.
This is "hard coded" for now. Also added the notification text to template.properties

* mountains do not give sight bonus when on them

* Revert "mountains do not give sight bonus when on them"

This reverts commit 83ad3df5d4.
2020-10-26 20:28:44 +02:00
Yair Morgenstern
3713923caf Added mods to crash report, many crashes are caused by incorrectly defined mods 2020-10-24 23:16:16 +03:00
Yair Morgenstern
895ed528af Resolved #3285 - added a notification when cities are no longer in resistance 2020-10-24 22:43:04 +03:00
Yair Morgenstern
93aa06bc99 terrain.occursOn is now an arrayList - helps with definition checking and generally simplifies things 2020-10-24 22:38:44 +03:00
Yair Morgenstern
c85b51474c Can no longer start a new game with an incorrectly defined mod! :) 2020-10-24 22:38:19 +03:00
Yair Morgenstern
2a82482d05 Fixed some more silly bugs caused by badly configured mods 2020-10-24 22:21:09 +03:00
Yair Morgenstern
02d2e29700 More tile configurations are enabled (e.g. "baseTile+resource+improvement") 2020-10-24 22:10:23 +03:00
Yair Morgenstern
a9660bba44 Player is informed if Unstable mods are added to a game - and it no longer crashes 2020-10-24 22:04:06 +03:00
Yair Morgenstern
b867e829a4 ResposePopup -> ToastPopup rename 2020-10-24 22:03:25 +03:00
Yair Morgenstern
8dde23aa38 3.11.6 2020-10-21 19:01:07 +03:00
Yair Morgenstern
c7e0b57a5d Changed all prebuilt font characters to single-char characters - this is in the vague hope that it will solve the Mystery of the Disappearing C's 2020-10-20 19:41:36 +03:00