コード例 #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
         )
コード例 #2
0
 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
コード例 #3
0
 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
コード例 #4
0
 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)
コード例 #5
0
 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
コード例 #6
0
 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
コード例 #7
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_geography_info():
         return cd.victory_rank
コード例 #8
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_military_info():
         return cd.military_power
コード例 #9
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_tech_info():
         return cd.exploration_progress
コード例 #10
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_economic_info():
         return cd.net_food
コード例 #11
0
 def _get_value_from_countrydata(self, cd: datamodel.CountryData):
     if _override_visibility(cd) or cd.show_geography_info():
         return cd.controlled_systems