mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 07:18:57 +07:00
Implementation of conditionals, but better than before (#5187)
* Implementation of conditionals, but better than before * Updated the unique while I was at it * Fixed bug where conditionals would never apply * Capitalization * Minor code cleaning * Better documentation & variable names * Changed translation strategy * Added missing import?
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
{
|
||||
"name": "Fertility Rites",
|
||||
"type": "Pantheon",
|
||||
"uniques": ["+[10]% Growth [in this city]"]
|
||||
"uniques": ["[+10]% growth [in this city]"]
|
||||
// Preferably I would not have a cityFilter here, but doing so requires no additional implementation
|
||||
},
|
||||
{
|
||||
@ -193,7 +193,7 @@
|
||||
{
|
||||
"name": "Swords into Ploughshares",
|
||||
"type": "Follower",
|
||||
"uniques": ["[+15]% growth [in this city] when not at war"]
|
||||
"uniques": ["[+15]% growth [in this city] <when not at war>"]
|
||||
},
|
||||
///////////////////////////////////////// Founder beliefs //////////////////////////////////////////
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Landed Elite",
|
||||
"uniques": ["+[10]% growth [in capital]", "[+2 Food] [in capital]"],
|
||||
"uniques": ["[+10]% growth [in capital]", "[+2 Food] [in capital]"],
|
||||
"requires": ["Legalism"],
|
||||
"row": 2,
|
||||
"column": 2
|
||||
@ -38,7 +38,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Tradition Complete",
|
||||
"uniques": ["+[15]% growth [in all cities]","Provides a [Aqueduct] in your first [4] cities for free"]
|
||||
"uniques": ["[+15]% growth [in all cities]","Provides a [Aqueduct] in your first [4] cities for free"]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Reference in New Issue
Block a user