def _get_fish_caught_text(self, fish_caught):
     all_fish_strings = []
     for fish in fish_caught:
         type_loc_string = LocalizationHelperTuning.get_object_name(
             fish.definition)
         value_loc_string = LocalizationHelperTuning.get_money(
             fish.current_value)
         weight_loc_string = fish.get_localized_weight()
         fish_data_text = self.fish_information_text(
             weight_loc_string, type_loc_string, value_loc_string)
         all_fish_strings.append(fish_data_text)
     final_fish_text = LocalizationHelperTuning.get_bulleted_list(
         self.fish_header_text(), *all_fish_strings)
     return final_fish_text
Ejemplo n.º 2
0
 def _get_display_text(self):
     return LocalizationHelperTuning.get_money(self._money)
Ejemplo n.º 3
0
 def _get_display_text(self, resolver=None):
     return LocalizationHelperTuning.get_money(self._awarded_money)