How to show effects effecting empire meter

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
Ophiuchus
Programmer
Posts: 3433
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

How to show effects effecting empire meter

#1 Post by Ophiuchus »

I added an empire meter for the imperial supply yield, which I show in the tooltip of the overproduction warning (i.e. when you do not use all your industry PP).

How to show the effects resulting in the meter value?
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Look, ma... four combat bouts!

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: How to show effects effecting empire meter

#2 Post by Geoff the Medio »

Assuming you mean technically how to get that information, not how to display it: Effect accounting is, I think, only implemented for basic meters (not part meters) in universeobjects, and not for empire meters. So to show a breakdown of the effects that determine an empire meter's value on a given turn, you'd need to implement effect accounting for them.

Post Reply