Exemplo 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
Exemplo 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
Exemplo 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
Exemplo 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
Exemplo 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
Exemplo 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