home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8eb9f
)
Only recommend sitting down if actually standing.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 17 Dec 2020 01:09:55 +0000
(
02:09
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 17 Dec 2020 01:09:55 +0000
(
02:09
+0100)
plomrogue/things.py
patch
|
blob
|
history
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index 1d9a4d021cc50425ae680584db3a570557fb1aa4..da995d311dd84b7a777f9c0cc28aae2f091be0d5 100644
(file)
--- 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."')