From: Christian Heller Date: Thu, 17 Dec 2020 01:09:55 +0000 (+0100) Subject: Only recommend sitting down if actually standing. X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2;a=commitdiff_plain;h=775f553a8cafe65a2b104b26478e89df085c1174 Only recommend sitting down if actually standing. --- diff --git a/plomrogue/things.py b/plomrogue/things.py index 1d9a4d0..da995d3 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -681,7 +681,7 @@ class Thing_Player(ThingAnimate): self.energy -= 1 else: self.energy += 1 - if self.energy < 0 and self.energy % 5 == 0: + if self.energy < 0 and self.standing and self.energy % 5 == 0: self.send_msg('CHAT "All that walking or standing uses up ' 'your energy, which makes you slower. Find a' ' place to sit or lie down to regain it."')