From: Christian Heller Date: Sun, 20 Dec 2020 15:39:34 +0000 (+0100) Subject: Spawn Psychedelics, Stimulants from BottleDeposit too. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/condition_titles?a=commitdiff_plain;h=8dfe78d39a92e2967459bf7e4da5e3ed93741ae7;p=plomrogue2 Spawn Psychedelics, Stimulants from BottleDeposit too. --- diff --git a/plomrogue/things.py b/plomrogue/things.py index 3c8f09d..3a72ca3 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -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):