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_food
def _get_value_from_countrydata(self, cd: datamodel.CountryData): if _override_visibility(cd) or cd.show_economic_info(): return cd.net_food