Sorry, but you are wrong about Exam:
This code checks each specialist and if current value is greater than saved max value then they are swapped. There's no code for adding two specs. Even Notification do not display this case. Not so sneaky :/ Some tweak is needed.
Ok, Tophet should be redone as you said. Easier to code. I will do the changes soon.
Sachem will have such values. I'm concerned why faith do not appear. It should. There's value in table already (instead of ally it is now put into friend).
Code:
for _, spec in ipairs(tGPs) do
local iGPProgress = pCity:GetSpecialistGreatPersonProgressTimes100(spec.GPType)
if iGPProgress > iGPMax then
iGPMax = iGPProgress
tBestGP = spec
end
end
pCity:ChangeSpecialistGreatPersonProgressTimes100(tBestGP.GPType, iGPP * 100)
Ok, Tophet should be redone as you said. Easier to code. I will do the changes soon.
Sachem will have such values. I'm concerned why faith do not appear. It should. There's value in table already (instead of ally it is now put into friend).