home · contact · privacy
Fix outdated consumption error message.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 14 Dec 2020 21:20:07 +0000 (22:20 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 14 Dec 2020 21:20:07 +0000 (22:20 +0100)
plomrogue/tasks.py

index 98609da7232b2bb3ead257f1585f972e59ceee1b..ca6d4ab99d0922501e767605334c01160415d1ad 100644 (file)
@@ -183,7 +183,7 @@ class Task_INTOXICATE(Task):
 
     def check(self):
         if self.thing.carrying is None:
-            raise PlayError('carrying nothing to drink from')
+            raise PlayError('carrying nothing to consume')
         if self.thing.carrying.type_ not in {'Bottle', 'Cookie'}:
             raise PlayError('cannot consume this kind of thing')
         if self.thing.carrying.type_ == 'Bottle' and\