def icon(self):
     """The URL of an icon representing the produced item."""
     return icons.get_icon_for_item(self.name)
 def production_machine_icon(self):
     if self._producer is None:
         return None
     return icons.get_icon_for_item(self._producer.name)