minor change
This commit is contained in:
parent
9281c03d0c
commit
7ecccd26be
|
@ -31,7 +31,7 @@ Pour se diriger :
|
|||
- 5 : haut
|
||||
|
||||
Accéder aux statistiques :
|
||||
- 8
|
||||
- 7
|
||||
|
||||
Quitter le jeu :
|
||||
- 9
|
||||
|
@ -74,7 +74,7 @@ Par simplicité, j'utiliserai un dictionnaire par PnJ, vous faites bien comme vo
|
|||
|
||||
Concrètement, votre fonction va ressembler à :
|
||||
```
|
||||
def evenement(xp, carte_actuelle, x, y, stat):
|
||||
def evenements(xp, carte_actuelle, x, y, stat):
|
||||
coords = (x, y)
|
||||
|
||||
# Si on est en extérieur
|
||||
|
|
|
@ -140,7 +140,7 @@ class Asci:
|
|||
if key == 2 and cell_test == 1: self.data[3] += 1
|
||||
|
||||
# Stat
|
||||
if key == 8:
|
||||
if key == 7:
|
||||
self.screen.clear()
|
||||
self._game_stat(self.stat)
|
||||
input()
|
||||
|
@ -150,7 +150,7 @@ class Asci:
|
|||
self.screen.clear()
|
||||
|
||||
# /!\ TEST /!\ #
|
||||
if key == 7:
|
||||
if key == 8:
|
||||
print(self.data)
|
||||
input()
|
||||
# /!\ TEST /!\ #
|
||||
|
|
Loading…
Reference in New Issue