More UniqueType unit tests and correct some broken uniques in JSON files (#6965)

* Add ruin reward unique check plus fix broken unique
This commit is contained in:
OptimizedForDensity
2022-05-29 10:08:15 -04:00
committed by GitHub
parent ea31bd164f
commit 09195d6b62
9 changed files with 101 additions and 29 deletions

View File

@ -24,8 +24,8 @@
{
"name": "Fertility Rites",
"type": "Pantheon",
"uniques": ["[+10]% growth [in this city]"]
// Preferably I would not have a cityFilter here, but doing so requires no additional implementation
"uniques": ["[+10]% growth [in this city]"]
// Preferably I would not have a cityFilter here, but doing so requires no additional implementation
},
{
"name": "God of Craftsman",
@ -201,7 +201,7 @@
"uniques": ["[+15]% growth [in this city] <when not at war>"]
},
///////////////////////////////////////// Founder beliefs //////////////////////////////////////////
{
"name": "Ceremonial Burial",
"type": "Founder",
@ -230,7 +230,7 @@
{
"name": "Peace Loving",
"type": "Founder",
"uniques": ["[+1 Happiness] for every [5] global followers [in non-enemy foreign cities]"]
"uniques": ["[+1 Happiness] from every [5] global followers [in non-enemy foreign cities]"]
},
{
"name": "Pilgrimage",
@ -240,12 +240,12 @@
{
"name": "Tithe",
"type": "Founder",
"uniques": ["[+1 Gold] for every [4] global followers [in all cities]"]
"uniques": ["[+1 Gold] from every [4] global followers [in all cities]"]
},
{
"name": "World Church",
"type": "Founder",
"uniques": ["[+1 Culture] for every [5] global followers [in foreign cities]"]
"uniques": ["[+1 Culture] from every [5] global followers [in foreign cities]"]
},
////////////////////////////////////// Enhancer beliefs ///////////////////////////////////////
@ -275,7 +275,7 @@
{
"name": "Messiah",
"type": "Enhancer",
"uniques": ["[+25]% Spread Religion Strength <for [Great Prophet] units>", "[-25]% Faith cost of generating Great Prophet equivalents", "[Faith] cost for [Great Prophet] units [-25]%"]
"uniques": ["[+25]% Spread Religion Strength <for [Great Prophet] units>", "[-25]% Faith cost of generating Great Prophet equivalents"]
},
{
"name": "Missionary Zeal",

View File

@ -53,7 +53,7 @@
{
"name": "find a crudely-drawn map",
"notification": "We have found a crudely-drawn map in the ruins!",
"uniques": ["From a randomly chosen tile [4] tiles away, reveal tiles up to [4] tiles away with [80]% chance"]
"uniques": ["From a randomly chosen tile [4] tiles away from the ruins, reveal tiles up to [4] tiles away with [80]% chance"]
},
{
"name": "discover holy symbols",
@ -67,4 +67,4 @@
"uniques": ["Hidden when religion is disabled", "Gain enough Faith for [33]% of a Great Prophet", "Hidden after generating a Great Prophet", "Hidden before founding a Pantheon", "Only available after [20] turns"],
"color": "#CDDDF4"
}
]
]

View File

@ -53,6 +53,6 @@
{
"name": "find a crudely-drawn map",
"notification": "We have found a crudely-drawn map in the ruins!",
"uniques": ["From a randomly chosen tile [4] tiles away, reveal tiles up to [4] tiles away with [80]% chance"]
"uniques": ["From a randomly chosen tile [4] tiles away from the ruins, reveal tiles up to [4] tiles away with [80]% chance"]
}
]
]