def _say_choice(self): psounds.play_stereo(sounds.get_sound(SELECT_SOUND)) choice = self.choices[self.choice_index] msg = list(choice[0]) if len(choice) > 2: msg += mp.COMMA + choice[2] voice.item(msg)
def _confirm_choice(self): psounds.play_stereo(sounds.get_sound(6116)) if self._choice_exists() and self.choices[self.choice_index]: voice.confirmation( self.choices[self.choice_index][0][:1] ) # repeat only the first part of the choice (not the help) self.choice_done = True
def _say_choice(self): psounds.play_stereo(sounds.get_sound(6115)) voice.item(self.choices[self.choice_index][0])
def _confirm_choice(self): psounds.play_stereo(sounds.get_sound(CONFIRM_SOUND)) if self._choice_exists() and self.choices[self.choice_index]: voice.confirmation(self.choices[self.choice_index][0]) self.choice_done = True
def _confirm_choice(self): psounds.play_stereo(sounds.get_sound(6116)) if self._choice_exists() and self.choices[self.choice_index]: voice.confirmation(self.choices[self.choice_index][0][:1]) # repeat only the first part of the choice (not the help) self.choice_done = True