GGGuenni
fd177b1200
remove transient ( #3688 )
...
since it not only blocks serialization it also blocks deserialization
2021-03-12 13:43:14 +02:00
GGGuenni
d1df2fd128
Adding convert Function ( #3687 )
...
* Adding convert Function
* field = null to be safe
2021-03-12 12:20:55 +02:00
Yair Morgenstern
02cd1a2ef3
More multiple terrain feature changes
2021-03-11 23:09:05 +02:00
Yair Morgenstern
01877fee7c
Fixed Great Barrier Reef spawn rules
2021-03-11 22:17:59 +02:00
Yair Morgenstern
9eaf4f4826
Copy all terrain features on clone(), not just first
...
Use terrainFeatures in naturalWonderGenerator
2021-03-11 21:58:24 +02:00
Yair Morgenstern
c7e424d661
Merge branch 'master' of https://github.com/yairm210/Unciv
2021-03-11 21:58:19 +02:00
lishaoxia1985
b3a62f4b1a
Withdraw before melee is the same as original game ( #3674 )
2021-03-11 21:40:44 +02:00
Yair Morgenstern
972bf2ba1c
Resolved #3681 - translation fix, "in every city" -> "in all cities"
2021-03-11 21:08:48 +02:00
GGGuenni
1286fc1dff
Support for multiple terrain features Part 1 ( #3678 )
...
* Adding terrainFeatures ArrayList
* fixed existing save loses all terrainFeatures
2021-03-11 19:07:44 +02:00
Yair Morgenstern
7bb2c70245
Mods with no techs should work again
2021-03-10 20:27:37 +02:00
GGGuenni
7d3e2a4e78
Adding world wrap support to map editor ( #3667 )
...
* Adding world wrap support to MapEditor
* better readability
2021-03-08 22:19:55 +02:00
Yair Morgenstern
87c9729e52
Resolved #3663 - fixed settler automation bug
2021-03-08 22:05:59 +02:00
Yair Morgenstern
7eab616352
Added titles to mod management screen
2021-03-07 17:49:53 +02:00
Yair Morgenstern
011c1de102
Resolved #3635 - can remove natural wonders and roads/railroads in map editor
2021-03-07 11:41:09 +02:00
Yair Morgenstern
7ddcc58955
Can convert maps between different rulesets!
2021-03-07 10:02:19 +02:00
Yair Morgenstern
a654937ad3
ImageGetter.reload() is private, you should use ImageGetter.setRuleset() from outside
2021-03-07 10:01:51 +02:00
Yair Morgenstern
d15456baa8
Fixed hurry cost modifiers, and unit gold costs scaling according to game speed
2021-03-06 23:45:50 +02:00
Yair Morgenstern
43be37a3b8
Resolved #3651 - "Free great person" unique is compatible with techs even for Spectator
2021-03-06 23:10:48 +02:00
Yair Morgenstern
b9c6874a3f
Removed deprecated "kotlin-android-extensions" reference
2021-03-06 23:02:13 +02:00
Yair Morgenstern
3bdff7dec3
Merge branch 'temp'
2021-03-06 22:30:46 +02:00
Yair Morgenstern
fd207d55c6
Game can handle resources "disappearing" between versions (esp. for mods)
2021-03-06 22:30:29 +02:00
Yair Morgenstern
9cdba66fd5
Merge branch 'master' of https://github.com/yairm210/Unciv
2021-03-06 20:52:00 +02:00
Yair Morgenstern
d8093eb282
Resolved #3653 - Settler AI no longer aims for 'really far' tiles
2021-03-06 20:51:00 +02:00
GGGuenni
d161e8393e
Fixed wrapped tiles costing way to much gold ( #3648 )
2021-03-06 19:49:59 +02:00
lishaoxia1985
d290ca3d33
Update translation and Android studio to 4.1.2 ( #3642 )
2021-03-04 18:56:05 +02:00
GGGuenni
d3ae6d600c
World Wrap Fixes ( #3644 )
...
* Citys Screen gets unwrapped now
When a city got build on the worlds edge the city screen displayed a non wrapped world
* Fixed CityBorder getting shifted
when city gets build on on the world's edge
2021-03-04 18:54:39 +02:00
GGGuenni
0bf7c2e07e
Fixed rectangular maps center point ( #3646 )
2021-03-04 18:50:34 +02:00
Yair Morgenstern
eb47272d09
Tech info can display more than one revealed resource
2021-03-03 23:49:57 +02:00
Yair Morgenstern
87e0dedaf4
"Obsolete with [techName]" unique works with improvements
2021-03-03 23:49:31 +02:00
Yair Morgenstern
0f109e31a0
Resolved #3639 - City states that can't be connected by land no longer assign road connection quests
2021-03-03 22:43:07 +02:00
Yair Morgenstern
9e98fb5b59
Added World Wrap as a game setting, so bleeding edge users can test it
...
Can now create maps as World Wrap maps and play with them :)
2021-03-03 22:30:06 +02:00
GGGuenni
25db68fa2a
World wrap Part 2 ( #3609 )
...
* Changed map generation for hex maps
* Adding WorldWrap UI
* Is now compileable again
* Changed map gen for rec maps
well that was easy
* Units can now move and see across wrap
* well this is smarter
* World wrap checkbox commented ou
should be available only after everything has been merged
* simplify WW gen conditions
* reduced indentation
* Refactoring for better readablity
2021-03-03 12:54:49 +02:00
GGGuenni
9a7e637891
World Wrap Part 1 ( #3604 )
...
* Adding fake infinite scroll functionality
* improve scroll jump
* really smooth jump now
* World wrap has functionality now
This is not compileable on its own!
Needs branches WorldWrap-v1 and WorldWrap-v2 to be mergeable
* Mirror tiles rendering
* changed to run v2-alternative code
* Use generic type
* default worldWrap to false
* forward continousScrollingX as parameter
* added unit movement button for mirror tiles
* Add clickable tile layer
* Smooth wrap jump
* code a bit better to read
* Removed unnecessary overrides and catches
* mirrorTiles are stored in one HashMap now
instead of two seperate ones
2021-03-03 12:54:21 +02:00
lishaoxia1985
f65de81c21
Fix when Trade Gold = 0 it also shows in offer. ( #3637 )
2021-03-02 19:32:24 +02:00
Yair Morgenstern
639be3b01d
3.13.4
2021-03-01 21:05:53 +02:00
david.howard
12e3005294
[663] Allow unit rename on promote ( #3620 )
...
* Add nullable "instanceName" field to MapUnit to capture name for individual units
* Add "displayName" property to MapUnit which takes instanceName if set, name
otherwise
* Add dialog to PromotionPicker to allow setting instanceName of unit, if not
already set
2021-03-01 20:52:46 +02:00
Yair Morgenstern
a390df8b36
Merged save map functionality into load map screen - now map saving is more streamlined!
2021-02-28 23:56:09 +02:00
Yair Morgenstern
29360938c6
Added color to map buttons in map loading screen
2021-02-28 23:33:55 +02:00
Yair Morgenstern
be7fd4cb01
Resolved #3626 - can rename multiplayer games now.
...
Also organized multiplayer screens better.
2021-02-28 23:21:12 +02:00
Yair Morgenstern
97546a7499
Resolved #3622 - Can no longer try to send air units into unexplored tiles
2021-02-28 23:03:12 +02:00
Yair Morgenstern
7eeeee5212
Strength bonus from capital is now part of the Palace bonuses to make it moddable
2021-02-28 22:40:54 +02:00
Yair Morgenstern
32ca9884ce
3.13.3-patch2
...
Multiplayer auto-load working again
2021-02-28 00:10:05 +02:00
Yair Morgenstern
ed8d642036
3.13.3-patch1
2021-02-27 23:47:08 +02:00
Yair Morgenstern
d6e75c7ea2
Solved crash for badly defined mods like REKmod
2021-02-25 19:25:04 +02:00
Jack Rainy
ff05fa601d
Translations update ( #3618 )
...
* Translations update
* Minor changes to the translation
2021-02-25 19:01:58 +02:00
Yair Morgenstern
e464ba5328
Map generation parameters are moddable, allowing players to create custom terrains for map generation!
2021-02-24 20:34:01 +02:00
Yair Morgenstern
53c919eef9
Custom mods with no water or grassland can now work!
2021-02-24 20:02:25 +02:00
Yair Morgenstern
c9a96358da
Changed "Gold" resource to be called "Gold Ore" to not conflict with the yield type for translations - #2458
2021-02-23 20:05:00 +02:00
Yair Morgenstern
241aecb52f
Maps incompatible with ruleset no longer popup errors when generating a new map
2021-02-22 23:31:18 +02:00
Yair Morgenstern
4bd40125b0
All resource stats from buildings converted to building uniques
2021-02-22 23:00:48 +02:00