home · contact · privacy
Extend sitting message with info about weariness mechanic.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 16 Dec 2020 21:21:26 +0000 (22:21 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 16 Dec 2020 21:21:26 +0000 (22:21 +0100)
plomrogue/tasks.py

index 6ee273164f19dd33422c99c21d708f71cab21dc8..5449c0c2eda8dd27e980a2c4b6f28da68e8e1952 100644 (file)
@@ -67,7 +67,8 @@ class Task_MOVE(Task):
             terrain_type = self.thing.game.terrains[terrain]
             if 'sittable' in terrain_type.tags:
                 self.thing.standing = False
             terrain_type = self.thing.game.terrains[terrain]
             if 'sittable' in terrain_type.tags:
                 self.thing.standing = False
-                self.thing.send_msg('CHAT "You sink into the %s."'
+                self.thing.send_msg('CHAT "You sink into the %s.'
+                                    'Staying here will reduce your weariness."'
                                     % terrain_type.description)
         self.thing.invalidate('fov')
         if self.thing.blocks_light:
                                     % terrain_type.description)
         self.thing.invalidate('fov')
         if self.thing.blocks_light: