- commit
- dd2c11768f94a09f078c5456e8a648dce1cd5eb5
- parent
- d90d4be24a7a51b884ed2b533f218c3c01810a82
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2021-05-09 08:26
rm player.weapon
Diffstat
| M | tighogg.py | 3 | +-- |
1 files changed, 1 insertions, 2 deletions
diff --git a/tighogg.py b/tighogg.py
@@ -62,7 +62,6 @@ class Player: 62 62 self.cycle_duration = 3 63 63 self.cycle_frame = 0 64 64 self.cooldown = -165 -1 self.weapon = '-'66 65 67 66 @property 68 67 def floor(self): @@ -160,7 +159,7 @@ class Player: 160 159 sys.stdout.write( 161 160 boon.get_cap('setaf', self.color) 162 161 + boon.get_cap('bold')163 -1 + line.strip().replace('w', self.weapon)-1 162 + line.strip() 164 163 + boon.get_cap('sgr0') 165 164 ) 166 165