Removed useless code
This commit is contained in:
parent
223c20e792
commit
b3df257103
|
@ -21,15 +21,11 @@ class StatsDisplay(Display):
|
|||
.format(self.player.level, self.player.current_xp,
|
||||
self.player.max_xp, self.player.health,
|
||||
self.player.maxhealth)
|
||||
for _ in range(self.width - len(string2) - 1):
|
||||
string2 = string2 + " "
|
||||
self.pad.addstr(0, 0, string2)
|
||||
string3 = "STR {}\nINT {}\nCHR {}\nDEX {}\nCON {}"\
|
||||
.format(self.player.strength,
|
||||
self.player.intelligence, self.player.charisma,
|
||||
self.player.dexterity, self.player.constitution)
|
||||
for _ in range(self.width - len(string3) - 1):
|
||||
string3 = string3 + " "
|
||||
self.pad.addstr(3, 0, string3)
|
||||
|
||||
inventory_str = "Inventaire : " + "".join(
|
||||
|
|
Loading…
Reference in New Issue