mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 14:57:58 +07:00
Split off properties of era's to another JSON file (#4336)
* Added Era.json and imported the data to the ruleset * Units at start are now also determined by eras.json * Research agreement costs now determined by json file * Gold and Culture provided at the start are now awarded * Can no longer build wonders that are more than two eras older than the starting era * Default population and buildings for settlers can now be added * Added checks for validity of eras.json file in mods * Colors for the icons of technologies are no also saved in eras.json * Removed constants for all era's as they have been generalized away by this PR * Removed spurios println's * Added compatibility for mods * Updated the military unit you get from ruines to be the military unit you received at the start of the game
This commit is contained in:
@ -8,6 +8,7 @@ object Constants {
|
||||
//
|
||||
const val settler = "Settler"
|
||||
const val settlerUnique = "Founds a new city"
|
||||
const val eraSpecificUnit = "Era Starting Unit"
|
||||
|
||||
const val impassable = "Impassable"
|
||||
const val ocean = "Ocean"
|
||||
@ -71,14 +72,6 @@ object Constants {
|
||||
const val disabled = "disabled"
|
||||
const val enabled = "enabled"
|
||||
|
||||
const val ancientEra = "Ancient era"
|
||||
const val classicalEra = "Classical era"
|
||||
const val medievalEra = "Medieval era"
|
||||
const val renaissanceEra = "Renaissance era"
|
||||
const val industrialEra = "Industrial era"
|
||||
const val modernEra = "Modern era"
|
||||
const val informationEra = "Information era"
|
||||
const val futureEra = "Future era"
|
||||
const val barbarians = "Barbarians"
|
||||
const val spectator = "Spectator"
|
||||
const val custom = "Custom"
|
||||
|
Reference in New Issue
Block a user