home · contact · privacy
Spawn Psychedelics, Stimulants from BottleDeposit too.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 20 Dec 2020 15:39:34 +0000 (16:39 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 20 Dec 2020 15:39:34 +0000 (16:39 +0100)
plomrogue/things.py

index 3c8f09da72ff02bd96584ae4297cfc053c6499e7..3a72ca31728dfd72ebeb8e6cd8b23510db34615c 100644 (file)
@@ -449,13 +449,15 @@ class Thing_BottleDeposit(Thing):
     def proceed(self):
         if self.bottle_counter >= 3:
             self.bottle_counter = 0
-            choice = random.choice(['MusicPlayer', 'Hat'])
+            choice = random.choice(['MusicPlayer', 'Hat', 'Stimulant', 'Psychedelic'])
             self.game.add_thing(choice, self.position)
             msg = 'here is a gift as a reward for ecological consciousness –'
             if choice == 'MusicPlayer':
                 msg += 'pick it up and then use "command thing" on it!'
             elif choice == 'Hat':
                 msg += 'pick it up and then use "(un-)wear" on it!'
+            elif choice in {'Psychedelic', 'Stimulant'}:
+                msg += 'pick it up and then use "consume" on it!'
             self.sound('BOTTLE DEPOSITOR', msg)
 
     def accept(self):