This commit is contained in:
Yohann D'ANELLO 2020-12-11 18:17:08 +01:00
parent e7f24c2371
commit 45f420aaef
2 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@ class StoreInventoryDisplay(MenuDisplay):
rep = self.pack[item.name.upper()] rep = self.pack[item.name.upper()]
selection = f"[{rep}]" if i == self.menu.position else f" {rep} " selection = f"[{rep}]" if i == self.menu.position else f" {rep} "
self.addstr(self.pad, 2 + i, 0, selection self.addstr(self.pad, 2 + i, 0, selection
+ " " + item.translated_name.capitalize()\ + " " + item.translated_name.capitalize()
+ ": " + str(item.price) + " Hazels") + ": " + str(item.price) + " Hazels")
@property @property

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from random import choice, randint from random import choice, randint
from typing import Optional, Any from typing import Optional
from .player import Player from .player import Player
from ..interfaces import Entity, FightingEntity, Map, InventoryHolder from ..interfaces import Entity, FightingEntity, Map, InventoryHolder