Ejemplo n.º 1
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_tech_info():
         return (
             cd.net_physics_research
             + cd.net_society_research
             + cd.net_engineering_research
         )
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if (not cd.country.is_other_player
             and config.CONFIG.show_everything) or cd.show_geography_info():
         return cd.victory_rank
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if (not cd.country.is_other_player
             and config.CONFIG.show_everything) or cd.show_military_info():
         return cd.military_power
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if (not cd.country.is_other_player
             and config.CONFIG.show_everything) or cd.show_tech_info():
         return (cd.net_physics_research + cd.net_society_research +
                 cd.net_engineering_research)
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if (not cd.country.is_other_player
             and config.CONFIG.show_everything) or cd.show_tech_info():
         return cd.exploration_progress
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if (not cd.country.is_other_player
             and config.CONFIG.show_everything) or cd.show_economic_info():
         return cd.net_consumer_goods
Ejemplo n.º 7
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_geography_info():
         return cd.victory_rank
Ejemplo n.º 8
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_military_info():
         return cd.military_power
Ejemplo n.º 9
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_tech_info():
         return cd.exploration_progress
Ejemplo n.º 10
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_economic_info():
         return cd.net_food
Ejemplo n.º 11
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_geography_info():
         return cd.controlled_systems