- def _update_toolbar(self):
- text = "Turnip Stocks: Seeds: %d. Planted: %d. Harvested: %d" % (
- self._seeds, len(self._turnips), self._harvested)
+ def _update_toolbar(self, gamestate):
+ text = ("Turnip Stocks: Seeds: %d. Planted: %d. "
+ "Harvested: %d. Destroyed: %d" %
+ (self._seeds, len(self._turnips),
+ self._harvested, gamestate.eaten))