I had the impression this could be some "low hanging fruit", and had a rather long look into it.
Problem here is that the whole infrastructure around a tribe is not player sensitive, and the building types (class BuildingDescr) is part of this infrastructure.
There is no easy way to get this done. I don't say there is no way ;-)
It could be done rather hackish style if there would be a static way to get a current Player, but I guess there could be implications with spectator mode which I do not want to pursue ;-)
This topic applies not only to statistics window, but also to the editor and the encyclopedia..
I had the impression this could be some "low hanging fruit", and had a rather long look into it.
Problem here is that the whole infrastructure around a tribe is not player sensitive, and the building types (class BuildingDescr) is part of this infrastructure.
There is no easy way to get this done. I don't say there is no way ;-)
It could be done rather hackish style if there would be a static way to get a current Player, but I guess there could be implications with spectator mode which I do not want to pursue ;-)
This topic applies not only to statistics window, but also to the editor and the encyclopedia..