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