mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 06:51:30 -04:00
"[] from every []" can accomodate specialist names
This commit is contained in:
parent
ffd9d68bce
commit
6045e0d5a4
@ -611,7 +611,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Future Tech",
|
"name": "Future Tech",
|
||||||
"row": 5,
|
"row": 5,
|
||||||
"prerequisites": ["Nanotechnology","Particle Physics","Satellites"],
|
"prerequisites": ["Nanotechnology","Particle Physics"],
|
||||||
"uniques": ["Who knows what the future holds?", "Can be continually researched"],
|
"uniques": ["Who knows what the future holds?", "Can be continually researched"],
|
||||||
"quote": "'I think we agree, the past is over.' - George W. Bush"
|
"quote": "'I think we agree, the past is over.' - George W. Bush"
|
||||||
}
|
}
|
||||||
|
@ -241,6 +241,9 @@ class CityStats {
|
|||||||
val stats = specialist.clone()
|
val stats = specialist.clone()
|
||||||
for (unique in cityInfo.civInfo.getMatchingUniques("[] from every specialist"))
|
for (unique in cityInfo.civInfo.getMatchingUniques("[] from every specialist"))
|
||||||
stats.add(unique.stats)
|
stats.add(unique.stats)
|
||||||
|
for (unique in cityInfo.civInfo.getMatchingUniques("[] from every []"))
|
||||||
|
if (unique.params[1] == specialistName)
|
||||||
|
stats.add(unique.stats)
|
||||||
return stats
|
return stats
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user