From 8dfe78d39a92e2967459bf7e4da5e3ed93741ae7 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 20 Dec 2020 16:39:34 +0100 Subject: [PATCH] Spawn Psychedelics, Stimulants from BottleDeposit too. --- plomrogue/things.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- 2.30.2